Function at 0x418510
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x484
push ebx
push esi
push edi
xor eax, eax
xor edi, edi
push 0x2c
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
lea eax, [esp + 0x58]
push edi
push eax
mov dword [esp + 0x34], 0x80004005
mov dword [esp + 0x4c], edi
mov dword [esp + 0x5c], edi
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x40e
mov al, 0xc2
lea ecx, [esp + 0x86]
push edi
push ecx
mov dword [esp + 0x3c], 0xaac56b
mov word [esp + 0x40], 0xcd44
mov word [esp + 0x42], 0x11d0
mov byte [esp + 0x44], 0x8c
mov byte [esp + 0x45], al
mov byte [esp + 0x46], 0
mov byte [esp + 0x47], 0xc0
mov byte [esp + 0x48], 0x4f
mov byte [esp + 0x49], al
mov byte [esp + 0x4a], 0x95
mov byte [esp + 0x4b], 0xee
mov word [esp + 0x8c], di
call sub.MSVCR80.dll_memset
mov ebx, dword [ebp + 8]
xor eax, eax
add esp, 0xc
xor esi, esi
cmp dword [ebx + 8], edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], edi
je 0x4189c5
mov ecx, dword [ebp + 0xc]
cmp ecx, edi
je 0x4189c5
cmp dword [ebp + 0x10], edi
je 0x4189c5
cmp dword [ebp + 0x1c], edi
je 0x418604
push ecx
call fcn.00424550
add esp, 4
test eax, eax
je 0x4189b8
mov ecx, dword [ebp + 0xc]
push ecx
xor eax, eax
push 0x43a7b4
lea edx, [esp + 0x88]
push 0x207
mov dword [esp + 0x4c], eax
push edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x50], 0x10
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
push 0x30
lea ecx, [esp + 0x64]
lea eax, [esp + 0x94]
push edi
push ecx
mov dword [esp + 0x60], eax
call sub.MSVCR80.dll_memset
add esp, 0x1c
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x34]
lea edx, [esp + 0x44]
push ecx
mov dword [esp + 0x70], edx
mov edx, dword [ebx + 0x14]
mov esi, 1
push edi
mov dword [esp + 0x5c], 0x30
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], 2
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], esi
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], 0x110
mov dword [esp + 0x88], edi
call edx
cmp eax, edi
je 0x4186bf
cmp eax, 0x800b0101
jne 0x4189a1
cmp dword [ebp + 0x14], edi
je 0x4189b8
cmp dword [ebp + 0x18], edi
je 0x4189b8
xor eax, eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [ebp + 0xc]
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x14]
push ecx
push ebx
call edx
test eax, eax
jl 0x4189c5
mov eax, dword [esp + 0x20]
mov edi, dword [sym.imp.KERNEL32.dll_LocalAlloc]
push eax
push 0x40
call edi
mov ecx, dword [esp + 0x10]
lea edx, [ecx + ecx]
push edx
push 0x40
mov dword [esp + 0x2c], eax
call edi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
lea ecx, [eax + eax]
push ecx
push 0x40
call edi
cmp dword [esp + 0x24], 0
mov dword [esp + 0x1c], eax
je 0x4189c3
cmp dword [esp + 0x14], 0
je 0x4189c3
test eax, eax
je 0x4189d6
mov edx, dword [ebx]
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [edx + 0x14]
push eax
push ebx
call ecx
test eax, eax
jl 0x4189c3
test byte [ebp + 0x14], 4
mov edi, dword [ebp + 0x18]
je 0x418828
mov ecx, dword [edi + 0x14]
test ecx, ecx
je 0x418828
mov eax, dword [edi + 0x10]
cmp eax, dword [esp + 0x20]
jne 0x4189b4
cmp eax, 4
mov edx, dword [esp + 0x24]
jb 0x4187ba
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x4187be
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x4187a6
test eax, eax
je 0x41881b
movzx esi, byte [edx]
movzx ebx, byte [ecx]
sub esi, ebx
jne 0x41880d
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x41881b
movzx esi, byte [edx]
movzx ebx, byte [ecx]
sub esi, ebx
jne 0x41880d
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x41881b
movzx esi, byte [edx]
movzx ebx, byte [ecx]
sub esi, ebx
jne 0x41880d
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x41881b
movzx esi, byte [edx]
movzx edx, byte [ecx]
sub esi, edx
je 0x41881b
test esi, esi
mov eax, 1
jg 0x41881d
or eax, 0xffffffff
jmp 0x41881d
xor eax, eax
test eax, eax
jne 0x4189b4
lea esi, [eax + 1]
test byte [ebp + 0x14], 1
je 0x4188d4
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x4188d4
mov eax, dword [edi]
cmp eax, dword [esp + 0x10]
jne 0x4189b4
cmp eax, 4
mov edx, dword [esp + 0x14]
jb 0x418866
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x41886a
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x418852
test eax, eax
je 0x4188c7
movzx esi, byte [edx]
movzx ebx, byte [ecx]
sub esi, ebx
jne 0x4188b9
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x4188c7
movzx esi, byte [edx]
movzx ebx, byte [ecx]
sub esi, ebx
jne 0x4188b9
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x4188c7
movzx esi, byte [edx]
movzx ebx, byte [ecx]
sub esi, ebx
jne 0x4188b9
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x4188c7
movzx esi, byte [edx]
movzx eax, byte [ecx]
sub esi, eax
je 0x4188c7
test esi, esi
mov eax, 1
jg 0x4188c9
or eax, 0xffffffff
jmp 0x4188c9
xor eax, eax
test eax, eax
jne 0x4189b4
lea esi, [eax + 1]
test byte [ebp + 0x14], 2
je 0x4189b6
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x4189b6
mov eax, dword [edi + 8]
cmp eax, dword [esp + 0x18]
jne 0x4189b4
cmp eax, 4
mov edx, dword [esp + 0x1c]
jb 0x418914
nop
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x418918
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x418900
test eax, eax
je 0x418989
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x418967
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x418989
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x418967
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x418989
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x418967
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x418989
movzx esi, byte [edx]
movzx ecx, byte [ecx]
sub esi, ecx
je 0x418989
test esi, esi
mov eax, 1
jg 0x41898b
or eax, 0xffffffff
xor edx, edx
test eax, eax
mov eax, dword [ebp + 0x10]
sete dl
xor edi, edi
mov dword [esp + 0x28], edi
mov esi, edx
mov dword [eax], esi
jmp 0x4189c5
xor eax, eax
xor edx, edx
test eax, eax
mov eax, dword [ebp + 0x10]
sete dl
xor edi, edi
mov dword [esp + 0x28], edi
mov esi, edx
mov dword [eax], esi
jmp 0x4189c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [ebp + 0x10]
xor esi, esi
mov dword [eax], esi
mov dword [esp + 0x28], edi
jmp 0x4189c5
xor esi, esi
xor edi, edi
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
mov dword [esp + 0x28], edi
jmp 0x4189c5
xor edi, edi
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x4189d8
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x4189d8
xor edi, edi
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x4189e7
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [esp + 0x24]
cmp eax, edi
je 0x4189f6
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18