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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a7ae8
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x4d67e8]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
push edi
mov eax, dword [0x4d67e8]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0xc]
mov ebx, 0x100
cmp word [edi + 0x66], 2
mov esi, dword [ebp + 8]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x1c], eax
mov eax, 0x800100
cmove ebx, eax
mov eax, dword [edi + 0x18]
mov dword [esp + 0x24], ebx
test eax, eax
je 0x4184b4
push eax
call dword [0x4af4f8]
test esi, esi
jne 0x4184c3
cmp dword [edi + 0x48], 8
lea esi, [edi + 0x34]
jb 0x4184c3
mov esi, dword [esi]
xor eax, eax
mov dword [esp + 0x84], 7
mov dword [esp + 0x80], 0
mov word [esp + 0x70], ax
cmp word [esi], ax
jne 0x4184e9
xor ecx, ecx
jmp 0x4184ff
mov ecx, esi
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4184f0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [esp + 0x78]
call fcn.0040edc0
mov dword [esp + 0x98], 0
xor eax, eax
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], 0
mov word [esp + 0x40], ax
push eax
push 0x100
lea ecx, [esp + 0x48]
mov byte [esp + 0xa0], 1
call fcn.0040ef70
cmp dword [esp + 0x54], 8
lea eax, [esp + 0x40]
mov dword [esp + 0x50], 0
cmovae eax, dword [esp + 0x40]
xor ecx, ecx
mov word [eax], cx
mov eax, dword [edi + 8]
mov esi, dword [eax]
cmp esi, eax
je 0x41865f
jmp 0x418570
lea ebx, [esi + 0x10]
push ebx
lea eax, [esp + 0x5c]
push eax
call fcn.00418c70
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0xa4], 2
call fcn.0040f220
mov byte [esp + 0x98], 1
cmp dword [esp + 0x6c], 8
jb 0x4185af
push dword [esp + 0x58]
call fcn.0045ec61
add esp, 4
push 1
push 0x4c3854
lea ecx, [esp + 0x48]
call fcn.0040ece0
lea eax, [ebx + 0x18]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.00418c70
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0xa4], 3
call fcn.0040f220
mov byte [esp + 0x98], 1
cmp dword [esp + 0x6c], 8
jb 0x4185fe
push dword [esp + 0x58]
call fcn.0045ec61
add esp, 4
push 1
push 0x4c3858
lea ecx, [esp + 0x48]
call fcn.0040ece0
cmp byte [esi + 0xd], 0
jne 0x418652
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x418633
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x418652
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x418627
jmp 0x418652
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x418650
lea esp, [esp]
cmp esi, dword [eax + 8]
jne 0x418650
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x418640
mov esi, eax
cmp esi, dword [edi + 8]
jne 0x418570
mov ebx, dword [esp + 0x24]
cmp dword [esp + 0x50], 0
je 0x418688
push 1
push 0x4c385c
lea ecx, [esp + 0x78]
call fcn.0040ece0
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x7c]
call fcn.0040f220
cmp dword [esp + 0x84], 8
lea eax, [esp + 0x70]
push ebx
cmovae eax, dword [esp + 0x74]
push 0
push 0
push 0
push eax
push dword [esp + 0x34]
push dword [edi + 0x14]
call dword [0x4af504]
mov dword [edi + 0x18], eax
test eax, eax
jne 0x4186cc
call dword [0x4af1f0]
mov dword [edi + 0x6c], eax
xor esi, esi
mov dword [edi + 0x68], 0xffffffea
jmp 0x4188f0
xor eax, eax
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], 0
mov word [esp + 0x28], ax
push eax
push 0x100
lea ecx, [esp + 0x30]
mov byte [esp + 0xa0], 4
call fcn.0040ef70
cmp dword [esp + 0x3c], 8
lea eax, [esp + 0x28]
mov dword [esp + 0x38], 0
cmovae eax, dword [esp + 0x28]
xor ecx, ecx
mov word [eax], cx
mov eax, dword [edi]
mov esi, dword [eax]
cmp esi, eax
je 0x41880a
lea ebx, [esi + 0x10]
push ebx
lea eax, [esp + 0x5c]
push eax
call fcn.00418c70
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0xa4], 5
call fcn.0040f220
mov byte [esp + 0x98], 4
cmp dword [esp + 0x6c], 8
jb 0x418760
push dword [esp + 0x58]
call fcn.0045ec61
add esp, 4
push 1
push 0x4c3860
lea ecx, [esp + 0x30]
call fcn.0040ece0
lea eax, [ebx + 0x18]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.00418c70
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0xa4], 6
call fcn.0040f220
mov byte [esp + 0x98], 4
cmp dword [esp + 0x6c], 8
jb 0x4187af
push dword [esp + 0x58]
call fcn.0045ec61
add esp, 4
push 2
push 0x4c3864
lea ecx, [esp + 0x30]
call fcn.0040ece0
cmp byte [esi + 0xd], 0
jne 0x418802
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x4187e4
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x418802
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x4187d8
jmp 0x418802
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x418800
lea ecx, [ecx]
cmp esi, dword [eax + 8]
jne 0x418800
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4187f0
mov esi, eax
cmp esi, dword [edi]
jne 0x418721
cmp dword [esp + 0x3c], 8
lea ecx, [esp + 0x28]
mov edx, dword [esp + 0x1c]
cmovae ecx, dword [esp + 0x28]
xor eax, eax
push 0
test edx, edx
cmovne eax, dword [ebp + 0x14]
push eax
push eax
push edx
push 0xffffffffffffffff
push ecx
push dword [edi + 0x18]
call dword [0x4af4f0]
test eax, eax
jne 0x41884d
call dword [0x4af1f0]
mov dword [edi + 0x68], 0xffffffe9
xor esi, esi
mov dword [edi + 0x6c], eax
jmp 0x4188c6
push 0
push dword [edi + 0x18]
call dword [0x4af4e8]
test eax, eax
jne 0x418870
call dword [0x4af1f0]
mov dword [edi + 0x68], 0xffffffe8
xor esi, esi
mov dword [edi + 0x6c], eax
jmp 0x4188c6
push 0
lea eax, [esp + 0x1c]
mov dword [esp + 0x18], 0
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x20], 4
push eax
push 0
push 0x20000013
push dword [edi + 0x18]
call dword [0x4af4fc]
test eax, eax
jne 0x4188b4
call dword [0x4af1f0]
mov dword [edi + 0x68], 0xfffffc17
xor esi, esi
mov dword [edi + 0x6c], eax
jmp 0x4188c6
mov esi, dword [esp + 0x14]
mov dword [edi + 0x6c], 0
mov dword [edi + 0x68], 0
cmp dword [esp + 0x3c], 8
jb 0x4188d9
push dword [esp + 0x28]
call fcn.0045ec61
add esp, 4
xor eax, eax
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], 0
mov word [esp + 0x28], ax
cmp dword [esp + 0x54], 8
jb 0x418903
push dword [esp + 0x40]
call fcn.0045ec61
add esp, 4
xor eax, eax
mov dword [esp + 0x54], 7
cmp dword [esp + 0x84], 8
mov dword [esp + 0x50], 0
mov word [esp + 0x40], ax
jb 0x418930
push dword [esp + 0x70]
call fcn.0045ec61
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.004735e9
mov esp, ebp
pop ebp
ret 0x10