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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xa0
mov ebx, dword [esp + 0xb4]
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], 0x640cdc
mov edi, edx
mov ebp, ecx
mov dword [esp + 0x14], ebx
mov eax, dword [0x640cec]
cmp eax, 3
jne 0x5386f2
mov eax, dword [esp + 0x18]
lea esi, [esp + 0x38]
mov ecx, esi
mov edx, dword [eax]
push ebx
push edi
push dword [eax + 4]
call fcn.005382d8
add esp, 0xc
mov eax, dword [esi]
cmp eax, 2
je 0x538722
movsd xmm1, qword [esp + 0x48]
lea edx, [esp + 0x78]
movsd xmm0, qword [esp + 0x40]
movsd xmm2, qword [esp + 0x50]
mov ecx, dword [esp + 0x3c]
lea esi, [esp + 0x60]
movsd qword [edx + 0x10], xmm1
movsd xmm1, qword [esp + 0x58]
movsd qword [edx + 8], xmm0
movsd qword [edx + 0x18], xmm2
movsd qword [edx + 0x20], xmm1
mov dword [edx], eax
mov dword [edx + 4], ecx
mov ecx, esi
push 5
push str.majorminorbuildrevision
call fcn.00538444
pop eax
pop ecx
mov eax, dword [esi]
test eax, eax
je 0x53876e
lea edi, [esp + 0x60]
lea ecx, [esp + 0x28]
mov dword [esp], ebp
mov edx, dword [edi + 0xc]
mov esi, dword [edi + 4]
mov ebx, dword [edi + 8]
mov dword [ecx], eax
mov dword [ecx + 4], esi
mov dword [ecx + 0xc], edx
mov dword [ecx + 8], ebx
call fcn.005384a4
mov dword [esp + 0xc], eax
mov ebp, edx
push 5
pop ebx
lea esi, [esp + 0x78]
lea ecx, [esp + 0x18]
mov edx, esi
push ebx
push 0x629a29
call fcn.00538444
pop eax
pop ecx
lea ecx, [esp + 0x28]
mov edx, esi
push ebx
push 0x629a2e
call fcn.00538444
pop eax
pop ecx
mov ecx, edi
mov edx, esi
push 8
push 0x629a33
call fcn.00538444
pop eax
pop ecx
mov edx, dword [esp + 0xc]
lea esi, [esp + 0x38]
mov ecx, esi
push ebp
call fcn.00441b40
pop eax
cmp byte [esi], 0
jne 0x5387ba
mov eax, dword [esp + 0x3c]
xor ebp, ebp
cmp dword [esp + 0x18], 0
mov ebx, 0
mov dword [esp + 0xc], eax
je 0x538640
lea esi, [esp + 0x38]
lea edx, [esp + 0x18]
mov ecx, esi
push 0x629a3c
call fcn.005378a4
pop eax
mov ecx, esi
call fcn.005384a4
mov esi, edx
lea edi, [esp + 4]
mov edx, eax
mov ecx, edi
push esi
call fcn.00441b40
pop eax
cmp byte [edi], 0
jne 0x5386e8
mov ebx, dword [esp + 8]
cmp dword [esp + 0x28], 0
je 0x53867d
lea esi, [esp + 0x38]
lea edx, [esp + 0x28]
mov ecx, esi
push 0x629a4c
call fcn.005378a4
pop eax
mov ecx, esi
call fcn.005384a4
mov esi, edx
lea edi, [esp + 4]
mov edx, eax
mov ecx, edi
push esi
call fcn.00441b40
pop eax
cmp byte [edi], 0
jne 0x5386e8
mov ebp, dword [esp + 8]
cmp dword [esp + 0x60], 0
je 0x5386bc
lea esi, [esp + 0x38]
lea edx, [esp + 0x60]
mov ecx, esi
push 0x629a5c
call fcn.005378a4
pop eax
mov ecx, esi
call fcn.005384a4
mov esi, edx
lea edi, [esp + 4]
mov edx, eax
mov ecx, edi
push esi
call fcn.00441b40
pop eax
cmp byte [edi], 0
jne 0x5386e8
mov eax, dword [esp + 8]
jmp 0x5386be
xor eax, eax
mov ecx, dword [esp]
mov edx, dword [esp + 0xc]
mov dword [ecx + 4], edx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebp
mov dword [ecx + 0x10], eax
and dword [ecx], 0
lea ecx, [esp + 0x78]
call fcn.0051b533
add esp, 0xa0
pop esi
pop edi
pop ebx
pop ebp
ret
movzx ecx, byte [esp + 5]
jmp 0x5387bf
lea eax, [esp + 0x18]
lea ecx, [esp + 0x28]
xor edx, edx
mov dword [ecx], eax
lea eax, [esp + 0x60]
mov dword [eax], ecx
lea ecx, [0x640cec]
push 0x6247d8
push 0x6253a8
push eax
call fcn.00579320
add esp, 0xc
jmp 0x5384f2
lea edx, [esp + 0x60]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
lea esi, [esp + 0x28]
mov dword [edx], str.Invalid_version_string:_
mov dword [edx + 4], 2
and dword [edx + 0x10], 0
xor edi, edi
mov dword [ecx], eax
mov dword [ecx + 4], fcn.00417b94
mov dword [edx + 8], ecx
mov ecx, esi
inc edi
mov dword [edx + 0xc], edi
call fcn.0044d6b4
mov ecx, esi
call fcn.005768f3
mov dword [ebp + 4], eax
mov dword [ebp], edi
jmp 0x5386dd
lea edx, [esp + 0x38]
lea eax, [esp + 0x10]
lea ecx, [esp + 4]
lea esi, [esp + 0x18]
mov dword [edx], str.Invalid_version_string:_
mov dword [edx + 4], 2
and dword [edx + 0x10], 0
xor edi, edi
mov dword [ecx], eax
mov dword [ecx + 4], fcn.00417b94
mov dword [edx + 8], ecx
mov ecx, esi
inc edi
mov dword [edx + 0xc], edi
call fcn.0044d6b4
mov ecx, esi
call fcn.005768f3
mov dword [ebp + 4], eax
mov dword [ebp], edi
jmp 0x5386d4
movzx ecx, byte [esp + 0x39]
call fcn.0057ad00
mov ecx, dword [esp]
mov dword [ecx + 4], eax
mov dword [ecx], 1
jmp 0x5386d4