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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x636eb6
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x70a308]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
mov eax, dword [0x70a308]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x54], eax
mov dword [eax], 1
call fcn.004024e0
xor ebx, ebx
mov dword [esp + 0xc0], ebx
push esi
lea ecx, [esp + 0x44]
push 0x64edec
push ecx
call fcn.00402f60
mov edx, dword [esp + 0x4c]
push str.selected_id
push edx
call fcn.005f9c10
mov esi, eax
add esp, 0x14
cmp esi, ebx
jne 0x542cbc
mov eax, dword [esp + 0x40]
push str._26selected_id
push eax
call fcn.005f9c10
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x542d74
lea edi, [esi + 0xf]
push str._26selected_id
push edi
call fcn.005f9c10
add esp, 8
test eax, eax
je 0x542cb5
push str._26selected_id
push edi
call fcn.005f9c10
mov esi, eax
lea edi, [esi + 0xf]
push str._26selected_id
push edi
call fcn.005f9c10
add esp, 0x10
test eax, eax
jne 0x542c93
mov byte [esi], bl
add esi, 0xf
jmp 0x542cf8
lea edi, [esi + 0xd]
push str.selected_id
push edi
call fcn.005f9c10
add esp, 8
test eax, eax
je 0x542cf3
push str.selected_id
push edi
call fcn.005f9c10
mov esi, eax
lea edi, [esi + 0xd]
push str.selected_id
push edi
call fcn.005f9c10
add esp, 0x10
test eax, eax
jne 0x542cd1
mov byte [esi], bl
add esi, 0xd
xor ecx, ecx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x7c], ebx
mov word [esp + 0x78], cx
mov byte [esp + 0xc0], 1
mov eax, dword [0x70f66c]
cmp eax, ebx
jne 0x542d1d
mov eax, 0x70f670
push ebx
push eax
push str._sidmvmprs.dll
lea ecx, [esp + 0x80]
call fcn.00402190
mov eax, dword [esp + 0x74]
cmp eax, ebx
jne 0x542d3c
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
mov dword [esp + 0x50], edi
cmp edi, ebx
je 0x542d64
push 0x680af8
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
jne 0x542d8f
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [esp + 0xc0], bl
lea ecx, [esp + 0x74]
call fcn.004011f0
mov dword [esp + 0xc0], 0xffffffff
lea ecx, [esp + 0x40]
call fcn.00402550
xor eax, eax
jmp 0x542fa2
mov ecx, dword [esp + 0x5c]
lea edx, [esp + 0x48]
push edx
mov edx, dword [esp + 0x44]
push 1
push esi
push ecx
push edx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x5c], ebx
call eax
cmp eax, ebx
je 0x542f73
mov ecx, dword [esp + 0x48]
cmp ecx, ebx
je 0x542f73
mov edi, dword [ebp + 0x10]
mov eax, dword [ecx]
cmp edi, ebx
je 0x542dcd
mov edx, dword [eax + 8]
jmp 0x542dd0
mov edx, dword [eax + 0xc]
call edx
mov esi, eax
cmp esi, ebx
je 0x542f41
cmp edi, ebx
je 0x542df5
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
test eax, eax
jne 0x542df5
mov eax, dword [esp + 0x54]
mov dword [eax], ebx
push 0x40
call fcn.005cfa6c
add esp, 4
mov dword [esp + 0x54], eax
mov byte [esp + 0xc0], 2
cmp eax, ebx
je 0x542e18
mov ecx, eax
call fcn.00555a30
jmp 0x542e1a
xor eax, eax
mov byte [esp + 0xc0], 1
mov edi, dword [esp + 0x44]
mov dword [edi + 0x18], eax
cmp eax, ebx
je 0x542f45
mov ecx, 1
mov dword [eax + 0x3c], ecx
mov dword [esp + 0x4c], ecx
lea ecx, [ecx]
cmp dword [esi], ebx
je 0x542f34
cmp dword [esi + 0x1c], ebx
jg 0x542e5a
jl 0x542e54
cmp dword [esi + 0x18], ebx
jae 0x542e5a
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
lea ecx, [esp + 0x44]
call fcn.004024e0
mov byte [esp + 0xc0], 3
mov ecx, dword [esi]
push ecx
lea edx, [esp + 0x48]
push 0x64edec
push edx
call fcn.00402f60
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
add esp, 0xc
push ebx
push ebx
push ebx
push ebx
push eax
mov eax, dword [esi + 8]
push ecx
mov ecx, dword [esi + 0x18]
push edx
push eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x74], ecx
mov ecx, eax
and ecx, 0x80000000
and eax, 0x7fffffff
mov dword [esp + 0x80], ecx
mov dword [esp + 0x78], eax
fild qword [esp + 0x74]
mov dword [esp + 0x7c], ebx
fild qword [esp + 0x7c]
mov edx, dword [esp + 0x64]
mov ecx, dword [edi + 0x18]
push ebx
fchs
push ebx
faddp st(1)
push ebx
push ebx
push ebx
fdiv qword [0x680af0]
sub esp, 8
fstp qword [esp]
push edx
call fcn.00555bd0
mov edx, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x64], edx
mov edx, ecx
and ecx, 0x7fffffff
and edx, 0x80000000
mov dword [esp + 0x68], ecx
fild qword [esp + 0x64]
mov dword [esp + 0x70], edx
mov dword [esp + 0x6c], ebx
fild qword [esp + 0x6c]
mov eax, dword [edi + 0x18]
fchs
faddp st(1)
fdiv qword [0x680af0]
fadd qword [eax + 0x18]
fstp qword [eax + 0x18]
mov byte [esp + 0xc0], 1
lea ecx, [esp + 0x44]
call fcn.00402550
mov esi, dword [esi + 0x20]
cmp esi, ebx
jne 0x542e40
jmp 0x542f45
mov edi, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
cmp dword [esp + 0x4c], ebx
je 0x542f6f
mov eax, dword [edi + 0xdc]
cmp eax, ebx
je 0x542f6f
mov ecx, dword [edi + 0x18]
cmp dword [ecx + 0x10], 1
jle 0x542f6f
push eax
call fcn.00555970
mov edi, dword [esp + 0x50]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [esp + 0xc0], bl
lea ecx, [esp + 0x74]
call fcn.004011f0
mov dword [esp + 0xc0], 0xffffffff
lea ecx, [esp + 0x40]
call fcn.00402550
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.005f85e7
mov esp, ebp
pop ebp
ret 0x10