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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4f133a
sub esp, 0x70
mov eax, dword [esp + 0x90]
test eax, eax
jne 0x4f10d1
mov eax, dword [esp + 0x80]
test eax, eax
jne 0x4f0fc1
xor eax, eax
xor ecx, ecx
mov edx, dword [esp + 0x88]
test edx, edx
je 0x4f0f8a
mov dword [esp + 0x30], eax
mov dword [esp + 0x50], ecx
mov eax, dword [edx + 0x20]
mov ecx, dword [esp + 0x74]
mov ebx, dword [ecx + 0x140]
mov ebp, dword [esp + 0x8c]
mov dword [esp], ebp
mov dword [esp + 4], ebx
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 8]
test ecx, ecx
jne 0x4f0f78
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov ecx, dword [esp + 0x78]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edx
call fcn.004ddf40
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
test ecx, ecx
jne 0x4f0f66
mov eax, dword [esp + 0x74]
mov byte [eax + 0x148], 1
mov dword [esp + 0x48], ebx
mov dword [esp + 0x68], edx
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
call fcn.0048f050
mov eax, dword [esp + 8]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x48]
test edx, edx
je 0x4f0d76
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.004f0ab0
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x74]
mov dword [esp], edx
call fcn.004f0ab0
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
mov eax, dword [edx]
call eax
nop
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x74]
mov dword [ebx + 0x154], edx
mov edx, dword [0xb91180]
test edx, edx
jne 0x4f0d61
mov edx, dword [esp + 0x54]
mov dword [ebx + 0x158], edx
mov dword [ebx + 0x15c], ecx
mov ecx, dword [0xb91180]
test ecx, ecx
jne 0x4f0d54
mov dword [ebx + 0x160], eax
lea eax, [0x808b80]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea eax, [0x7a1580]
mov dword [esp + 8], eax
lea eax, [0x835a98]
mov dword [esp + 0xc], eax
call fcn.00414910
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
add esp, 0x70
ret
lea edi, [ebx + 0x160]
call fcn.0044f0d0
jmp 0x4f0d14
lea edi, [ebx + 0x158]
mov edx, eax
mov eax, dword [esp + 0x54]
call fcn.0044f0d0
mov eax, edx
jmp 0x4f0cfe
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
call fcn.0048f130
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x4f0e81
mov dword [esp + 0x4c], eax
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.004f0ab0
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x74]
mov dword [esp], edx
call fcn.004f0ab0
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov eax, dword [edx]
call eax
nop
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x74]
mov dword [ebx + 0x154], edx
mov edx, dword [0xb91180]
test edx, edx
jne 0x4f0e6c
mov edx, dword [esp + 0x5c]
mov dword [ebx + 0x158], edx
mov dword [ebx + 0x15c], ecx
mov ecx, dword [0xb91180]
test ecx, ecx
jne 0x4f0e5f
mov dword [ebx + 0x160], eax
lea eax, [0x808b80]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea eax, [0x7a1580]
mov dword [esp + 8], eax
lea eax, [0x835a98]
mov dword [esp + 0xc], eax
call fcn.00414910
jmp 0x4f0d3a
lea edi, [ebx + 0x160]
call fcn.0044f0d0
jmp 0x4f0e34
lea edi, [ebx + 0x158]
mov edx, eax
mov eax, dword [esp + 0x5c]
call fcn.0044f0d0
mov eax, edx
jmp 0x4f0e1e
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.004f0ab0
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x3c], ecx
lea edx, [0x7c6540]
mov dword [esp], edx
mov edx, dword [esp + 0x88]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x8c]
mov dword [esp + 8], edx
call fcn.00407b70
nop
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x74]
mov dword [ebx + 0x154], edx
mov edx, dword [0xb91180]
test edx, edx
jne 0x4f0f51
mov edx, dword [esp + 0x58]
mov dword [ebx + 0x158], edx
mov dword [ebx + 0x15c], ecx
mov ecx, dword [0xb91180]
test ecx, ecx
jne 0x4f0f44
mov dword [ebx + 0x160], eax
lea eax, [0x808b80]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea eax, [0x7a1580]
mov dword [esp + 8], eax
lea eax, [0x835a98]
mov dword [esp + 0xc], eax
call fcn.00414910
jmp 0x4f0d3a
lea edi, [ebx + 0x160]
call fcn.0044f0d0
jmp 0x4f0f19
lea edi, [ebx + 0x158]
mov edx, eax
mov eax, dword [esp + 0x58]
call fcn.0044f0d0
mov eax, edx
jmp 0x4f0f03
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
add esp, 0x70
ret
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
add esp, 0x70
ret
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.004dde20
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x4f0faf
mov eax, dword [esp + 0x74]
xor ebx, ebx
xor edx, edx
jmp 0x4f0c4e
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
add esp, 0x70
ret
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 0x140]
mov ebx, dword [esp + 0x84]
mov dword [esp], ebx
mov dword [esp + 4], edx
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 8]
test ecx, ecx
jne 0x4f10bf
test ebx, ebx
jne 0x4f1003
mov eax, ebx
mov ecx, edx
jmp 0x4f0bab
mov dword [esp + 0x50], edx
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.0048ef70
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test ecx, ecx
jne 0x4f1038
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x30]
jmp 0x4f0ffa
mov dword [esp + 0x60], eax
mov dword [esp + 0x40], ecx
nop
lea eax, [0x7d04e0]
mov dword [esp], eax
call fcn.00409f80
mov edi, dword [esp + 4]
mov dword [edi + 4], 4
mov eax, dword [0xb91180]
test eax, eax
jne 0x4f10b2
lea ecx, [0x8146d5]
mov dword [edi], ecx
mov ecx, dword [esp + 0x40]
mov dword [edi + 8], ecx
mov ecx, dword [0xb91180]
test ecx, ecx
jne 0x4f109c
mov eax, dword [esp + 0x60]
mov dword [edi + 0xc], eax
lea eax, [0x8b4270]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], edi
add esp, 0x70
ret
lea ecx, [edi + 0xc]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x60]
call fcn.0044f0d0
mov edi, edx
jmp 0x4f1084
lea eax, [0x8146d5]
call fcn.0044f0d0
jmp 0x4f106c
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
add esp, 0x70
ret
nop
lea eax, [0x7c4500]
mov dword [esp], eax
call fcn.00409f80
mov edi, dword [esp + 4]
mov eax, dword [0xb91180]
test eax, eax
jne 0x4f1325
mov eax, dword [esp + 0x74]
mov dword [edi], eax
mov dword [esp + 0x6c], edi
mov ecx, dword [esp + 0x88]
test ecx, ecx
jne 0x4f12f3
mov ebx, dword [esp + 0x80]
test ebx, ebx
jne 0x4f12c1
xor edx, edx
xor ebp, ebp
nop
mov esi, dword [eax + 0x150]
mov ecx, dword [eax + 0x14c]
cmp esi, 4
jne 0x4f118e
cmp dword [ecx], 0x78696e75
jne 0x4f118e
mov ecx, dword [eax + 0x150]
mov esi, dword [eax + 0x14c]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
lea eax, [0x8b7ed0]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edi
mov edx, dword [esp + 0x90]
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4f0b98
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
add esp, 0x70
ret
cmp esi, 8
jne 0x4f11a4
cmp dword [ecx], 0x78696e75
jne 0x4f11a4
cmp dword [ecx + 4], 0x6d617267
je 0x4f1138
mov dword [esp + 0x64], edx
mov dword [esp + 0x44], ebp
cmp esi, 0xa
je 0x4f126a
mov ecx, dword [eax + 0x150]
mov esi, dword [eax + 0x14c]
lea ebx, [ecx - 1]
cmp ebx, ecx
jae 0x4f1333
movzx ebx, byte [ecx + esi - 1]
cmp bl, 0x34
je 0x4f1144
cmp bl, 0x36
je 0x4f1144
cmp dword [eax + 0x140], 2
jne 0x4f122b
mov dword [esp], 0
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
lea eax, [0x814154]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.0043dbd0
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x64]
mov ebp, dword [esp + 0x44]
mov edi, dword [esp + 0x6c]
jmp 0x4f1144
mov dword [esp], 0
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
lea eax, [0x814156]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.0043dbd0
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x64]
mov ebp, dword [esp + 0x44]
mov edi, dword [esp + 0x6c]
jmp 0x4f1144
mov dword [esp], ecx
lea eax, [0x8163e5]
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call fcn.00402010
movzx eax, byte [esp + 0xc]
test al, al
je 0x4f12a5
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x80]
mov ebp, dword [esp + 0x44]
mov edi, dword [esp + 0x6c]
jmp 0x4f1138
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x80]
mov ebp, dword [esp + 0x44]
mov edi, dword [esp + 0x6c]
jmp 0x4f11b5
mov eax, dword [ebx + 0x14]
mov ecx, dword [esp + 0x84]
mov dword [esp], ecx
call eax
mov ebp, dword [esp + 8]
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x88]
mov ebx, dword [esp + 0x80]
mov edi, dword [esp + 0x6c]
jmp 0x4f111e
mov eax, dword [ecx + 0x14]
mov edx, dword [esp + 0x8c]
mov dword [esp], edx
call eax
mov ebp, dword [esp + 8]
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x88]
mov ebx, dword [esp + 0x80]
mov edi, dword [esp + 0x6c]
jmp 0x4f111e
mov eax, dword [esp + 0x74]
call fcn.0044f0d0
jmp 0x4f10f8
call fcn.004287c0
ud2
call fcn.0044d880
jmp fcn.004f0b70