Function at 0x4d5ba0
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 0x4d5cb5
mov al, byte [ebp]
test al, al
je 0x4d5e42
jmp 0x4d5c1a
mov ecx, dword [esp + 0x14]
mov esi, ebp
lea esp, [esp]
inc ebp
cmp al, 0xa
je 0x4d5c2c
mov al, byte [ebp]
test al, al
jne 0x4d5c20
add edi, 3
cmp edi, dword [esp + 0x18]
jb 0x4d5c51
push 0x5f09a0
mov eax, 3
lea ecx, [esp + 0x14]
call fcn.004c3b30
mov edi, dword [esp + 0x24]
add esp, 4
jmp 0x4d5c6a
mov ax, word [0x5f09a0]
mov word [edi + ecx - 3], ax
mov dl, byte [0x5f09a2]
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 0x4d5c8a
push esi
lea ecx, [esp + 0x14]
call fcn.004c3b30
mov edi, dword [esp + 0x24]
add esp, 4
jmp 0x4d5ca5
test eax, eax
je 0x4d5ca5
mov edi, ecx
push eax
sub ecx, eax
add ecx, dword [esp + 0x18]
push esi
push ecx
mov dword [esp + 0x2c], edi
call fcn.00588d50
add esp, 0xc
mov al, byte [ebp]
test al, al
jne 0x4d5c16
jmp 0x4d5e1e
cmp word [esi + 0x10], di
jne 0x4d5cee
cmp ebp, edi
jne 0x4d5cc3
xor eax, eax
jmp 0x4d5cd6
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4d5cc8
sub eax, edx
and eax, 0x3fffffff
push eax
lea edx, [esp + 0x14]
push ebp
push edx
call fcn.004c3b60
mov edi, dword [esp + 0x2c]
add esp, 0xc
jmp 0x4d5e1e
cmp byte [ebp], 0
je 0x4d5e42
jmp 0x4d5d04
mov ebx, dword [esp + 0x3c]
lea eax, [esp + 0x38]
push eax
mov eax, ebp
call fcn.004c0600
mov esi, eax
lea eax, [edi + esi]
add esp, 4
cmp eax, dword [esp + 0x18]
jb 0x4d5d33
push ebp
mov eax, esi
lea ecx, [esp + 0x14]
call fcn.004c3b30
mov edi, dword [esp + 0x24]
add esp, 4
jmp 0x4d5d50
test esi, esi
je 0x4d5d50
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.00588d50
add esp, 0xc
add ebp, esi
mov esi, dword [esp + 0x38]
test esi, esi
je 0x4d5e1e
cmp byte [ebp], 0x3f
jne 0x4d5d84
cmp esi, 1
jle 0x4d5d80
lea edx, [esp + 0x28]
push edx
lea eax, [ebp + 1]
push eax
call fcn.004bc360
mov eax, dword [esp + 0x30]
add esp, 8
jmp 0x4d5d9a
mov eax, ebx
jmp 0x4d5d96
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + 0x78]
push esi
push ebp
push edx
call fcn.004adeb0
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 0x4d5df3
add edi, 4
cmp edi, dword [esp + 0x18]
jb 0x4d5ddf
push str.NULL
mov eax, 4
lea ecx, [esp + 0x14]
call fcn.004c3b30
add esp, 4
jmp 0x4d5e10
mov edx, dword [str.NULL]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], edi
mov dword [edi + eax - 4], edx
jmp 0x4d5e14
test al, 4
je 0x4d5e6a
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push ecx
push edx
push str._lld
lea eax, [esp + 0x1c]
push eax
call fcn.004d31d0
add esp, 0x10
mov edi, dword [esp + 0x20]
cmp byte [ebp], 0
jne 0x4d5d00
cmp byte [esp + 0x24], 0
je 0x4d5e36
lea ecx, [esp + 0x10]
push ecx
call fcn.004acbb0
mov edi, dword [esp + 0x24]
add esp, 4
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4d5ffb
cmp dword [esp + 0x1c], 0
mov byte [edi + ecx], 0
jbe 0x4d5ffb
test byte [esp + 0x25], 4
jne 0x4d5ffb
lea esi, [esp + 0x10]
call fcn.004c3c00
jmp 0x4d5ffd
test al, 8
je 0x4d5e82
fld qword [esi]
sub esp, 8
fstp qword [esp]
push str.__.15g
lea ecx, [esp + 0x1c]
push ecx
jmp 0x4d5e08
test al, 2
je 0x4d5f38
mov edx, dword [esp + 0x2c]
mov bl, byte [edx + 0x46]
mov byte [esp + 0x40], bl
cmp bl, 1
je 0x4d5f07
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.004cf3f0
add esp, 0xc
mov ecx, 1
lea eax, [esp + 0x44]
call fcn.004cf300
cmp eax, 7
jne 0x4d5f03
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.004d31d0
add esp, 0x10
cmp bl, 1
je 0x4d5e10
lea eax, [esp + 0x44]
call fcn.004b2fa0
jmp 0x4d5e10
test eax, 0x4000
je 0x4d5f59
mov eax, dword [esi]
push eax
lea ecx, [esp + 0x14]
push str.zeroblob__d_
push ecx
call fcn.004d31d0
add esp, 0xc
jmp 0x4d5e10
lea eax, [edi + 2]
cmp eax, dword [esp + 0x18]
jb 0x4d5f7a
push 0x5f0984
mov eax, 2
lea ecx, [esp + 0x14]
call fcn.004c3b30
add esp, 4
jmp 0x4d5f8e
mov dx, word [0x5f0984]
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 0x4d5fb6
mov edx, dword [esi + 0x10]
movzx eax, byte [edx + edi]
push eax
lea ecx, [esp + 0x14]
push str._02x
push ecx
call fcn.004d31d0
inc edi
add esp, 0xc
cmp edi, ebp
jl 0x4d5f97
mov edi, dword [esp + 0x20]
inc edi
cmp edi, dword [esp + 0x18]
jb 0x4d5fe0
push 0x5e360c
mov eax, 1
lea ecx, [esp + 0x14]
call fcn.004c3b30
mov ebp, dword [esp + 0x34]
add esp, 4
jmp 0x4d5e10
mov dl, byte [0x5e360c]
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x20], edi
mov byte [edi + eax - 1], dl
jmp 0x4d5e14
mov eax, ecx
mov ecx, dword [esp + 0xd0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00584267
add esp, 0xc4
ret