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

Disassembly:
sub esp, 0x58
push ebx
mov ebx, dword [esp + 0x60]
xor ecx, ecx
push esi
mov edx, 1
mov dword [esp + 0xc], 0
push edi
mov esi, dword [ebx]
mov dword [esp + 0xc], edx
mov dword [esp + 0x20], esi
mov eax, dword [esi + 0x78]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov word [esp + 0x38], cx
cmp dword [esi + 0xc8], edx
jle 0x4d03f2
mov esi, dword [esp + 0x6c]
mov al, byte [esi]
test al, al
je 0x4d0867
nop dword [eax]
mov edi, esi
inc esi
cmp al, 0xa
je 0x4d036d
mov al, byte [esi]
test al, al
jne 0x4d0362
mov edx, dword [esp + 0x34]
add edx, 3
cmp edx, dword [esp + 0x2c]
jb 0x4d0390
push 3
lea eax, [esp + 0x28]
push 0x535540
push eax
call fcn.0046ac00
add esp, 0xc
jmp 0x4d03a8
mov ax, word [0x535540]
mov dword [esp + 0x34], edx
mov word [edx + ecx - 3], ax
mov al, byte [0x535542]
mov byte [edx + ecx - 1], al
mov eax, dword [esp + 0x34]
mov ecx, esi
sub ecx, edi
add eax, ecx
cmp eax, dword [esp + 0x2c]
jb 0x4d03c6
push ecx
lea eax, [esp + 0x28]
push edi
push eax
call fcn.0046ac00
jmp 0x4d03dc
test ecx, ecx
je 0x4d03df
mov dword [esp + 0x34], eax
sub eax, ecx
add eax, dword [esp + 0x28]
push ecx
push edi
push eax
call fcn.004fd090
add esp, 0xc
mov al, byte [esi]
test al, al
je 0x4d0733
mov ecx, dword [esp + 0x28]
jmp 0x4d0360
cmp word [ebx + 0x10], cx
jne 0x4d0443
mov edx, dword [esp + 0x6c]
test edx, edx
jne 0x4d0416
xor ecx, ecx
lea eax, [esp + 0x24]
push ecx
push edx
push eax
call fcn.0046ac00
add esp, 0xc
jmp 0x4d0733
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4d0420
sub ecx, esi
lea eax, [esp + 0x24]
and ecx, 0x3fffffff
push ecx
push edx
push eax
call fcn.0046ac00
add esp, 0xc
jmp 0x4d0733
mov ebx, dword [esp + 0x6c]
cmp byte [ebx], cl
je 0x4d0867
push ebp
xor edi, edi
mov dword [esp + 0x20], edx
mov esi, ebx
xor ebp, ebp
nop word [eax + eax]
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.004ac950
add esp, 8
cmp dword [esp + 0x1c], 0x9c
je 0x4d0483
add esi, eax
add edi, eax
cmp byte [esi], 0
jne 0x4d0460
jmp 0x4d0485
mov ebp, eax
mov eax, dword [esp + 0x38]
add eax, edi
cmp eax, dword [esp + 0x30]
jb 0x4d049f
push edi
lea eax, [esp + 0x2c]
push ebx
push eax
call fcn.0046ac00
jmp 0x4d04b5
test edi, edi
je 0x4d04b8
mov dword [esp + 0x38], eax
sub eax, edi
add eax, dword [esp + 0x2c]
push edi
push ebx
push eax
call fcn.004fd090
add esp, 0xc
add ebx, edi
test ebp, ebp
je 0x4d0732
cmp byte [ebx], 0x3f
jne 0x4d04e9
cmp ebp, 1
jle 0x4d04e3
lea eax, [esp + 0x14]
push eax
lea eax, [ebx + 1]
push eax
call fcn.004ac740
mov eax, dword [esp + 0x1c]
add esp, 8
jmp 0x4d0501
mov eax, dword [esp + 0x10]
jmp 0x4d04fd
mov eax, dword [esp + 0x6c]
push ebp
push ebx
push dword [eax + 0x80]
call fcn.004c6a10
add esp, 0xc
mov dword [esp + 0x14], eax
lea edx, [eax + 1]
add ebx, ebp
cmp edx, dword [esp + 0x20]
lea edi, [eax + eax*4]
mov eax, dword [esp + 0x6c]
lea edi, [edi - 5]
cmovle edx, dword [esp + 0x20]
mov dword [esp + 0x10], edx
mov eax, dword [eax + 0x64]
lea edi, [eax + edi*8]
movzx eax, word [edi + 0x10]
test al, 1
je 0x4d0566
mov ecx, dword [esp + 0x38]
add ecx, 4
cmp ecx, dword [esp + 0x30]
jb 0x4d0551
push 4
lea eax, [esp + 0x2c]
push str.NULL
push eax
call fcn.0046ac00
add esp, 0xc
jmp 0x4d0725
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x38], ecx
mov dword [ecx + eax - 4], 0x4c4c554e
jmp 0x4d0729
test al, 0x24
je 0x4d0586
push dword [edi + 4]
lea eax, [esp + 0x2c]
push dword [edi]
push str._lld
push eax
call fcn.004577c0
add esp, 0x10
jmp 0x4d0725
test al, 8
je 0x4d05ad
movsd xmm0, qword [edi]
lea eax, [esp + 0x28]
sub esp, 8
movsd qword [esp], xmm0
push str.__.15g
push eax
call fcn.004577c0
add esp, 0x10
jmp 0x4d0725
test al, 2
je 0x4d067a
mov ecx, dword [esp + 0x24]
mov al, byte [ecx + 0x54]
mov byte [esp + 0x18], al
cmp al, 1
je 0x4d0630
xorps xmm0, xmm0
movups xmmword [esp + 0x50], xmm0
push 0
push dword [esp + 0x1c]
movups xmmword [esp + 0x48], xmm0
mov dword [esp + 0x5c], ecx
movq qword [esp + 0x68], xmm0
mov eax, dword [edi + 0xc]
cdq
push edx
push eax
push dword [edi + 8]
lea eax, [esp + 0x54]
push eax
call fcn.004d2070
add esp, 0x18
test byte [esp + 0x50], 2
jne 0x4d0605
mov byte [esp + 0x52], 1
jmp 0x4d062c
cmp byte [esp + 0x52], 1
je 0x4d062c
lea eax, [esp + 0x40]
push 1
push eax
call fcn.004d2480
add esp, 8
cmp eax, 7
jne 0x4d062c
mov byte [esp + 0x3c], al
mov dword [esp + 0x30], 0
lea edi, [esp + 0x40]
push dword [edi + 8]
lea eax, [esp + 0x2c]
push dword [edi + 0xc]
push str._.q
push eax
call fcn.004577c0
add esp, 0x10
cmp byte [esp + 0x18], 1
je 0x4d0725
test dword [esp + 0x50], 0x9000
jne 0x4d0668
cmp dword [esp + 0x58], 0
je 0x4d0725
lea eax, [esp + 0x40]
push eax
call fcn.004e4210
add esp, 4
jmp 0x4d0725
test eax, 0x400
je 0x4d069a
push dword [edi]
lea eax, [esp + 0x2c]
push str.zeroblob__d_
push eax
call fcn.004577c0
add esp, 0xc
jmp 0x4d0725
mov ecx, dword [esp + 0x38]
add ecx, 2
cmp ecx, dword [esp + 0x30]
jb 0x4d06bd
push 2
lea eax, [esp + 0x2c]
push 0x53555c
push eax
call fcn.0046ac00
add esp, 0xc
jmp 0x4d06cf
mov eax, dword [esp + 0x2c]
mov edx, 0x2778
mov dword [esp + 0x38], ecx
mov word [ecx + eax - 2], dx
mov ebp, dword [edi + 0xc]
xor esi, esi
test ebp, ebp
jle 0x4d06f7
mov eax, dword [edi + 8]
movzx eax, byte [esi + eax]
push eax
lea eax, [esp + 0x2c]
push str._02x
push eax
call fcn.004577c0
inc esi
add esp, 0xc
cmp esi, ebp
jl 0x4d06d8
mov ecx, dword [esp + 0x38]
inc ecx
cmp ecx, dword [esp + 0x30]
jb 0x4d0718
push 1
lea eax, [esp + 0x2c]
push 0x564ff0
push eax
call fcn.0046ac00
add esp, 0xc
jmp 0x4d0725
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x38], ecx
mov byte [ecx + eax - 1], 0x27
mov edx, dword [esp + 0x10]
cmp byte [ebx], 0
jne 0x4d0450
pop ebp
cmp byte [esp + 0x38], 0
je 0x4d0831
test byte [esp + 0x39], 4
je 0x4d0826
mov esi, dword [esp + 0x28]
test esi, esi
je 0x4d0826
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x4d07c5
cmp esi, dword [ecx + 0x164]
jae 0x4d07a7
cmp esi, dword [ecx + 0x15c]
jb 0x4d0786
mov eax, dword [ecx + 0x158]
mov dword [esi], eax
pop edi
mov dword [ecx + 0x158], esi
xor ecx, ecx
pop esi
mov eax, ecx
pop ebx
add esp, 0x58
ret
cmp esi, dword [ecx + 0x160]
jb 0x4d07a7
mov eax, dword [ecx + 0x150]
mov dword [esi], eax
pop edi
mov dword [ecx + 0x150], esi
xor ecx, ecx
pop esi
mov eax, ecx
pop ebx
add esp, 0x58
ret
cmp dword [ecx + 0x210], 0
je 0x4d07c5
push esi
push ecx
call fcn.0047fe10
add esp, 8
xor ecx, ecx
mov eax, ecx
pop edi
pop esi
pop ebx
add esp, 0x58
ret
cmp dword [0x56f0f8], 0
je 0x4d081c
mov eax, dword [0x574ff8]
test eax, eax
je 0x4d07e1
push eax
call dword [0x56f148]
add esp, 4
push esi
call dword [0x56f124]
sub dword [0x574f98], eax
dec dword [0x574fbc]
push esi
call dword [0x56f11c]
mov eax, dword [0x574ff8]
add esp, 8
test eax, eax
je 0x4d0826
push eax
call dword [0x56f150]
add esp, 4
xor ecx, ecx
mov eax, ecx
pop edi
pop esi
pop ebx
add esp, 0x58
ret
push esi
call dword [0x56f11c]
add esp, 4
pop edi
xor ecx, ecx
pop esi
mov eax, ecx
pop ebx
add esp, 0x58
ret
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x4d0867
mov eax, dword [esp + 0x34]
mov byte [eax + ecx], 0
cmp dword [esp + 0x30], 0
jbe 0x4d0863
test byte [esp + 0x39], 4
jne 0x4d0863
lea eax, [esp + 0x24]
push eax
call fcn.004df2a0
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0x58
ret
mov ecx, dword [esp + 0x28]
pop edi
pop esi
mov eax, ecx
pop ebx
add esp, 0x58
ret