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

Disassembly:
sub esp, 0x54
push ebx
mov ebx, dword [esp + 0x5c]
xor ecx, ecx
push esi
push edi
mov dword [esp + 0xc], 0
mov edx, dword [ebx]
mov dword [esp + 0x10], 1
mov dword [esp + 0x1c], edx
mov eax, dword [edx + 0x78]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov word [esp + 0x34], cx
cmp dword [edx + 0xc8], 1
jle 0x507694
mov esi, dword [esp + 0x68]
mov al, byte [esi]
test al, al
je 0x507a2b
nop dword [eax]
mov edi, esi
inc esi
cmp al, 0xa
je 0x50760d
mov al, byte [esi]
test al, al
jne 0x507602
mov edx, dword [esp + 0x30]
add edx, 3
cmp edx, dword [esp + 0x28]
jb 0x507630
push 3
lea eax, [esp + 0x24]
push 0x5755f8
push eax
call fcn.004a59d0
add esp, 0xc
jmp 0x507648
mov ax, word [0x5755f8]
mov dword [esp + 0x30], edx
mov word [edx + ecx - 3], ax
mov al, byte [0x5755fa]
mov byte [edx + ecx - 1], al
mov edx, dword [esp + 0x30]
mov ecx, esi
sub ecx, edi
add edx, ecx
cmp edx, dword [esp + 0x28]
jb 0x507666
push ecx
lea eax, [esp + 0x24]
push edi
push eax
call fcn.004a59d0
jmp 0x50767e
test ecx, ecx
je 0x507681
mov eax, dword [esp + 0x24]
push ecx
sub eax, ecx
mov dword [esp + 0x34], edx
add eax, edx
push edi
push eax
call fcn.00532150
add esp, 0xc
mov al, byte [esi]
test al, al
je 0x5079c7
mov ecx, dword [esp + 0x24]
jmp 0x507600
cmp word [ebx + 0x10], cx
jne 0x5076e3
mov edx, dword [esp + 0x68]
test edx, edx
jne 0x5076b8
xor ecx, ecx
lea eax, [esp + 0x20]
push ecx
push edx
push eax
call fcn.004a59d0
add esp, 0xc
jmp 0x5079c7
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5076c0
sub ecx, esi
lea eax, [esp + 0x20]
and ecx, 0x3fffffff
push ecx
push edx
push eax
call fcn.004a59d0
add esp, 0xc
jmp 0x5079c7
mov ebx, dword [esp + 0x68]
cmp byte [ebx], cl
je 0x507a2b
push ebp
xor edi, edi
mov esi, ebx
xor ebp, ebp
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.004e3e20
add esp, 8
cmp dword [esp + 0x1c], 0x9c
je 0x507719
add esi, eax
add edi, eax
cmp byte [esi], 0
jne 0x5076f6
jmp 0x50771b
mov ebp, eax
mov ecx, dword [esp + 0x34]
add ecx, edi
cmp ecx, dword [esp + 0x2c]
jb 0x507735
push edi
lea eax, [esp + 0x28]
push ebx
push eax
call fcn.004a59d0
jmp 0x50774d
test edi, edi
je 0x507750
mov eax, dword [esp + 0x28]
push edi
sub eax, edi
mov dword [esp + 0x38], ecx
add eax, ecx
push ebx
push eax
call fcn.00532150
add esp, 0xc
add ebx, edi
test ebp, ebp
je 0x5079c6
cmp byte [ebx], 0x3f
jne 0x507781
cmp ebp, 1
jle 0x50777b
lea eax, [esp + 0x10]
push eax
lea eax, [ebx + 1]
push eax
call fcn.004e3c10
mov eax, dword [esp + 0x18]
add esp, 8
jmp 0x507799
mov eax, dword [esp + 0x14]
jmp 0x507795
mov eax, dword [esp + 0x68]
push ebp
push ebx
push dword [eax + 0x80]
call fcn.004fdc40
add esp, 0xc
mov dword [esp + 0x10], eax
lea ecx, [eax + 1]
add ebx, ebp
mov ebp, dword [esp + 0x14]
lea edi, [eax + eax*4]
mov eax, dword [esp + 0x68]
lea edi, [edi - 5]
cmp ecx, ebp
cmovg ebp, ecx
mov eax, dword [eax + 0x64]
mov dword [esp + 0x14], ebp
lea edi, [eax + edi*8]
movzx eax, word [edi + 0x10]
test al, 1
je 0x5077fe
mov ecx, dword [esp + 0x34]
add ecx, 4
cmp ecx, dword [esp + 0x2c]
jb 0x5077e9
push 4
lea eax, [esp + 0x28]
push str.NULL
push eax
call fcn.004a59d0
add esp, 0xc
jmp 0x5079bd
mov eax, dword [esp + 0x28]
mov dword [esp + 0x34], ecx
mov dword [eax + ecx - 4], 0x4c4c554e
jmp 0x5079bd
test al, 0x24
je 0x50781e
push dword [edi + 4]
lea eax, [esp + 0x28]
push dword [edi]
push str._lld
push eax
call fcn.00481110
add esp, 0x10
jmp 0x5079bd
test al, 8
je 0x507845
movsd xmm0, qword [edi]
lea eax, [esp + 0x24]
sub esp, 8
movsd qword [esp], xmm0
push str.__.15g
push eax
call fcn.00481110
add esp, 0x10
jmp 0x5079bd
test al, 2
je 0x507912
mov ecx, dword [esp + 0x20]
mov al, byte [ecx + 0x54]
mov byte [esp + 0x18], al
cmp al, 1
je 0x5078c8
xorps xmm0, xmm0
movups xmmword [esp + 0x4c], xmm0
push 0
push dword [esp + 0x1c]
movups xmmword [esp + 0x44], xmm0
mov dword [esp + 0x58], ecx
movq qword [esp + 0x64], xmm0
mov eax, dword [edi + 0xc]
cdq
push edx
push eax
push dword [edi + 8]
lea eax, [esp + 0x50]
push eax
call fcn.005092a0
add esp, 0x18
test byte [esp + 0x4c], 2
jne 0x50789d
mov byte [esp + 0x4e], 1
jmp 0x5078c4
cmp byte [esp + 0x4e], 1
je 0x5078c4
lea eax, [esp + 0x3c]
push 1
push eax
call fcn.005096b0
add esp, 8
cmp eax, 7
jne 0x5078c4
mov byte [esp + 0x38], al
mov dword [esp + 0x2c], 0
lea edi, [esp + 0x3c]
push dword [edi + 8]
lea eax, [esp + 0x28]
push dword [edi + 0xc]
push str._.q
push eax
call fcn.00481110
add esp, 0x10
cmp byte [esp + 0x18], 1
je 0x5079bd
test dword [esp + 0x4c], 0x9000
jne 0x507900
cmp dword [esp + 0x54], 0
je 0x5079bd
lea eax, [esp + 0x3c]
push eax
call fcn.00519f80
add esp, 4
jmp 0x5079bd
test eax, 0x400
je 0x507932
push dword [edi]
lea eax, [esp + 0x28]
push str.zeroblob__d_
push eax
call fcn.00481110
add esp, 0xc
jmp 0x5079bd
mov ecx, dword [esp + 0x34]
add ecx, 2
cmp ecx, dword [esp + 0x2c]
jb 0x507955
push 2
lea eax, [esp + 0x28]
push 0x575614
push eax
call fcn.004a59d0
add esp, 0xc
jmp 0x507967
mov eax, dword [esp + 0x28]
mov edx, 0x2778
mov dword [esp + 0x34], ecx
mov word [ecx + eax - 2], dx
mov ebp, dword [edi + 0xc]
xor esi, esi
test ebp, ebp
jle 0x50798f
mov eax, dword [edi + 8]
movzx eax, byte [eax + esi]
push eax
lea eax, [esp + 0x28]
push str._02x
push eax
call fcn.00481110
inc esi
add esp, 0xc
cmp esi, ebp
jl 0x507970
mov ecx, dword [esp + 0x34]
inc ecx
cmp ecx, dword [esp + 0x2c]
jb 0x5079b0
push 1
lea eax, [esp + 0x28]
push 0x575618
push eax
call fcn.004a59d0
add esp, 0xc
jmp 0x5079bd
mov eax, dword [esp + 0x28]
mov dword [esp + 0x34], ecx
mov byte [eax + ecx - 1], 0x27
cmp byte [ebx], 0
jne 0x5076f0
pop ebp
cmp byte [esp + 0x34], 0
je 0x5079f5
test byte [esp + 0x35], 4
je 0x5079ea
mov eax, dword [esp + 0x24]
test eax, eax
je 0x5079ea
push eax
push dword [esp + 0x24]
call fcn.004d5a50
add esp, 8
pop edi
xor ecx, ecx
pop esi
mov eax, ecx
pop ebx
add esp, 0x54
ret
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x507a2b
mov eax, dword [esp + 0x30]
mov byte [eax + ecx], 0
cmp dword [esp + 0x2c], 0
jbe 0x507a27
test byte [esp + 0x35], 4
jne 0x507a27
lea eax, [esp + 0x20]
push eax
call fcn.00515c30
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0x54
ret
mov ecx, dword [esp + 0x24]
pop edi
pop esi
mov eax, ecx
pop ebx
add esp, 0x54
ret