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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4d3d23
sub esp, 0x60
xor ebx, ebx
xor ebx, ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
xor ebx, ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp], 0x5ca540
mov ebx, dword [esp + 0x6c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 8], ebx
lea ebx, [esp + 0x4c]
mov dword [esp + 0xc], ebx
call fcn.0040c390
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
movzx ebx, byte [esp + 0x10]
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x24], esi
mov ebp, dword [esp + 0x50]
mov dword [esp + 0x28], ebp
cmp bl, 0
je 0x4d3ad1
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp], ebp
mov ebx, dword [esi + 0x14]
call ebx
mov esi, dword [esp + 0xc]
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], ebp
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], ecx
add esp, 0x60
ret
xor ebx, ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp], 0x5ca480
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
lea ebx, [esp + 0x44]
mov dword [esp + 0xc], ebx
call fcn.0040c390
movzx ebx, byte [esp + 0x10]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x2c], edx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x30], ecx
cmp bl, 0
je 0x4d3b59
mov ebx, dword [esp + 0x6c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 8], ebx
mov dword [esp], ecx
mov ebx, dword [edx + 0x14]
call ebx
mov esi, dword [esp + 0xc]
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], ebp
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], ecx
add esp, 0x60
ret
mov ebx, dword [esp + 0x74]
cmp ebx, 0
jne 0x4d3ba6
mov dword [esp], 0x5c4140
mov dword [esp + 4], 0x8000
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0x8000
mov dword [esp + 0x10], 0
call fcn.0043c0d0
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x74], ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x78], ebx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x7c], ebx
mov ebx, dword [esp + 0x74]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x78]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp], ebx
mov ebx, dword [esp + 0x6c]
mov ebx, dword [ebx + 0x14]
call ebx
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x40], ebx
cmp eax, 0
jle 0x4d3cb4
mov dword [esp + 0x20], eax
mov ecx, eax
mov eax, dword [esp + 0x7c]
cmp ecx, eax
ja 0x4d3d1c
mov edx, dword [esp + 0x74]
mov dword [esp + 0x54], edx
mov dword [esp + 4], edx
mov dword [esp + 0x58], ecx
mov dword [esp + 8], ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0xc], eax
mov ebx, dword [esp + 0x68]
mov dword [esp], ebx
mov ebx, dword [esp + 0x64]
mov ebx, dword [ebx + 0x14]
call ebx
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x38], ebx
cmp ecx, 0
jle 0x4d3c6d
mov edi, dword [esp + 0x80]
mov esi, dword [esp + 0x84]
mov eax, ecx
cdq
mov ebp, eax
mov ebx, edx
mov eax, edi
mov edx, esi
add eax, ebp
adc edx, ebx
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
mov ebx, dword [esp + 0x34]
cmp ebx, 0
je 0x4d3c90
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x88], ebx
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x8c], ebx
add esp, 0x60
ret
mov ebx, dword [esp + 0x20]
cmp ebx, ecx
je 0x4d3cb4
mov ebx, dword [0x6c8488]
mov dword [esp + 0x88], ebx
mov ebx, dword [0x6c848c]
mov dword [esp + 0x8c], ebx
jmp 0x4d3c8c
mov ecx, dword [esp + 0x3c]
mov ebx, dword [0x6c8468]
cmp ecx, ebx
jne 0x4d3cf4
mov ebp, dword [esp + 0x3c]
mov dword [esp], ebp
mov ebp, dword [esp + 0x40]
mov dword [esp + 4], ebp
mov ebp, dword [0x6c8468]
mov dword [esp + 8], ebp
mov ebp, dword [0x6c846c]
mov dword [esp + 0xc], ebp
call fcn.00403160
movzx ebx, byte [esp + 0x10]
cmp bl, 0
jne 0x4d3c8c
mov ebx, dword [esp + 0x3c]
cmp ebx, 0
je 0x4d3ba6
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x88], ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x8c], ebx
jmp 0x4d3c8c
call fcn.004286f0
ud2
call fcn.00450db0
jmp fcn.004d3a00