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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x460f5b
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x47d88c]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x164], 0
je 0x41b75e
mov ecx, dword [ebp + 8]
cmp ecx, 0xffffffff
je 0x41b75e
mov eax, dword [ebp + 0xc]
cmp eax, 0xffffffff
je 0x41b75e
cmp ecx, eax
je 0x41b75e
mov dword [esp + 0x24], ecx
jl 0x41b25e
mov dword [esp + 0x24], eax
cmp ecx, eax
mov dword [esp + 0x1c], ecx
jg 0x41b26a
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x24]
mov esi, edi
call fcn.0041ad51
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x30], eax
call fcn.0041ad51
mov esi, dword [esp + 0x30]
lea ebx, [edi + 0x12c]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx]
cmp esi, eax
jge 0x41b2a9
mov esi, edi
mov dword [esp + 0x30], eax
call fcn.0041acb9
mov esi, dword [esp + 0x30]
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x124]
mov ecx, dword [ebx]
lea eax, [eax + ecx + 1]
cmp dword [esp + 0x2c], eax
jle 0x41b2cf
mov dword [esp + 0x2c], eax
inc eax
mov esi, edi
call fcn.0041acb9
mov esi, dword [esp + 0x30]
mov dword [esp + 0x1c], eax
push dword [esp + 0x24]
lea eax, [esp + 0x54]
push eax
mov ecx, edi
call fcn.0041af93
mov eax, dword [edi + 0x148]
sub eax, dword [edi + 0x13c]
push edi
add dword [esp + 0x54], eax
lea ecx, [esp + 0x5c]
call fcn.0042b842
and dword [esp + 0x78], 0
push dword [edi + 0xf8]
lea ecx, [esp + 0x5c]
call fcn.0042bb8d
push 1
lea ecx, [esp + 0x5c]
mov dword [esp + 0x50], eax
call fcn.0042b148
cmp esi, dword [esp + 0x2c]
jne 0x41b434
call fcn.00421f68
push eax
lea ecx, [esp + 0x34]
call fcn.00401abe
mov byte [esp + 0x78], 1
cmp esi, dword [edi + 0x18c]
jge 0x41b392
lea ebx, [edi + 0x184]
mov eax, esi
mov ecx, ebx
call fcn.00413e84
push dword [eax + 8]
mov eax, esi
mov ecx, ebx
call fcn.00413e84
push dword [eax + 4]
lea eax, [esp + 0x4c]
push eax
lea ecx, [edi + 0x1d8]
call fcn.00409fbd
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x7c], 2
call fcn.004017c8
mov byte [esp + 0x78], 1
mov ecx, dword [esp + 0x44]
add ecx, 0xfffffff0
call fcn.00401b3a
jmp 0x41b3a0
push 0x46ab38
lea ecx, [esp + 0x34]
call fcn.00401d0f
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
sub eax, ebx
push eax
mov eax, esi
push ecx
mov esi, edi
call fcn.0041acb9
pop ecx
mov ecx, ebx
sub ecx, eax
push ecx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x3c]
call fcn.00409fbd
movzx esi, byte [ebp + 0x10]
push esi
push dword [esp + 0x20]
mov byte [esp + 0x80], 3
push ebx
push dword [esp + 0x60]
lea eax, [esp + 0x44]
push dword [esp + 0x60]
mov ecx, edi
push eax
lea eax, [esp + 0x70]
push eax
call fcn.00418728
mov ecx, dword [esp + 0x50]
push esi
push dword [esp + 0x20]
lea eax, [esp + 0x3c]
push ebx
push dword [esp + 0x60]
lea esi, [esp + 0x68]
push eax
mov edx, edi
call fcn.0041999c
mov ecx, dword [esp + 0x34]
add ecx, 0xfffffff0
call fcn.00401b3a
mov byte [esp + 0x78], 0
mov ecx, dword [esp + 0x30]
add ecx, 0xfffffff0
call fcn.00401b3a
jmp 0x41b70f
cmp esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], esi
jg 0x41b70f
call fcn.00421f68
push eax
lea ecx, [esp + 0x24]
call fcn.00401abe
mov ebx, dword [esp + 0x28]
mov byte [esp + 0x78], 4
cmp ebx, dword [edi + 0x18c]
jge 0x41b4ba
lea esi, [edi + 0x184]
mov eax, ebx
mov ecx, esi
call fcn.00413e84
push dword [eax + 8]
mov eax, ebx
mov ecx, esi
call fcn.00413e84
push dword [eax + 4]
lea eax, [esp + 0x50]
push eax
lea ecx, [edi + 0x1d8]
call fcn.00409fbd
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x7c], 5
call fcn.004017c8
mov byte [esp + 0x78], 4
mov ecx, dword [esp + 0x48]
add ecx, 0xfffffff0
call fcn.00401b3a
jmp 0x41b4c8
push 0x46ab38
lea ecx, [esp + 0x24]
call fcn.00401d0f
mov eax, dword [esp + 0x20]
mov ebx, dword [eax - 0xc]
mov eax, dword [esp + 0x28]
mov esi, edi
call fcn.0041acb9
mov ecx, dword [esp + 0x24]
cmp ecx, eax
mov dword [esp + 0x18], ecx
jg 0x41b4ea
mov dword [esp + 0x18], eax
add ebx, eax
cmp dword [esp + 0x1c], ebx
jge 0x41b4f6
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x30]
jne 0x41b5cf
mov ecx, ebx
sub ecx, dword [esp + 0x18]
mov esi, edi
push ecx
push ecx
call fcn.0041acb9
pop ecx
mov ecx, dword [esp + 0x1c]
sub ecx, eax
push ecx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x2c]
call fcn.00409fbd
movzx esi, byte [ebp + 0x10]
push esi
push ebx
push dword [esp + 0x20]
mov byte [esp + 0x84], 6
push dword [esp + 0x20]
lea eax, [esp + 0x48]
push dword [esp + 0x60]
mov ecx, edi
push eax
lea eax, [esp + 0x70]
push eax
call fcn.00418728
mov ecx, dword [edi + 0x138]
add ecx, dword [edi + 0x148]
mov dword [esp + 0x3c], eax
cmp eax, ecx
jge 0x41b5ab
push 0x46ab38
lea ecx, [esp + 0x44]
call fcn.00401a7a
push esi
push ebx
push ebx
push dword [esp + 0x20]
lea eax, [esp + 0x50]
push dword [esp + 0x4c]
mov ecx, edi
push eax
lea eax, [esp + 0x70]
push eax
mov byte [esp + 0x94], 7
call fcn.00418728
mov byte [esp + 0x78], 6
mov ecx, dword [esp + 0x40]
add ecx, 0xfffffff0
call fcn.00401b3a
mov ecx, dword [esp + 0x50]
push esi
push ebx
push dword [esp + 0x20]
lea eax, [esp + 0x44]
push dword [esp + 0x20]
lea esi, [esp + 0x68]
push eax
mov edx, edi
call fcn.0041999c
mov ecx, dword [esp + 0x38]
jmp 0x41b641
cmp eax, dword [esp + 0x2c]
jne 0x41b64e
mov esi, edi
call fcn.0041acb9
mov ecx, ebx
sub ecx, eax
push ecx
push 0
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x2c]
call fcn.00409fbd
mov byte [esp + 0x78], 8
mov eax, dword [esp + 0x34]
cmp dword [eax - 0xc], 0
je 0x41b63d
movzx esi, byte [ebp + 0x10]
push esi
push ebx
push dword [esp + 0x20]
lea eax, [esp + 0x40]
push dword [esp + 0x20]
mov ecx, edi
push 0
push eax
lea eax, [esp + 0x70]
push eax
call fcn.00418728
push esi
push ebx
push dword [esp + 0x20]
lea eax, [esp + 0x40]
push dword [esp + 0x20]
xor ecx, ecx
push eax
lea esi, [esp + 0x6c]
mov edx, edi
call fcn.0041999c
mov ecx, dword [esp + 0x34]
add ecx, 0xfffffff0
call fcn.00401b3a
jmp 0x41b6e2
movzx esi, byte [ebp + 0x10]
push esi
push ebx
push dword [esp + 0x20]
lea eax, [esp + 0x2c]
push dword [esp + 0x20]
mov ecx, edi
push 0
push eax
lea eax, [esp + 0x70]
push eax
call fcn.00418728
mov ecx, dword [edi + 0x138]
add ecx, dword [edi + 0x148]
mov dword [esp + 0x3c], eax
cmp eax, ecx
jge 0x41b6c6
push 0x46ab38
lea ecx, [esp + 0x48]
call fcn.00401a7a
push esi
push ebx
push ebx
push dword [esp + 0x20]
lea eax, [esp + 0x54]
push dword [esp + 0x4c]
mov ecx, edi
push eax
lea eax, [esp + 0x70]
push eax
mov byte [esp + 0x94], 9
call fcn.00418728
mov byte [esp + 0x78], 4
mov ecx, dword [esp + 0x44]
add ecx, 0xfffffff0
call fcn.00401b3a
push esi
push ebx
push dword [esp + 0x20]
lea eax, [esp + 0x2c]
push dword [esp + 0x20]
xor ecx, ecx
push eax
lea esi, [esp + 0x6c]
mov edx, edi
call fcn.0041999c
mov eax, dword [edi + 0x120]
add dword [esp + 0x14], eax
mov byte [esp + 0x78], 0
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.00401b3a
inc dword [esp + 0x28]
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x2c]
jle 0x41b44a
push dword [esp + 0x4c]
lea ecx, [esp + 0x5c]
call fcn.0042bb8d
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
cmp ecx, ebx
jl 0x41b728
mov ecx, ebx
mov esi, edi
call fcn.0041ad51
mov ecx, dword [ebp + 8]
cmp ecx, ebx
mov dword [esp + 0x4c], eax
jg 0x41b73c
mov ecx, ebx
mov esi, edi
call fcn.0041ad51
inc eax
push eax
push dword [esp + 0x50]
lea ebx, [esp + 0x60]
call fcn.0041806a
or dword [esp + 0x78], 0xffffffff
mov ecx, ebx
call fcn.0042b896
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc