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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xc0
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
lea esi, [edx + 0x10]
mov dword [esp + 4], ecx
mov dword [esp + 0x28], edx
mov ecx, esi
call fcn.00523dc8
movzx ecx, al
movzx edx, dl
call fcn.00523e10
test al, al
je 0x543d71
and edi, 0xfffffffe
push 5
pop eax
mov dword [esp + 0x24], eax
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x28]
test edi, edi
je 0x543e5d
lea ecx, [esp + 0x14]
mov dword [esp + 0x7c], ebx
mov dword [esp + 8], edi
mov byte [esp + 0x6c], 4
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], eax
xor eax, eax
mov dword [esp + 0x38], 0x9edf88
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x40], al
mov byte [esp + 0x44], al
lea eax, [esp + 0x6c]
mov dword [esp + 0x2c], eax
call fcn.004f246b
test al, 1
jne 0x543bfc
xor edi, edi
xor esi, esi
xor ebx, ebx
inc esi
jmp 0x543c86
mov ebx, edx
push 8
pop ecx
xor edx, edx
call fcn.00567657
mov byte [eax], bl
mov dword [esp + 0x18], eax
mov esi, eax
xor edi, edi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], 1
mov eax, dword [esp + 0x44]
movsd xmm0, qword [esp + 0x3c]
movsd xmm2, qword [esp + 0x2c]
movsd xmm1, qword [esp + 0x34]
inc edi
mov dword [esp + 0x60], eax
movsd qword [esp + 0x58], xmm0
movsd qword [esp + 0x50], xmm1
movsd qword [esp + 0x48], xmm2
lea ecx, [esp + 0x48]
call fcn.004f246b
test al, 1
je 0x543c7a
cmp edi, dword [esp + 0x1c]
mov ebx, edx
jne 0x543c70
xor edx, edx
lea ecx, [esp + 0x18]
inc edx
call fcn.00567624
mov esi, dword [esp + 0x18]
mov byte [esi + edi], bl
inc edi
mov dword [esp + 0x20], edi
jmp 0x543c4b
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
cmp byte [esp + 0x6c], 4
jne 0x543e6c
test esi, esi
je 0x543ea9
mov ecx, esi
mov edx, ebx
call fcn.004ed7e1
test al, al
je 0x543e7f
mov dword [esp + 0x78], edi
lea ecx, [esp + 0x48]
mov dword [esp + 0x74], esi
mov edx, esi
push ebx
call fcn.00443670
pop eax
cmp dword [esp + 0x48], 0
jne 0x543f83
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x50]
mov ecx, edi
mov edx, esi
call fcn.0044ac10
mov ebx, eax
test bl, 1
jne 0x543cf0
mov esi, ebx
shr esi, 0x10
push 6
pop eax
mov dword [esp + 0x10], eax
jmp 0x543d45
mov ecx, esi
xor edx, edx
call fcn.00567657
mov dword [esp + 0xc], edx
push esi
push edi
mov dword [esp + 0x18], 0
push eax
mov edi, eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x48]
mov byte [esp + 0x54], 5
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], esi
mov byte [esp + 0x55], bh
mov dword [esp + 0x60], 3
call fcn.00507aad
mov esi, eax
shr eax, 0x10
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
call fcn.0043cca3
test bl, 1
jne 0x543eba
mov edi, dword [esp + 8]
mov ebx, dword [esp + 0x7c]
mov word [ebx], si
add edi, 0xfffffffe
add ebx, 2
jmp 0x543ba0
mov ecx, esi
call fcn.00523e3c
mov ecx, esi
mov edi, eax
call fcn.00523e78
mov esi, eax
mov eax, dword [esp + 0x28]
lea ebx, [esp + 0x48]
mov dword [esp + 8], edi
imul esi, edi
and dword [ebx + 4], 0
lea edi, [esp + 0x80]
mov edx, ebx
imul esi, dword [ebp + 8]
mov ecx, edi
add esi, esi
mov dword [ebx], esi
mov dword [ebx + 8], eax
lea eax, [esp + 0x2c]
mov dword [eax], 1
and dword [eax + 4], 0
and dword [eax + 8], 0
push eax
call fcn.00518db2
pop eax
cmp byte [edi], 4
je 0x543dd5
mov eax, dword [esp + 0x80]
cmp al, 4
jne 0x543e34
cmp dword [esp + 0x34], esi
jne 0x543e09
mov eax, dword [esp + 8]
mov dword [esp + 0x60], 0x13
mul dword [ebp + 8]
jno 0x543f1c
mov ecx, dword [esp + 4]
lea edx, [esp + 0x9c]
mov dword [edx + 0x18], 0x13
call fcn.00523eb4
jmp 0x543e4b
lea ecx, [esp + 0x48]
mov dword [ecx + 0x18], 0xc
call fcn.00507aad
mov ecx, dword [esp + 4]
and dword [ecx], 0
mov dword [ecx + 4], eax
mov dword [ecx + 8], 0x9eabec
mov byte [ecx + 0xc], 4
mov byte [ecx + 0x18], 2
jmp 0x543e4b
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0x84]
mov dword [edx], 5
mov dword [edx + 4], eax
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
call fcn.0043cca3
jmp 0x543f14
mov eax, dword [esp + 4]
mov dword [eax], 6
jmp 0x543f14
mov ecx, esi
mov esi, dword [esp + 0x6c]
mov ebx, dword [esp + 0x70]
mov edx, edi
call fcn.0043cca3
jmp 0x543ea7
lea ecx, [esp + 0x48]
mov dword [ecx + 0x18], 6
call fcn.00507aad
mov ecx, esi
mov edx, edi
mov esi, eax
call fcn.0043cca3
mov ebx, 0x9eabec
mov dword [esp + 0x24], 0
mov edi, esi
mov eax, dword [esp + 0x24]
mov edx, edi
mov esi, edi
shr edx, 0x10
mov dword [esp + 0x10], eax
jmp 0x543ec3
mov edx, dword [esp + 0xc]
mov ebx, 0x9eabec
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 4]
movsd xmm0, qword [esp + 0x91]
movsd xmm2, qword [esp + 0x80]
movsd xmm1, qword [esp + 0x87]
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 0x10]
movsd qword [ecx + 0xd], xmm0
movsd qword [ecx + 0x19], xmm2
movsd qword [ecx + 0x20], xmm1
mov dword [ecx], eax
mov word [ecx + 4], si
mov word [ecx + 6], dx
mov dword [ecx + 8], ebx
mov byte [ecx + 0xc], 4
mov byte [ecx + 0x18], 2
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push ebx
call fcn.00507ae3
pop eax
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov eax, dword [esp + 0x2c]
mov edx, ebx
mov ecx, edi
push 0x9f0384
push esi
mov dword [esp + 0x10], eax
push eax
call fcn.0056c11f
mov edx, ebx
mov esi, edi
add esp, 0xc
and edx, 0xfffffffe
neg edx
test edx, edx
je 0x543f6c
mov ebx, esi
add esi, 2
mov edi, edx
mov ecx, ebx
push 2
pop edx
call fcn.00518ae6
mov edx, edi
mov word [ebx], ax
add edx, 2
jmp 0x543f4d
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 8]
mov dword [eax], 6
jmp 0x543e53
mov ecx, 0x9f02dc
mov edx, 0x9f0364
call fcn.004eb5eb
ud2