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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x588f64
push eax
mov dword fs:[0], esp
sub esp, 0x8c
push ebx
push ebp
push esi
mov esi, dword [esp + 0xa8]
push edi
cmp esi, 6
mov edi, ecx
jne 0x4dce5a
sub esp, 8
xor ebx, ebx
mov eax, esp
mov dword [esp + 0x18], esp
mov dword [eax], ebx
mov ecx, dword [edi + 0x48]
mov dword [eax + 4], ecx
mov edx, dword [edi + 0x44]
mov dword [eax], edx
mov eax, ecx
cmp eax, ebx
je 0x4dce4e
inc dword [eax + 4]
mov ecx, edi
call fcn.004d5300
jmp 0x4dd132
push 1
lea ecx, [esp + 0x50]
call fcn.0046f4d0
xor ebx, ebx
lea ecx, [esp + 0x64]
mov dword [esp + 0xa4], ebx
mov dword [esp + 0x60], ebx
call fcn.004e0c90
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov byte [esp + 0x7c], bl
cmp esi, 4
mov byte [esp + 0xa4], 1
jne 0x4dcea4
mov dword [esp + 0x70], 1
push 1
lea ecx, [esp + 0x3c]
call fcn.0046f4d0
mov ecx, dword [esp + 0xb0]
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0xa8], 2
mov ecx, dword [ecx]
add ecx, 0x2b0
call fcn.004de610
lea edx, [esp + 0x38]
lea ecx, [esp + 0x60]
push edx
push ecx
mov ecx, eax
mov byte [esp + 0xac], 3
call fcn.004b4260
lea ecx, [esp + 0x30]
mov byte [esp + 0xa4], 2
call fcn.004b1570
lea ecx, [esp + 0x38]
xor ebp, ebp
call fcn.00521270
test eax, eax
jbe 0x4dd024
mov dword [esp + 0x18], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], ebx
lea edx, [esp + 0x10]
push ebp
push edx
lea ecx, [esp + 0x40]
mov byte [esp + 0xac], 4
call fcn.0046f5f0
push ecx
mov ecx, dword [esp + 0x14]
mov eax, esp
mov byte [esp + 0xa8], 5
mov dword [esp + 0x18], esp
mov dword [eax], ecx
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4dcf5b
inc dword [eax]
mov ecx, dword [edi + 0x1c]
lea eax, [esp + 0x88]
push eax
mov edx, dword [ecx]
call dword [edx + 0xac]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa8], 6
call fcn.00500340
lea ecx, [esp + 0x84]
mov byte [esp + 0xa4], 5
call fcn.00500300
mov eax, dword [esp + 0x24]
xor esi, esi
cmp eax, ebx
jbe 0x4dcfe3
push esi
lea ecx, [esp + 0x1c]
call fcn.00500740
mov ecx, dword [esp + 0xac]
mov edx, dword [eax + 4]
cmp edx, ecx
jne 0x4dcfda
push esi
lea ecx, [esp + 0x1c]
call fcn.004de590
mov eax, dword [eax]
push ecx
mov ecx, esp
cmp eax, ebx
mov dword [esp + 0x18], esp
mov dword [ecx], eax
je 0x4dcfd1
inc dword [eax]
lea ecx, [esp + 0x50]
call fcn.0046f520
mov eax, dword [esp + 0x24]
inc esi
cmp esi, eax
jb 0x4dcf9e
mov eax, dword [esp + 0x10]
mov byte [esp + 0xa4], 4
cmp eax, ebx
je 0x4dcffd
push eax
lea ecx, [esp + 0x14]
call fcn.00411610
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], ebx
mov byte [esp + 0xa4], 2
call fcn.00500300
lea ecx, [esp + 0x38]
inc ebp
call fcn.00521270
cmp ebp, eax
jb 0x4dcf0d
lea ecx, [esp + 0x4c]
xor ebp, ebp
call fcn.00521270
test eax, eax
jbe 0x4dd0fd
push 0x2cc
call fcn.00564fcb
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
cmp esi, ebx
mov byte [esp + 0xa4], 7
je 0x4dd0af
mov edx, dword [edi + 0x64]
mov eax, dword [edi + 0x60]
push edx
mov edx, dword [esp + 0xb4]
push eax
sub esp, 8
mov ecx, esp
mov dword [esp + 0x90], esp
push ecx
mov ecx, dword [edx]
add ecx, 0x2b0
call fcn.004de610
push ebx
push ecx
mov eax, esp
mov dword [esp + 0x48], esp
push ebp
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0xc4], 8
call fcn.0046f5f0
mov ecx, dword [edi + 0x1c]
mov byte [esp + 0xbc], 7
push ecx
mov ecx, esi
call fcn.004d3b90
jmp 0x4dd0b1
xor eax, eax
cmp eax, ebx
mov byte [esp + 0xa4], 2
je 0x4dd0f7
cmp dword [eax], ebx
je 0x4dd0d2
mov edx, dword [esp + 0xb0]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [eax], ebx
mov dword [edi], ecx
jmp 0x4dd0e3
mov ecx, dword [esp + 0xb0]
mov edx, dword [ecx]
mov dword [eax + 0x274], edx
mov dword [ecx], eax
lea ecx, [esp + 0x4c]
inc ebp
call fcn.00521270
cmp ebp, eax
jb 0x4dd037
jmp 0x4dd0fd
mov dword [edi], 0xbb8
lea ecx, [esp + 0x38]
mov byte [esp + 0xa4], 1
call fcn.0046f4f0
lea ecx, [esp + 0x64]
mov byte [esp + 0xa4], bl
call fcn.0046f260
lea ecx, [esp + 0x4c]
mov dword [esp + 0xa4], 0xffffffff
call fcn.0046f4f0
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x98
ret 8