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

Disassembly:
sub esp, 0xc4
mov eax, dword [0x63727c]
xor eax, esp
mov dword [esp + 0xc0], eax
push ebx
push ebp
mov ebp, dword [esp + 0xd0]
push esi
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x64]
push edi
xor edi, edi
lea ebx, [edi + 1]
cmp dword [eax + 0xb0], ebx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x34], esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], 0x64
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edi
mov byte [esp + 0x24], 0
mov byte [esp + 0x25], 0
jle 0x4d5e75
mov al, byte [ebp]
test al, al
je 0x4d6002
jmp 0x4d5dda
mov ecx, dword [esp + 0x14]
mov esi, ebp
lea esp, [esp]
inc ebp
cmp al, 0xa
je 0x4d5dec
mov al, byte [ebp]
test al, al
jne 0x4d5de0
add edi, 3
cmp edi, dword [esp + 0x18]
jb 0x4d5e11
push 0x5f08e0
mov eax, 3
lea ecx, [esp + 0x14]
call fcn.004c3ce0
mov edi, dword [esp + 0x24]
add esp, 4
jmp 0x4d5e2a
mov ax, word [0x5f08e0]
mov word [edi + ecx - 3], ax
mov dl, byte [0x5f08e2]
mov dword [esp + 0x20], edi
mov byte [edi + ecx - 1], dl
mov eax, ebp
sub eax, esi
lea ecx, [edi + eax]
cmp ecx, dword [esp + 0x18]
jb 0x4d5e4a
push esi
lea ecx, [esp + 0x14]
call fcn.004c3ce0
mov edi, dword [esp + 0x24]
add esp, 4
jmp 0x4d5e65
test eax, eax
je 0x4d5e65
mov edi, ecx
push eax
sub ecx, eax
add ecx, dword [esp + 0x18]
push esi
push ecx
mov dword [esp + 0x2c], edi
call fcn.00588f30
add esp, 0xc
mov al, byte [ebp]
test al, al
jne 0x4d5dd6
jmp 0x4d5fde
cmp word [esi + 0x10], di
jne 0x4d5eae
cmp ebp, edi
jne 0x4d5e83
xor eax, eax
jmp 0x4d5e96
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4d5e88
sub eax, edx
and eax, 0x3fffffff
push eax
lea edx, [esp + 0x14]
push ebp
push edx
call fcn.004c3d10
mov edi, dword [esp + 0x2c]
add esp, 0xc
jmp 0x4d5fde
cmp byte [ebp], 0
je 0x4d6002
jmp 0x4d5ec4
mov ebx, dword [esp + 0x3c]
lea eax, [esp + 0x38]
push eax
mov eax, ebp
call fcn.004c07b0
mov esi, eax
lea eax, [edi + esi]
add esp, 4
cmp eax, dword [esp + 0x18]
jb 0x4d5ef3
push ebp
mov eax, esi
lea ecx, [esp + 0x14]
call fcn.004c3ce0
mov edi, dword [esp + 0x24]
add esp, 4
jmp 0x4d5f10
test esi, esi
je 0x4d5f10
mov edi, eax
mov ecx, edi
sub ecx, esi
add ecx, dword [esp + 0x14]
push esi
push ebp
push ecx
mov dword [esp + 0x2c], edi
call fcn.00588f30
add esp, 0xc
add ebp, esi
mov esi, dword [esp + 0x38]
test esi, esi
je 0x4d5fde
cmp byte [ebp], 0x3f
jne 0x4d5f44
cmp esi, 1
jle 0x4d5f40
lea edx, [esp + 0x28]
push edx
lea eax, [ebp + 1]
push eax
call fcn.004bc510
mov eax, dword [esp + 0x30]
add esp, 8
jmp 0x4d5f5a
mov eax, ebx
jmp 0x4d5f56
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + 0x78]
push esi
push ebp
push edx
call fcn.004ae070
add esp, 0xc
mov dword [esp + 0x28], eax
lea ecx, [eax + 1]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x34]
add ebp, esi
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax + 0x74]
movzx eax, word [ecx + edx*8 - 0x20]
lea esi, [ecx + edx*8 - 0x28]
mov dword [esp + 0x30], ebp
test al, 1
je 0x4d5fb3
add edi, 4
cmp edi, dword [esp + 0x18]
jb 0x4d5f9f
push str.NULL
mov eax, 4
lea ecx, [esp + 0x14]
call fcn.004c3ce0
add esp, 4
jmp 0x4d5fd0
mov edx, dword [str.NULL]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], edi
mov dword [edi + eax - 4], edx
jmp 0x4d5fd4
test al, 4
je 0x4d602a
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push ecx
push edx
push str._lld
lea eax, [esp + 0x1c]
push eax
call fcn.004d3390
add esp, 0x10
mov edi, dword [esp + 0x20]
cmp byte [ebp], 0
jne 0x4d5ec0
cmp byte [esp + 0x24], 0
je 0x4d5ff6
lea ecx, [esp + 0x10]
push ecx
call fcn.004acd70
mov edi, dword [esp + 0x24]
add esp, 4
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4d61bb
cmp dword [esp + 0x1c], 0
mov byte [edi + ecx], 0
jbe 0x4d61bb
test byte [esp + 0x25], 4
jne 0x4d61bb
lea esi, [esp + 0x10]
call fcn.004c3db0
jmp 0x4d61bd
test al, 8
je 0x4d6042
fld qword [esi]
sub esp, 8
fstp qword [esp]
push str.__.15g
lea ecx, [esp + 0x1c]
push ecx
jmp 0x4d5fc8
test al, 2
je 0x4d60f8
mov edx, dword [esp + 0x2c]
mov bl, byte [edx + 0x46]
mov byte [esp + 0x40], bl
cmp bl, 1
je 0x4d60c7
mov ecx, dword [esp + 0x40]
xor eax, eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x68], eax
mov eax, edx
mov dword [esp + 0x64], eax
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0xc]
push 0
push ecx
push edx
lea ecx, [esp + 0x50]
call fcn.004cf5b0
add esp, 0xc
mov ecx, 1
lea eax, [esp + 0x44]
call fcn.004cf4c0
cmp eax, 7
jne 0x4d60c3
mov byte [esp + 0x24], al
mov dword [esp + 0x18], 0
lea esi, [esp + 0x44]
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
push eax
push ecx
lea edx, [esp + 0x18]
push str._.q
push edx
call fcn.004d3390
add esp, 0x10
cmp bl, 1
je 0x4d5fd0
lea eax, [esp + 0x44]
call fcn.004b3160
jmp 0x4d5fd0
test eax, 0x4000
je 0x4d6119
mov eax, dword [esi]
push eax
lea ecx, [esp + 0x14]
push str.zeroblob__d_
push ecx
call fcn.004d3390
add esp, 0xc
jmp 0x4d5fd0
lea eax, [edi + 2]
cmp eax, dword [esp + 0x18]
jb 0x4d613a
push 0x5f08c4
mov eax, 2
lea ecx, [esp + 0x14]
call fcn.004c3ce0
add esp, 4
jmp 0x4d614e
mov dx, word [0x5f08c4]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x20], eax
mov word [eax + ecx - 2], dx
mov ebp, dword [esi + 0xc]
xor edi, edi
test ebp, ebp
jle 0x4d6176
mov edx, dword [esi + 0x10]
movzx eax, byte [edx + edi]
push eax
lea ecx, [esp + 0x14]
push str._02x
push ecx
call fcn.004d3390
inc edi
add esp, 0xc
cmp edi, ebp
jl 0x4d6157
mov edi, dword [esp + 0x20]
inc edi
cmp edi, dword [esp + 0x18]
jb 0x4d61a0
push 0x5e354c
mov eax, 1
lea ecx, [esp + 0x14]
call fcn.004c3ce0
mov ebp, dword [esp + 0x34]
add esp, 4
jmp 0x4d5fd0
mov dl, byte [0x5e354c]
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x20], edi
mov byte [edi + eax - 1], dl
jmp 0x4d5fd4
mov eax, ecx
mov ecx, dword [esp + 0xd0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00584447
add esp, 0xc4
ret