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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4b3ac1
sub esp, 0x70
mov ecx, dword [esp + 0x7c]
mov edx, ecx
and ecx, 0x1f
cmp ecx, 0x15
jne 0x4b3a5c
mov ecx, dword [esp + 0x74]
mov ebx, dword [ecx + 0x20]
test edx, 0x60
je 0x4b38b1
mov eax, 0x20
jmp 0x4b38b3
xor eax, eax
movzx ebp, byte [ebx + 0xf]
and ebp, 0x1f
or eax, ebp
cmp dword [ecx], 4
jne 0x4b3a44
mov ebp, dword [ecx + 4]
test ebp, ebp
je 0x4b3a44
test edx, 0x80
je 0x4b38e0
mov edx, dword [esp + 0x78]
mov edx, dword [edx]
jmp 0x4b38e4
mov edx, dword [esp + 0x78]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x20], eax
test edx, edx
jne 0x4b38f4
xor ebp, ebp
jmp 0x4b390e
mov dword [esp + 0x2c], edx
mov dword [esp], edx
call fcn.0045e490
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x2c]
mov ebp, eax
mov dword [esp + 0x18], ebp
lea edi, [esp + 0x40]
xor eax, eax
call fcn.00462794
mov ecx, dword [esp + 0x74]
mov dword [esp], ecx
mov dword [esp + 4], edx
lea ecx, [esp + 0x40]
mov dword [esp + 8], ecx
call fcn.0045e3c0
lea ecx, [0x62ff00]
mov dword [esp], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.00449ec0
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x3c], ecx
xor eax, eax
jmp 0x4b3970
lea eax, [esp + 0x40]
mov dword [esp], eax
call fcn.0045e400
mov eax, dword [esp + 0x1c]
inc eax
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x18]
cmp eax, edx
jge 0x4b3a19
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x40]
mov dword [esp], eax
call fcn.0045e430
mov eax, dword [esp + 4]
test eax, eax
je 0x4b3a09
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004b3e00
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
cmp ebx, ebp
jae 0x4b3a3b
lea esi, [ebx + ebx*2]
mov ebp, dword [esp + 0x3c]
mov dword [ebp + esi*4 + 8], edx
mov edx, dword [0x81dcc0]
lea ebx, [ebp + esi*4]
mov dword [esp + 0x38], ebx
lea ebx, [ebp + esi*4 + 4]
test edx, edx
jne 0x4b39f2
mov dword [ebp + esi*4], eax
mov dword [ebp + esi*4 + 4], ecx
jmp 0x4b395b
mov edi, dword [esp + 0x38]
call fcn.00462500
mov edi, ebx
mov eax, ecx
call fcn.00462500
jmp 0x4b395b
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
cmp ecx, edx
mov eax, ecx
mov ecx, dword [esp + 0x3c]
ja 0x4b3a34
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], edx
add esp, 0x70
ret
mov ecx, eax
call fcn.004625c0
mov eax, ebx
mov ecx, ebp
call fcn.00462580
lea eax, [0x5ff840]
mov dword [esp], eax
lea eax, [0x68b86c]
mov dword [esp + 4], eax
call fcn.004351d0
mov dword [esp + 0x28], ecx
call fcn.004b1520
mov eax, dword [esp]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x24], ecx
lea edx, [0x60d960]
mov dword [esp], edx
call fcn.0040bcc0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x24]
mov dword [edi + 4], eax
mov eax, dword [0x81dcc0]
test eax, eax
jne 0x4b3ab6
mov eax, dword [esp + 0x34]
mov dword [edi], eax
mov eax, dword [esp + 0x28]
mov dword [edi + 8], eax
lea eax, [0x6055c0]
mov dword [esp], eax
mov dword [esp + 4], edi
call fcn.004351d0
mov eax, dword [esp + 0x34]
call fcn.00462500
jmp 0x4b3a9d
call fcn.004610f0
jmp fcn.004b3870