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

Disassembly:
push 0xffffffffffffffff
push 0x4cac9a
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x53856c]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53856c]
xor eax, esp
push eax
lea eax, [esp + 0x144]
mov dword fs:[0], eax
mov eax, dword [esp + 0x15c]
mov ebp, dword [esp + 0x154]
mov ebx, ecx
xor esi, esi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x78], eax
mov dword [esp + 0x2c], 0x4a39a2
mov dword [esp + 0x30], 0x4a3cd1
mov dword [esp + 0x34], fcn.004a38c5
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], 0x1fff8
mov dword [esp + 0x28], 0x4dba34
mov dword [esp + 0x14c], esi
mov byte [esp + 0x18], 0
mov dword [esp + 0x14], esi
mov byte [esp + 0x14c], 1
push 0x4ded10
mov dword [esp + 0x44], esi
call fcn.00409560
add esp, 4
lea ecx, [esp + 0x40]
push ecx
push ebx
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x20]
push ecx
mov ecx, eax
call fcn.004a4ec0
test al, al
jne 0x41a180
lea ecx, [esp + 0x14]
mov byte [esp + 0x14c], al
call fcn.00438470
mov dword [esp + 0x14c], 0xffffffff
mov eax, dword [esp + 0x38]
mov dword [esp + 0x28], 0x4db6c4
cmp eax, esi
je 0x41a7fd
mov edx, dword [eax + 4]
push eax
mov dword [esp + 0x3c], edx
call dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
add esp, 4
cmp eax, esi
jne 0x41a164
jmp 0x41a7fd
mov eax, dword [esp + 0x40]
cmp dword [eax + 0x88], esi
mov dword [esp + 0x7c], esi
setne cl
xor eax, eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov byte [esp + 0x23], cl
mov dword [esp + 0x50], esi
mov eax, 0x4dfdac
test cl, cl
jne 0x41a2bc
mov edx, dword [ebx]
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x80], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0xa0], eax
push edx
lea eax, [esp + 0x1c]
push eax
lea esi, [esp + 0x4c]
lea edi, [esp + 0x88]
call fcn.00418330
add esp, 0xc
test al, al
jne 0x41a366
lea ecx, [esp + 0x14]
call fcn.004384d0
push 0x4e0ca8
push case.0x44a944.0
mov edx, eax
call fcn.004397d0
add esp, 8
lea ecx, [esp + 0x14]
mov byte [esp + 0x14c], 0
call fcn.00438470
mov dword [esp + 0x14c], 0xffffffff
mov eax, dword [esp + 0x38]
mov dword [esp + 0x28], 0x4db6c4
test eax, eax
je 0x41a7fd
lea esp, [esp]
mov ecx, dword [eax + 4]
push eax
mov dword [esp + 0x3c], ecx
call dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
add esp, 4
test eax, eax
jne 0x41a2a0
jmp 0x41a7fd
mov dword [esp + 0x54], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x64], eax
mov eax, dword [ebx]
lea edx, [esp + 0x40]
push edx
push eax
lea ecx, [esp + 0x1c]
push ecx
lea ebx, [esp + 0x5c]
lea eax, [esp + 0x34]
mov dword [esp + 0x6c], esi
mov dword [esp + 0x74], esi
call fcn.004184d0
add esp, 0xc
test al, al
jne 0x41a362
lea ecx, [esp + 0x14]
call fcn.004384d0
push 0x4e0ca8
push case.0x44a944.0
mov edx, eax
call fcn.004397d0
add esp, 8
lea ecx, [esp + 0x14]
mov byte [esp + 0x14c], 0
call fcn.00438470
mov dword [esp + 0x14c], 0xffffffff
mov eax, dword [esp + 0x38]
mov dword [esp + 0x28], 0x4db6c4
test eax, eax
je 0x41a7fd
mov edx, dword [eax + 4]
push eax
mov dword [esp + 0x3c], edx
call dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
add esp, 4
test eax, eax
jne 0x41a346
jmp 0x41a7fd
mov ebx, dword [esp + 0x4c]
cmp byte [0x54b399], 0
je 0x41a3ab
push 0
call fcn.004ab2ec
add esp, 4
push ebx
mov dword [esp + 0xf0], eax
push 0x40
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0x20]
push ecx
push 0x4ded10
mov dword [esp + 0x104], edx
call fcn.00409560
add esp, 4
mov ecx, eax
call fcn.004a4d80
push 0x54a798
push 0x2f2c
call fcn.004ad0e9
add esp, 8
cmp byte [esp + 0x23], 0
mov dword [esp + 0x24], eax
je 0x41a441
mov byte [esp + 0x14c], 2
test eax, eax
je 0x41a3ec
sub esp, 0x28
mov edi, esp
mov ecx, 0xa
lea esi, [esp + 0x78]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0040a9e0
jmp 0x41a3ee
xor eax, eax
mov ebx, eax
push 0x54a798
push 0x2f2c
mov dword [esp + 0x24], ebx
call fcn.004ad0e9
add esp, 8
mov dword [esp + 0x24], eax
mov byte [esp + 0x14c], 3
test eax, eax
je 0x41a437
sub esp, 0x28
mov edi, esp
mov ecx, 0xa
lea esi, [esp + 0x78]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0040a9e0
mov edi, eax
mov dword [esp + 0x44], edi
jmp 0x41a4b7
xor eax, eax
mov edi, eax
mov dword [esp + 0x44], edi
jmp 0x41a4b7
mov byte [esp + 0x14c], 4
test eax, eax
je 0x41a468
sub esp, 0x28
mov edi, esp
mov ecx, 0xa
lea esi, [esp + 0xa4]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0040a900
jmp 0x41a46a
xor eax, eax
push 0x54a798
push 0x2f2c
mov dword [esp + 0x24], eax
call fcn.004ad0e9
add esp, 8
mov dword [esp + 0x24], eax
mov byte [esp + 0x14c], 5
test eax, eax
je 0x41a4ab
sub esp, 0x28
mov edi, esp
mov ecx, 0xa
lea esi, [esp + 0xa4]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0040a900
jmp 0x41a4ad
xor eax, eax
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x44], eax
mov edi, eax
mov byte [esp + 0x14c], 1
test edi, edi
je 0x41a79d
test ebx, ebx
je 0x41a79d
lea ecx, [edi + 4]
call fcn.00427a60
cmp byte [ebx + 0x2f28], 0
mov esi, ebx
je 0x41a4ee
lea edx, [esp + 0x14]
push edx
call fcn.0040ad90
jmp 0x41a4f8
lea eax, [esp + 0x14]
push eax
call fcn.0040aac0
test al, al
je 0x41a521
cmp byte [edi + 0x2f28], 0
mov esi, edi
je 0x41a513
lea ecx, [esp + 0x14]
push ecx
call fcn.0040ad90
jmp 0x41a51d
lea edx, [esp + 0x14]
push edx
call fcn.0040aac0
test al, al
jne 0x41a571
lea ecx, [esp + 0x14]
mov byte [esp + 0x14c], 0
call fcn.00438470
mov dword [esp + 0x14c], 0xffffffff
mov eax, dword [esp + 0x38]
mov dword [esp + 0x28], 0x4db6c4
test eax, eax
je 0x41a567
lea ecx, [ecx]
mov ecx, dword [eax + 4]
push eax
mov dword [esp + 0x3c], ecx
call dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
add esp, 4
test eax, eax
jne 0x41a550
mov eax, 0xffffffdb
jmp 0x41a802
mov edx, dword [ebp + 0x10]
sub edx, dword [ebp + 0xc]
xor ebx, ebx
sar edx, 4
xor edi, edi
test edx, edx
jbe 0x41a737
mov dword [esp + 0x48], edi
lea eax, [esp + 0x24]
push 0
push eax
mov esi, 0x4e0d48
mov dword [esp + 0x2c], 0
call fcn.00417a20
add esp, 8
cmp byte [esp + 0x158], 0
je 0x41a5bb
cmp dword [esp + 0x24], 0
jne 0x41a730
mov ecx, dword [esp + 0x1c]
mov dword [ecx + 0x13d4], 0
mov edx, dword [ebp + 0x10]
sub edx, dword [ebp + 0xc]
sar edx, 4
cmp edi, edx
jb 0x41a5db
call fcn.004ac063
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx + eax + 4]
sub eax, 1
je 0x41a6c8
sub eax, 1
je 0x41a67a
sub eax, 3
jne 0x41a717
push 1
mov esi, ebp
call fcn.0041b870
mov edx, dword [eax + 4]
push edx
call fcn.00418a20
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 8]
push ecx
mov ecx, dword [esp + 0x58]
push 0
lea edx, [esp + 0x38]
push edx
mov edx, dword [ecx]
push edx
lea edx, [eax + 0x2c]
mov eax, dword [esp + 0x34]
push eax
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x64]
mov byte [0x53f4b5], 0
call fcn.00416100
add esp, 0x20
cmp byte [esp + 0x158], 0
mov ebx, eax
je 0x41a65f
push 7
call fcn.00417ca0
add esp, 4
test ebx, ebx
sete dl
movzx eax, dl
push eax
push 1
mov esi, ebp
call fcn.0041b870
mov ecx, dword [eax + 4]
push ecx
jmp 0x41a70b
push 1
mov esi, ebp
call fcn.0041b870
mov edx, dword [eax + 4]
push edx
call fcn.00418a20
mov eax, dword [esp + 0x54]
mov ecx, dword [eax]
push ecx
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x20]
call fcn.00417cd0
add esp, 0xc
test al, al
jne 0x41a6ac
mov ebx, 0xfffffff4
cmp byte [esp + 0x158], 0
je 0x41a6c0
push 6
call fcn.00417ca0
add esp, 4
cmp ebx, 0xfffffff4
setne dl
jmp 0x41a664
push 1
mov esi, ebp
call fcn.0041b870
mov edx, dword [eax + 4]
push edx
call fcn.00418a20
mov ecx, dword [esp + 0x24]
add esp, 8
lea eax, [esp + 0x14]
push eax
call fcn.0040f770
test al, al
jne 0x41a6f4
mov ebx, 0xfffffff5
cmp ebx, 0xfffffff5
setne cl
movzx edx, cl
push edx
push 1
mov esi, ebp
call fcn.0041b870
mov eax, dword [eax + 4]
push eax
call fcn.00418b70
add esp, 0xc
test ebx, ebx
jne 0x41a737
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
add dword [esp + 0x48], 0x10
inc edi
sar ecx, 4
cmp edi, ecx
jb 0x41a58a
jmp 0x41a737
mov edx, dword [esp + 0x78]
mov byte [edx], 1
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 0x934]
test eax, eax
je 0x41a756
push eax
call dword [0x4d6320]
mov dword [esi + 0x934], 0
lea ecx, [esp + 0x14]
mov byte [esp + 0x14c], 0
call fcn.00438470
mov dword [esp + 0x14c], 0xffffffff
mov eax, dword [esp + 0x38]
mov dword [esp + 0x28], 0x4db6c4
test eax, eax
je 0x41a799
mov ecx, dword [eax + 4]
push eax
mov dword [esp + 0x3c], ecx
call dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
add esp, 4
test eax, eax
jne 0x41a782
mov eax, ebx
jmp 0x41a802
lea ecx, [esp + 0x14]
call fcn.004384d0
push 0x4e0cc4
push case.0x44a944.0
mov edx, eax
call fcn.004397d0
add esp, 8
lea ecx, [esp + 0x14]
mov byte [esp + 0x14c], 0
call fcn.00438470
mov dword [esp + 0x14c], 0xffffffff
mov eax, dword [esp + 0x38]
mov dword [esp + 0x28], 0x4db6c4
test eax, eax
je 0x41a7fd
mov edx, dword [eax + 4]
push eax
mov dword [esp + 0x3c], edx
call dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
add esp, 4
test eax, eax
jne 0x41a7e6
mov eax, 0xffffffdc
mov ecx, dword [esp + 0x144]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.004aac2b
add esp, 0x13c
ret