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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b22ff
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x6274d0]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
mov eax, dword [0x6274d0]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov edi, edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0xac], ebx
call fcn.004060c1
lea edx, [esp + 0x1c]
push edx
push esi
push dword [esp + 0x20]
mov byte [esp + 0xb4], 1
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
push edi
call dword [eax + 0x18]
mov byte [esp + 0xa8], bl
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x41f207
call fcn.0047bd9d
mov ecx, dword [esi + 0x20]
add esi, 0x1c
mov eax, dword [esi]
mov dword [esp + 0x30], esi
cmp eax, ecx
je 0x41f24a
push ecx
call fcn.00426e2c
mov edi, dword [esi + 4]
pop ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
cmp eax, edi
je 0x41f243
mov ebx, dword [esp + 0x14]
call fcn.00427dee
add dword [esp + 0x14], 0x54
cmp dword [esp + 0x14], edi
jne 0x41f22d
xor ebx, ebx
mov eax, dword [esp + 0x18]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
sub eax, ecx
push 0x54
cdq
pop edi
idiv edi
mov dword [esp + 0x18], ebx
test eax, eax
je 0x41f3a3
mov dword [esp + 0x14], ebx
jmp 0x41f270
mov esi, dword [esp + 0x30]
push 7
pop eax
mov dword [esp + 0x50], eax
xor edx, edx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x88], eax
xor eax, eax
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], dx
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], dx
mov dword [esp + 0x84], ebx
mov word [esp + 0x74], ax
mov edi, dword [esp + 0x14]
add edi, ecx
push 0xffffffffffffffff
push ebx
mov eax, edi
lea ecx, [esp + 0x44]
mov byte [esp + 0xb0], 2
call fcn.0040ac9e
push 0xffffffffffffffff
push ebx
lea eax, [edi + 0x1c]
lea ecx, [esp + 0x60]
call fcn.0040ac9e
push 0xffffffffffffffff
push ebx
lea eax, [edi + 0x38]
lea ecx, [esp + 0x7c]
call fcn.0040ac9e
mov ecx, dword [esi + 4]
lea eax, [esp + 0x3c]
cmp eax, ecx
jae 0x41f325
mov edx, dword [esi]
cmp edx, eax
ja 0x41f325
sub eax, edx
push 0x54
cdq
pop edi
idiv edi
mov edi, eax
cmp ecx, dword [esi + 8]
jne 0x41f305
mov ecx, esi
call fcn.004247a2
mov eax, dword [esi + 4]
imul edi, edi, 0x54
add edi, dword [esi]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], eax
mov byte [esp + 0xa8], 3
cmp eax, ebx
je 0x41f352
mov ecx, edi
jmp 0x41f34c
cmp ecx, dword [esi + 8]
jne 0x41f331
mov ecx, esi
call fcn.004247a2
mov eax, dword [esi + 4]
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], eax
mov byte [esp + 0xa8], 4
cmp eax, ebx
je 0x41f352
lea ecx, [esp + 0x3c]
push eax
call fcn.00427a5d
add dword [esi + 4], 0x54
push 1
xor edi, edi
lea esi, [esp + 0x78]
mov byte [esp + 0xac], bl
call fcn.0040b028
push 1
lea esi, [esp + 0x5c]
call fcn.0040b028
push 1
lea esi, [esp + 0x40]
call fcn.0040b028
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
sub eax, ecx
push 0x54
cdq
pop esi
idiv esi
inc dword [esp + 0x18]
add dword [esp + 0x14], 0x54
cmp dword [esp + 0x18], eax
jb 0x41f26c
cmp ecx, ebx
je 0x41f3c7
mov esi, dword [esp + 0x20]
mov ebx, ecx
cmp ecx, esi
je 0x41f3bd
call fcn.00427dee
add ebx, 0x54
cmp ebx, esi
jne 0x41f3b1
push dword [esp + 0x1c]
call fcn.0055e74f
pop ecx
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.0055d7fe
mov esp, ebp
pop ebp
ret 8