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

Disassembly:
push 0xffffffffffffffff
push 0x46c385
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x491c04]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x28]
call fcn.004290c0
lea edi, [esi + 0xec]
mov ecx, edi
mov dword [esp + 0x70], 0
call fcn.00429660
lea ebx, [esi + 0x10c]
mov ecx, ebx
call fcn.00429660
mov ecx, dword [esp + 0x78]
sub esp, 0xc
mov eax, esp
mov dword [esp + 0x84], esp
push eax
mov dword [esi + 0xd8], ecx
call fcn.0042cc60
call fcn.004103e0
add esp, 0xc
cmp eax, 8
jne 0x41a29f
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x84], esp
push 0x3d
push ecx
mov ecx, 0x4948b4
call fcn.0041f860
mov ecx, edi
call fcn.00429580
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x84], esp
push 0x474f0c
call fcn.00428f60
mov ecx, ebx
call fcn.00429580
jmp 0x41a481
mov ecx, dword [esi + 0xd8]
xor edi, edi
call fcn.0042d320
test eax, eax
jle 0x41a481
mov bl, 3
mov ecx, dword [esi + 0xd8]
push edi
call fcn.0042d310
mov ecx, eax
call fcn.0042b3a0
test eax, eax
jne 0x41a46d
mov ecx, dword [esi + 0xd8]
sub esp, 0xc
mov edx, esp
mov dword [esp + 0x84], esp
push edx
push edi
call fcn.0042d310
mov ecx, eax
call fcn.0042b3b0
lea ecx, [esi + 0x10c]
call fcn.00429580
mov ecx, dword [esi + 0xd8]
push edi
xor ebp, ebp
call fcn.0042d310
mov ecx, eax
call fcn.0042b6c0
test eax, eax
jle 0x41a46d
lea esp, [esp]
mov ecx, dword [esi + 0xd8]
lea eax, [esp + 0x34]
push eax
push ebp
push edi
call fcn.0042d310
mov ecx, eax
call fcn.0042b6b0
mov ecx, eax
call fcn.00430880
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x74], 1
call fcn.00429140
lea ecx, [esp + 0x34]
mov byte [esp + 0x70], 0
call fcn.00429130
mov ecx, dword [esi + 0xd8]
push ebp
push edi
call fcn.0042d310
mov ecx, eax
call fcn.0042b6b0
mov ecx, eax
call fcn.00430830
cmp eax, 8
jne 0x41a451
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x20]
call fcn.00428fd0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x70], 2
call fcn.00429040
cmp eax, 2
jle 0x41a3c8
lea ecx, [esp + 0x1c]
call fcn.00429040
sub eax, 2
push eax
push 2
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0x28]
call fcn.00429350
lea ecx, [esp + 0x40]
call fcn.00429130
sub esp, 0xc
lea eax, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x84], esp
push eax
call fcn.00428fd0
lea ecx, [esp + 0x58]
push ecx
mov ecx, 0x4948b4
call fcn.0041fb00
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x74], bl
call fcn.00429140
lea ecx, [esp + 0x4c]
mov byte [esp + 0x70], 2
call fcn.00429130
push 0x474e81
lea ecx, [esp + 0x20]
call fcn.004291c0
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x84], esp
test al, al
je 0x41a42e
lea edx, [esp + 0x34]
push edx
jmp 0x41a433
lea eax, [esp + 0x28]
push eax
call fcn.00428fd0
lea ecx, [esi + 0xec]
call fcn.00429580
lea ecx, [esp + 0x1c]
mov byte [esp + 0x70], 0
call fcn.00429130
mov ecx, dword [esi + 0xd8]
push edi
inc ebp
call fcn.0042d310
mov ecx, eax
call fcn.0042b6c0
cmp ebp, eax
jl 0x41a320
mov ecx, dword [esi + 0xd8]
inc edi
call fcn.0042d320
cmp edi, eax
jl 0x41a2b6
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x84], esp
push 0xc
push ecx
call fcn.0040fed0
add esp, 8
mov ecx, 0x4947c0
call fcn.0041d930
mov ebp, eax
mov ecx, ebp
mov dword [esp + 0x14], ebp
xor ebx, ebx
call fcn.0042d320
test eax, eax
jle 0x41a6a1
lea esp, [esp]
push ebx
mov ecx, ebp
call fcn.0042d310
mov edi, eax
mov ecx, edi
call fcn.0042b3a0
cmp eax, 0xd
jne 0x41a691
mov ecx, edi
mov byte [esp + 0x78], 0
xor ebp, ebp
call fcn.0042b6c0
test eax, eax
jle 0x41a68d
lea edx, [esp + 0x4c]
push edx
push ebp
mov ecx, edi
call fcn.0042b6b0
mov ecx, eax
call fcn.00430880
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x74], 4
call fcn.00429140
lea ecx, [esp + 0x4c]
mov byte [esp + 0x70], 0
call fcn.00429130
push ebp
mov ecx, edi
call fcn.0042b6b0
mov ecx, eax
call fcn.00430830
sub eax, 0x31
je 0x41a658
sub eax, 1
jne 0x41a67d
cmp byte [esp + 0x78], 1
jne 0x41a67d
mov ecx, dword [esp + 0x14]
sub esp, 0xc
mov eax, esp
mov dword [esp + 0x24], esp
push eax
push ebx
call fcn.0042d310
mov ecx, eax
call fcn.0042b3b0
call fcn.0041a840
lea ecx, [eax + eax*2]
mov edx, esp
mov dword [esp + 0x24], esp
push ecx
push edx
call fcn.0041a7f0
add esp, 8
lea ecx, [esi + 0x10c]
call fcn.00429580
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x20]
call fcn.00428fd0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x70], 5
call fcn.00429040
cmp eax, 2
jle 0x41a5d2
lea ecx, [esp + 0x1c]
call fcn.00429040
sub eax, 2
push eax
push 2
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x28]
call fcn.00429350
lea ecx, [esp + 0x40]
call fcn.00429130
sub esp, 0xc
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.00428fd0
lea eax, [esp + 0x40]
push eax
mov ecx, 0x4948b4
call fcn.0041fb00
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x74], 6
call fcn.00429140
lea ecx, [esp + 0x34]
mov byte [esp + 0x70], 5
call fcn.00429130
push 0x474e82
lea ecx, [esp + 0x20]
call fcn.004291c0
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x24], esp
test al, al
je 0x41a633
lea edx, [esp + 0x34]
push edx
jmp 0x41a638
lea eax, [esp + 0x28]
push eax
call fcn.00428fd0
lea ecx, [esi + 0xec]
call fcn.00429580
lea ecx, [esp + 0x1c]
mov byte [esp + 0x70], 0
call fcn.00429130
jmp 0x41a67d
sub esp, 0xc
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x84], esp
push edx
call fcn.00428fd0
call fcn.0041a840
add esp, 0xc
test eax, eax
setne byte [esp + 0x78]
mov ecx, edi
inc ebp
call fcn.0042b6c0
cmp ebp, eax
jl 0x41a4f0
mov ebp, dword [esp + 0x14]
mov ecx, ebp
inc ebx
call fcn.0042d320
cmp ebx, eax
jl 0x41a4c0
lea ecx, [esp + 0x58]
call fcn.00404360
lea eax, [esp + 0x58]
push eax
mov ecx, esi
call fcn.00402950
mov edi, dword [esi + 0xe8]
add edi, 4
imul edi, dword [esi + 0x108]
lea ecx, [esp + 0x58]
call fcn.0040cda0
sub eax, edi
cdq
sub eax, edx
mov ebp, eax
xor edi, edi
sar ebp, 1
cmp dword [esi + 0x108], edi
mov ebx, 1
jle 0x41a725
jmp 0x41a6f0
push edi
lea ecx, [esi + 0xf4]
call fcn.00402590
mov ecx, eax
call fcn.00429040
cmp eax, ebx
jle 0x41a71c
push edi
lea ecx, [esi + 0xf4]
call fcn.00402590
mov ecx, eax
call fcn.00429040
mov ebx, eax
inc edi
cmp edi, dword [esi + 0x108]
jl 0x41a6f0
lea ecx, [esp + 0x58]
call fcn.0040cd90
mov ecx, dword [esi + 0xe4]
imul ecx, ebx
sub eax, ecx
sub eax, dword [esi + 0xe0]
xor edi, edi
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
cmp dword [esi + 0x108], edi
jle 0x41a7c0
push edi
lea ecx, [esi + 0xf4]
call fcn.00402590
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x84], esp
push eax
call fcn.00428fd0
push 1
push ebp
push ebx
push edi
lea ecx, [esi + 0x114]
mov byte [esp + 0x8c], 7
call fcn.00402590
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.00428fd0
call fcn.0041a840
add esp, 0xc
push eax
mov ecx, esi
mov byte [esp + 0x8c], 0
call fcn.0041a8e0
mov edx, dword [esi + 0xe8]
inc edi
cmp edi, dword [esi + 0x108]
lea ebp, [edx + ebp + 4]
jl 0x41a750
lea ecx, [esp + 0x28]
mov dword [esp + 0x70], 0xffffffff
call fcn.00429130
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 4