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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4d6ab3
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], 0x5cb400
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.0040ceb0
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 0x4d6861
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], 0x5cb340
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
lea ebx, [esp + 0x44]
mov dword [esp + 0xc], ebx
call fcn.0040ceb0
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 0x4d68e9
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 0x4d6936
mov dword [esp], 0x5c5000
mov dword [esp + 4], 0x8000
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0x8000
mov dword [esp + 0x10], 0
call fcn.0043cbf0
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 0x4d6a44
mov dword [esp + 0x20], eax
mov ecx, eax
mov eax, dword [esp + 0x7c]
cmp ecx, eax
ja 0x4d6aac
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 0x4d69fd
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 0x4d6a20
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 0x4d6a44
mov ebx, dword [0x6c9488]
mov dword [esp + 0x88], ebx
mov ebx, dword [0x6c948c]
mov dword [esp + 0x8c], ebx
jmp 0x4d6a1c
mov ecx, dword [esp + 0x3c]
mov ebx, dword [0x6c9468]
cmp ecx, ebx
jne 0x4d6a84
mov ebp, dword [esp + 0x3c]
mov dword [esp], ebp
mov ebp, dword [esp + 0x40]
mov dword [esp + 4], ebp
mov ebp, dword [0x6c9468]
mov dword [esp + 8], ebp
mov ebp, dword [0x6c946c]
mov dword [esp + 0xc], ebp
call fcn.00403c80
movzx ebx, byte [esp + 0x10]
cmp bl, 0
jne 0x4d6a1c
mov ebx, dword [esp + 0x3c]
cmp ebx, 0
je 0x4d6936
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x88], ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x8c], ebx
jmp 0x4d6a1c
call fcn.00429210
ud2
call fcn.004518d0
jmp fcn.004d6790