Function at 0x534a30
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 0x534b24
mov esi, dword [esp + 0x68]
mov al, byte [esi]
test al, al
je 0x534ebb
nop dword [eax]
mov edi, esi
inc esi
cmp al, 0xa
je 0x534a9d
mov al, byte [esi]
test al, al
jne 0x534a92
mov edx, dword [esp + 0x30]
add edx, 3
cmp edx, dword [esp + 0x28]
jb 0x534ac0
push 3
lea eax, [esp + 0x24]
push 0x6ecea0
push eax
call fcn.004d2eb0
add esp, 0xc
jmp 0x534ad8
mov ax, word [0x6ecea0]
mov dword [esp + 0x30], edx
mov word [edx + ecx - 3], ax
mov al, byte [0x6ecea2]
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 0x534af6
push ecx
lea eax, [esp + 0x24]
push edi
push eax
call fcn.004d2eb0
jmp 0x534b0e
test ecx, ecx
je 0x534b11
mov eax, dword [esp + 0x24]
push ecx
sub eax, ecx
mov dword [esp + 0x34], edx
add eax, edx
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov al, byte [esi]
test al, al
je 0x534e57
mov ecx, dword [esp + 0x24]
jmp 0x534a90
cmp word [ebx + 0x10], cx
jne 0x534b73
mov edx, dword [esp + 0x68]
test edx, edx
jne 0x534b48
xor ecx, ecx
lea eax, [esp + 0x20]
push ecx
push edx
push eax
call fcn.004d2eb0
add esp, 0xc
jmp 0x534e57
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x534b50
sub ecx, esi
lea eax, [esp + 0x20]
and ecx, 0x3fffffff
push ecx
push edx
push eax
call fcn.004d2eb0
add esp, 0xc
jmp 0x534e57
mov ebx, dword [esp + 0x68]
cmp byte [ebx], cl
je 0x534ebb
push ebp
xor edi, edi
mov esi, ebx
xor ebp, ebp
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.005112e0
add esp, 8
cmp dword [esp + 0x1c], 0x9c
je 0x534ba9
add esi, eax
add edi, eax
cmp byte [esi], 0
jne 0x534b86
jmp 0x534bab
mov ebp, eax
mov ecx, dword [esp + 0x34]
add ecx, edi
cmp ecx, dword [esp + 0x2c]
jb 0x534bc5
push edi
lea eax, [esp + 0x28]
push ebx
push eax
call fcn.004d2eb0
jmp 0x534bdd
test edi, edi
je 0x534be0
mov eax, dword [esp + 0x28]
push edi
sub eax, edi
mov dword [esp + 0x38], ecx
add eax, ecx
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
add ebx, edi
test ebp, ebp
je 0x534e56
cmp byte [ebx], 0x3f
jne 0x534c11
cmp ebp, 1
jle 0x534c0b
lea eax, [esp + 0x10]
push eax
lea eax, [ebx + 1]
push eax
call fcn.005110d0
mov eax, dword [esp + 0x18]
add esp, 8
jmp 0x534c29
mov eax, dword [esp + 0x14]
jmp 0x534c25
mov eax, dword [esp + 0x68]
push ebp
push ebx
push dword [eax + 0x80]
call fcn.0052b0d0
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 0x534c8e
mov ecx, dword [esp + 0x34]
add ecx, 4
cmp ecx, dword [esp + 0x2c]
jb 0x534c79
push 4
lea eax, [esp + 0x28]
push str.NULL
push eax
call fcn.004d2eb0
add esp, 0xc
jmp 0x534e4d
mov eax, dword [esp + 0x28]
mov dword [esp + 0x34], ecx
mov dword [eax + ecx - 4], 0x4c4c554e
jmp 0x534e4d
test al, 0x24
je 0x534cae
push dword [edi + 4]
lea eax, [esp + 0x28]
push dword [edi]
push str._lld
push eax
call fcn.004ae6d0
add esp, 0x10
jmp 0x534e4d
test al, 8
je 0x534cd5
movsd xmm0, qword [edi]
lea eax, [esp + 0x24]
sub esp, 8
movsd qword [esp], xmm0
push str.__.15g
push eax
call fcn.004ae6d0
add esp, 0x10
jmp 0x534e4d
test al, 2
je 0x534da2
mov ecx, dword [esp + 0x20]
mov al, byte [ecx + 0x54]
mov byte [esp + 0x18], al
cmp al, 1
je 0x534d58
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.00536730
add esp, 0x18
test byte [esp + 0x4c], 2
jne 0x534d2d
mov byte [esp + 0x4e], 1
jmp 0x534d54
cmp byte [esp + 0x4e], 1
je 0x534d54
lea eax, [esp + 0x3c]
push 1
push eax
call fcn.00536b40
add esp, 8
cmp eax, 7
jne 0x534d54
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.004ae6d0
add esp, 0x10
cmp byte [esp + 0x18], 1
je 0x534e4d
test dword [esp + 0x4c], 0x9000
jne 0x534d90
cmp dword [esp + 0x54], 0
je 0x534e4d
lea eax, [esp + 0x3c]
push eax
call fcn.00547410
add esp, 4
jmp 0x534e4d
test eax, 0x400
je 0x534dc2
push dword [edi]
lea eax, [esp + 0x28]
push str.zeroblob__d_
push eax
call fcn.004ae6d0
add esp, 0xc
jmp 0x534e4d
mov ecx, dword [esp + 0x34]
add ecx, 2
cmp ecx, dword [esp + 0x2c]
jb 0x534de5
push 2
lea eax, [esp + 0x28]
push 0x6ecebc
push eax
call fcn.004d2eb0
add esp, 0xc
jmp 0x534df7
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 0x534e1f
mov eax, dword [edi + 8]
movzx eax, byte [eax + esi]
push eax
lea eax, [esp + 0x28]
push str._02x
push eax
call fcn.004ae6d0
inc esi
add esp, 0xc
cmp esi, ebp
jl 0x534e00
mov ecx, dword [esp + 0x34]
inc ecx
cmp ecx, dword [esp + 0x2c]
jb 0x534e40
push 1
lea eax, [esp + 0x28]
push 0x6ecec8
push eax
call fcn.004d2eb0
add esp, 0xc
jmp 0x534e4d
mov eax, dword [esp + 0x28]
mov dword [esp + 0x34], ecx
mov byte [eax + ecx - 1], 0x27
cmp byte [ebx], 0
jne 0x534b80
pop ebp
cmp byte [esp + 0x34], 0
je 0x534e85
test byte [esp + 0x35], 4
je 0x534e7a
mov eax, dword [esp + 0x24]
test eax, eax
je 0x534e7a
push eax
push dword [esp + 0x24]
call fcn.00502f20
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 0x534ebb
mov eax, dword [esp + 0x30]
mov byte [eax + ecx], 0
cmp dword [esp + 0x2c], 0
jbe 0x534eb7
test byte [esp + 0x35], 4
jne 0x534eb7
lea eax, [esp + 0x20]
push eax
call fcn.005430c0
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