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

Disassembly:
push 0xffffffffffffffff
push 0x460fb8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push ebp
push esi
mov eax, dword [0x47b6e0]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ebx, ecx
push 0
lea eax, [esp + 0x3c]
push eax
push 0
push 0x1024
mov dword [esp + 0x48], 0
call dword [0x464660]
test eax, eax
je 0x41f233
cmp dword [esp + 0x38], 0
jne 0x41f85d
lea ecx, [esp + 0x60]
push ecx
push ebx
call dword [0x464664]
mov ebp, dword [esp + 0x68]
mov esi, dword [esp + 0x6c]
sub ebp, dword [esp + 0x60]
sub esi, dword [esp + 0x64]
lea edx, [esp + 0x3c]
push edx
push ebx
mov ecx, 0x480058
mov dword [esp + 0x48], ebp
mov dword [esp + 0x30], esi
mov dword [esp + 0x44], 0
call fcn.0043a3b0
mov ebx, eax
neg ebx
sbb ebx, ebx
and ebx, dword [esp + 0x3c]
push edi
call fcn.0042e451
lea ecx, [esp + 0x50]
mov dword [esp + 0x38], eax
call fcn.0042df8e
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0x38]
test eax, eax
je 0x41f29f
mov eax, dword [eax + 4]
push eax
call dword [0x4640d4]
push eax
lea ecx, [esp + 0x54]
call fcn.0042e45f
add ebx, 0x1c
je 0x41f2b8
mov ebx, dword [ebx + 4]
mov eax, dword [esp + 0x54]
push ebx
push eax
call fcn.0042e7bd
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x1c], ebx
call fcn.004151d0
cmp eax, 0x100
jg 0x41f436
push 0x10
call dword [0x4645fc]
push 0xcc0020
push 0
mov dword [esp + 0x20], eax
lea eax, [ebp - 2]
push eax
push ebx
mov ebx, dword [0x4640b8]
push esi
push 2
push 0
push eax
push edi
call ebx
mov ecx, dword [esp + 0x1c]
push 0xcc0020
lea eax, [esi - 2]
push eax
push 0
push ecx
push 2
push ebp
push eax
push 0
push edi
call ebx
lea edx, [esi - 5]
lea eax, [esi - 4]
add esi, 0xfffffffd
mov dword [esp + 0x24], esi
mov esi, dword [0x4640fc]
mov dword [esp + 0x38], edx
mov dword [esp + 0x30], eax
add ebp, 0xfffffffd
mov dword [esp + 0x34], 2
xor ebx, ebx
mov ecx, dword [esp + 0x1c]
push ebx
push ebp
push ecx
call dword [0x464118]
push eax
push ebx
push ebp
push edi
call esi
add ebx, 1
cmp ebx, 4
jl 0x41f347
mov ebx, 4
mov edx, dword [esp + 0x18]
push edx
push ebx
push ebp
push edi
call esi
add ebx, 1
cmp ebx, 8
jl 0x41f367
mov ebx, 8
cmp dword [esp + 0x38], ebx
jl 0x41f397
mov eax, dword [esp + 0x18]
push eax
push ebx
push ebp
push edi
call esi
add ebx, 1
cmp ebx, dword [esp + 0x38]
jle 0x41f384
mov ebx, dword [esp + 0x30]
cmp ebx, dword [esp + 0x24]
jg 0x41f3b4
mov ecx, dword [esp + 0x18]
push ecx
push ebx
push ebp
push edi
call esi
add ebx, 1
cmp ebx, dword [esp + 0x24]
jle 0x41f3a1
sub ebp, 1
sub dword [esp + 0x34], 1
jne 0x41f345
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x24]
add edx, 0xfffffffb
mov dword [esp + 0x20], edx
mov dword [esp + 0x38], 2
xor ebp, ebp
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push eax
call dword [0x464118]
push eax
push ebx
push ebp
push edi
call esi
add ebp, 1
cmp ebp, 3
jle 0x41f3d7
mov ebp, 4
mov ecx, dword [esp + 0x18]
push ecx
push ebx
push ebp
push edi
call esi
add ebp, 1
cmp ebp, 7
jle 0x41f3f7
mov ebp, 8
cmp dword [esp + 0x20], ebp
jl 0x41f427
mov edx, dword [esp + 0x18]
push edx
push ebx
push ebp
push edi
call esi
add ebp, 1
cmp ebp, dword [esp + 0x20]
jle 0x41f414
sub ebx, 1
sub dword [esp + 0x38], 1
jne 0x41f3d5
jmp 0x41f836
add esi, 0xffffffff
mov dword [esp + 0x38], esi
mov esi, dword [0x46430c]
mov dword [esp + 0x18], 1
mov dword [esp + 0x30], 6
mov dword [esp + 0x2c], 0xfffffffa
add ebp, 0xffffffff
mov dword [esp + 0x24], 0xe1
mov dword [esp + 0x34], 0xf9
xor ebx, ebx
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push eax
call dword [0x464118]
push eax
push ebx
push ebp
push edi
call dword [0x4640fc]
add ebx, 1
cmp ebx, 4
jl 0x41f470
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x14], 4
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
push edx
push ebp
push eax
call dword [0x464118]
mov ecx, dword [esp + 0x20]
mov ebx, eax
push 0xff
movzx edx, bl
push ecx
push edx
call esi
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x20]
push 0xff
movzx ecx, bh
push eax
push ecx
call esi
mov edx, dword [esp + 0x20]
mov dword [esp + 0x44], eax
push 0xff
shr ebx, 0x10
movzx eax, bl
push edx
push eax
call esi
movzx edx, byte [esp + 0x48]
mov ebx, dword [esp + 0x14]
xor ecx, ecx
mov ch, al
mov cl, byte [esp + 0x44]
shl ecx, 8
or ecx, edx
push ecx
push ebx
push ebp
push edi
call dword [0x4640fc]
mov eax, dword [esp + 0x2c]
add dword [esp + 0x20], eax
add ebx, 1
cmp ebx, 8
mov dword [esp + 0x14], ebx
jl 0x41f49f
mov edx, dword [esp + 0x28]
lea eax, [edx - 5]
cmp eax, 8
mov dword [esp + 0x14], 8
jl 0x41f5c1
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
push ecx
push ebp
push edx
call dword [0x464118]
mov ebx, eax
mov eax, dword [esp + 0x24]
push 0xff
movzx ecx, bl
push eax
push ecx
call esi
mov edx, dword [esp + 0x24]
mov dword [esp + 0x44], eax
push 0xff
movzx eax, bh
push edx
push eax
call esi
mov ecx, dword [esp + 0x24]
push 0xff
shr ebx, 0x10
movzx edx, bl
push ecx
push edx
mov dword [esp + 0x54], eax
call esi
movzx edx, byte [esp + 0x44]
mov ebx, dword [esp + 0x14]
xor ecx, ecx
mov ch, al
mov cl, byte [esp + 0x48]
shl ecx, 8
or ecx, edx
push ecx
push ebx
push ebp
push edi
call dword [0x4640fc]
mov eax, dword [esp + 0x28]
add ebx, 1
add eax, 0xfffffffb
cmp ebx, eax
mov dword [esp + 0x14], ebx
jle 0x41f53d
mov edx, dword [esp + 0x28]
lea eax, [edx - 4]
cmp eax, dword [esp + 0x38]
mov dword [esp + 0x14], eax
jg 0x41f677
mov ecx, eax
sub ecx, edx
imul ecx, dword [esp + 0x18]
lea ecx, [ecx + ecx*2]
lea edx, [ecx + ecx + 0xff]
mov dword [esp + 0x20], edx
jmp 0x41f5f4
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x20]
push ebp
push eax
call dword [0x464118]
mov ecx, dword [esp + 0x20]
mov ebx, eax
push 0xff
movzx edx, bl
push ecx
push edx
call esi
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x20]
push 0xff
movzx ecx, bh
push eax
push ecx
call esi
mov edx, dword [esp + 0x20]
mov dword [esp + 0x48], eax
push 0xff
shr ebx, 0x10
movzx eax, bl
push edx
push eax
call esi
movzx edx, byte [esp + 0x44]
mov ebx, dword [esp + 0x14]
xor ecx, ecx
mov ch, al
mov cl, byte [esp + 0x48]
shl ecx, 8
or ecx, edx
push ecx
push ebx
push ebp
push edi
call dword [0x4640fc]
mov eax, dword [esp + 0x30]
add dword [esp + 0x20], eax
add ebx, 1
cmp ebx, dword [esp + 0x38]
mov dword [esp + 0x14], ebx
jle 0x41f5f0
mov eax, dword [esp + 0x24]
add dword [esp + 0x18], 1
mov ecx, 6
sub dword [esp + 0x2c], ecx
add dword [esp + 0x30], ecx
sub dword [esp + 0x34], ecx
sub eax, 0x1e
sub ebp, 1
cmp eax, 0x87
mov dword [esp + 0x24], eax
jge 0x41f46e
mov ecx, dword [esp + 0x40]
mov ebp, dword [esp + 0x38]
add ecx, 0xfffffffb
mov dword [esp + 0x20], ecx
mov dword [esp + 0x34], 0xfffffffa
mov dword [esp + 0x14], 0xe1
mov dword [esp + 0x38], 0xf9
xor ebx, ebx
nop
mov edx, dword [esp + 0x1c]
push ebp
push ebx
push edx
call dword [0x464118]
push eax
push ebp
push ebx
push edi
call dword [0x4640fc]
add ebx, 1
cmp ebx, 3
jle 0x41f6d0
mov eax, dword [esp + 0x38]
mov dword [esp + 0x18], 4
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push ebp
push ecx
push edx
call dword [0x464118]
mov ebx, eax
mov eax, dword [esp + 0x24]
push 0xff
movzx ecx, bl
push eax
push ecx
call esi
mov edx, dword [esp + 0x24]
mov dword [esp + 0x44], eax
push 0xff
movzx eax, bh
push edx
push eax
call esi
mov ecx, dword [esp + 0x24]
push 0xff
shr ebx, 0x10
movzx edx, bl
push ecx
push edx
mov dword [esp + 0x54], eax
call esi
movzx edx, byte [esp + 0x44]
mov ebx, dword [esp + 0x18]
xor ecx, ecx
mov ch, al
mov cl, byte [esp + 0x48]
shl ecx, 8
or ecx, edx
push ecx
push ebp
push ebx
push edi
call dword [0x4640fc]
mov eax, dword [esp + 0x34]
add dword [esp + 0x24], eax
add ebx, 1
cmp ebx, 7
mov dword [esp + 0x18], ebx
jle 0x41f6ff
mov eax, 8
cmp dword [esp + 0x20], eax
mov dword [esp + 0x18], eax
jl 0x41f813
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push ebp
push ecx
push edx
call dword [0x464118]
mov ebx, eax
mov eax, dword [esp + 0x14]
push 0xff
movzx ecx, bl
push eax
push ecx
call esi
mov edx, dword [esp + 0x14]
mov dword [esp + 0x44], eax
push 0xff
movzx eax, bh
push edx
push eax
call esi
mov ecx, dword [esp + 0x14]
push 0xff
shr ebx, 0x10
movzx edx, bl
push ecx
push edx
mov dword [esp + 0x54], eax
call esi
movzx edx, byte [esp + 0x44]
mov ebx, dword [esp + 0x18]
xor ecx, ecx
mov ch, al
mov cl, byte [esp + 0x48]
shl ecx, 8
or ecx, edx
push ecx
push ebp
push ebx
push edi
call dword [0x4640fc]
add ebx, 1
cmp ebx, dword [esp + 0x20]
mov dword [esp + 0x18], ebx
jle 0x41f798
mov eax, dword [esp + 0x38]
sub dword [esp + 0x34], 6
sub dword [esp + 0x14], 0x1e
sub eax, 6
sub ebp, 1
cmp eax, 0xe7
mov dword [esp + 0x38], eax
jge 0x41f6cd
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x41f841
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x58]
push eax
call fcn.0042e7bd
lea ecx, [esp + 0x50]
mov dword [esp + 0x78], 0xffffffff
call fcn.0042e4c3
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret 8