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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x414021
sub esp, 0x70
mov eax, dword [0xbc7308]
test eax, eax
jne 0x413d3c
mov eax, dword [esp + 0x74]
test eax, eax
je 0x414009
movzx ecx, byte [eax + 0xf]
and ecx, 0x1f
cmp cl, 0x16
jne 0x413fab
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x413f93
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0040ff00
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x413a9e
mov eax, dword [esp + 0x78]
lea ecx, [0xbc70a8]
cmp ecx, eax
je 0x413a9a
lea ecx, [0xb75e60]
jmp 0x413a54
mov ecx, dword [ecx + 0xe0]
mov eax, ebx
test ecx, ecx
je 0x413f7b
mov edx, dword [ecx + 0x38]
mov ebx, eax
cmp edx, eax
ja 0x413a6c
mov edx, dword [ecx + 0x3c]
cmp eax, edx
jb 0x413a96
mov edx, dword [ecx + 0x40]
cmp edx, eax
ja 0x413a7a
mov edx, dword [ecx + 0x44]
cmp eax, edx
jb 0x413a96
mov edx, dword [ecx + 0x48]
cmp edx, eax
ja 0x413a88
mov edx, dword [ecx + 0x4c]
cmp eax, edx
jb 0x413a96
mov edx, dword [ecx + 0x50]
cmp edx, eax
ja 0x413a4c
mov edx, dword [ecx + 0x54]
cmp eax, edx
jae 0x413a4c
add esp, 0x70
ret
add esp, 0x70
ret
mov ecx, dword [esp + 0x78]
mov edx, ecx
cmp ecx, eax
je 0x413d33
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x413f63
movzx ebx, byte [ecx + 0xf]
test bl, 0x80
je 0x413f63
mov ecx, dword [ecx]
cmp ecx, 0x10
jae 0x413f63
mov ecx, dword [esp + 0x7c]
test ecx, ecx
je 0x413d01
movzx ebx, byte [ecx + 0xf]
and ebx, 0x1f
cmp bl, 0x13
jne 0x413f05
mov dword [esp + 0x48], ecx
movzx ebx, word [ecx + 0x22]
test bx, 0x8000
jne 0x413e69
movzx ebx, word [ecx + 0x20]
cmp bx, 1
jne 0x413ddf
movzx ebp, byte [ecx + 0xc]
xchg ebp, eax
test al, 1
xchg ebp, eax
je 0x413cf7
mov ebp, 0x34
lea esi, [ebp + ecx]
test byte [esi], al
movzx ebx, bx
test ebx, ebx
jl 0x413dd8
cmp ebx, 0x100000
ja 0x413dd8
test ebx, ebx
jbe 0x413dd1
mov ebx, dword [ebp + ecx]
mov dword [esp + 0x44], ebx
cmp ebx, eax
jne 0x413c4e
movzx edx, byte [ecx + 0xc]
test dl, 1
je 0x413c44
mov edx, 0x34
add edx, ecx
test byte [edx], al
movzx ebp, word [ecx + 0x22]
and ebp, 0x7fff
movzx ecx, word [ecx + 0x20]
add ebp, ecx
movzx ebp, bp
test ebp, ebp
jl 0x413d40
movzx ecx, cx
cmp ecx, ebp
ja 0x413d40
cmp ebp, 0x100000
ja 0x413d40
sub ebp, ecx
lea esi, [ecx - 0x100000]
xchg esi, ebx
neg ebx
xchg esi, ebx
xchg esi, ebx
neg ebx
xchg esi, ebx
shl ecx, 2
sar esi, 0x1f
and ecx, esi
add ecx, edx
xor edx, edx
xor esi, esi
jmp 0x413be4
mov edi, dword [ecx + edx*4]
mov dword [esp + 0x3c], edi
inc edx
movzx edi, byte [edi + 0xd]
lea esi, [esi + edi - 1]
dec edi
xchg edi, ebx
not ebx
xchg edi, ebx
and esi, edi
mov edi, dword [esp + 0x3c]
add esi, dword [edi]
cmp edx, ebp
jl 0x413bc5
mov dword [esp + 0x34], esi
call fcn.00413580
lea edi, [esp + 0x58]
xor eax, eax
call fcn.0044cd1a
lea eax, [0x448fe0]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x74]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x7c]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x34]
add eax, 3
and eax, 0xfffffffc
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x58]
mov dword [esp], eax
call fcn.0044b3a0
add esp, 0x70
ret
mov edx, 0x24
jmp 0x413b6b
movzx ebp, byte [ebx + 0xf]
and ebp, 0x1f
xchg ebp, eax
cmp al, 0x16
xchg ebp, eax
je 0x413cac
xchg ebp, eax
cmp al, 0x14
xchg ebp, eax
jne 0x413ca5
mov ebp, dword [ebx + 0x28]
test ebp, ebp
je 0x413b59
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp], ebx
call fcn.00407ce0
movzx eax, byte [esp + 0x14]
test al, al
je 0x413c9c
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov ebx, dword [esp + 0x44]
jmp 0x413b59
mov edx, dword [esp + 0x4c]
jmp 0x413d47
mov edx, eax
jmp 0x413d47
mov dword [esp], ebx
call fcn.00446090
mov eax, dword [esp + 4]
test eax, eax
jne 0x413cdd
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x4c]
mov ebx, dword [edx + 0x20]
cmp ecx, ebx
jne 0x413d47
mov eax, edx
mov ecx, dword [esp + 0x48]
mov ebx, dword [esp + 0x44]
jmp 0x413b59
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.00446090
mov eax, dword [esp + 4]
test eax, eax
je 0x413cbc
mov edx, dword [esp + 0x4c]
jmp 0x413d47
mov ebp, 0x24
jmp 0x413b24
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
lea eax, [0x448fb0]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x74]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x50]
mov dword [esp], eax
call fcn.0044b3a0
add esp, 0x70
ret
mov eax, dword [esp + 0x4c]
jmp 0x413ad3
add esp, 0x70
ret
call fcn.00426730
ud2
mov dword [esp], edx
call fcn.00446000
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x48]
mov dword [esp], edx
call fcn.00446000
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [esp], 0
lea edx, [0x7ea8b5]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x22
mov edx, dword [esp + 0x40]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x10], edx
lea edx, [0x7df752]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 0xe
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
call fcn.0043bfe0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00427a40
ud2
call fcn.00426630
ud2
call fcn.00426730
ud2
mov dword [esp], eax
call fcn.00446000
mov eax, dword [esp + 8]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x48]
mov dword [esp], edx
call fcn.00446000
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [esp], 0
lea edx, [0x7ea8b5]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x22
mov edx, dword [esp + 0x40]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x10], edx
lea edx, [0x7df752]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 0xe
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
call fcn.0043bfe0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00427a40
ud2
mov dword [esp], eax
call fcn.00446000
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x48]
mov dword [esp], edx
call fcn.00446000
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [esp], 0
lea edx, [0x7ea8b5]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x22
mov edx, dword [esp + 0x40]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x10], edx
lea edx, [0x7df752]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 0xe
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
lea eax, [0x7e1235]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 0x12
call fcn.0043c040
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00427a40
ud2
mov dword [esp], ecx
call fcn.00446000
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [esp], 0
lea edx, [0x7ed9ed]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x29
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
lea eax, [0x7e03e8]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0x10
call fcn.0043bf80
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00427a40
ud2
lea eax, [0x7f38ce]
mov dword [esp], eax
mov dword [esp + 4], 0x41
call fcn.00427a40
ud2
lea eax, [0x7f14d3]
mov dword [esp], eax
mov dword [esp + 4], 0x34
call fcn.00427a40
ud2
lea eax, [0x7dfb42]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call fcn.00427a40
ud2
mov dword [esp], eax
call fcn.00446000
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [esp], 0
lea edx, [0x7ed340]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x28
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
lea eax, [0x7df1e9]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0xd
call fcn.0043bf80
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00427a40
ud2
lea eax, [0x7ee90b]
mov dword [esp], eax
mov dword [esp + 4], 0x2b
call fcn.00427a40
ud2
call fcn.0044b4c0
jmp fcn.004139c0