Function at 0x5047e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov esi, esp
mov dword [esi + 0x48], ebp
mov dword [esi + 0xc], ecx
lea edi, [esi + 0x50]
mov dword [edi - 4], esp
xor ebx, ebx
dec ebx
mov dword [edi + 8], ebx
mov dword [edi + 4], 0x506280
mov eax, dword fs:[0]
mov dword [edi], eax
mov dword fs:[0], edi
lea ecx, [esi + 0x30]
mov dword [ecx + 0x10], ebx
pcmpeqd xmm0, xmm0
movdqa xmmword [ecx], xmm0
push ebx
push 0x6fa356
call fcn.004aea40
lea ecx, [esi + 0x14]
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [edi + 8], 0
push dword [esi + 0xc]
call fcn.004ed9ce
mov eax, dword [esi + 0xc]
add eax, 0x18
mov dword [esi + 0x58], 2
lea ecx, [esi + 0x30]
push eax
call fcn.004af162
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x2c]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x14]
call fcn.004ed9ee
mov dword [esi + 0x58], 0
push str._r_n_____command_info_start______r_n
push dword [ebp + 8]
call fcn.004af58e
add esp, 8
lea ecx, [esi + 0x30]
call fcn.004af144
push eax
push str.config_version___s_r_n
push dword [ebp + 8]
call fcn.004af58e
add esp, 0xc
push dword [esi + 0x10]
push str.config_sdk_version___u_r_n
push dword [ebp + 8]
call fcn.004af58e
add esp, 0xc
xor eax, eax
dec eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov ecx, dword [esi + 0xc]
lea eax, [esi + 0x14]
push eax
call fcn.005031b0
lea eax, [esi + 0x18]
mov eax, dword [eax - 4]
mov ecx, eax
mov dword [esi + 0x58], 1
lea eax, [esi + 0x18]
cmp ecx, eax
je 0x5049c2
mov dword [esi + 0x20], ecx
add ecx, 0x10
mov dword [esi + 0x24], ecx
push 1
call fcn.004aef38
test al, al
je 0x50490e
mov edx, dword [esi + 0x20]
mov ecx, dword [edx + 4]
test ecx, ecx
je 0x50499f
mov eax, ecx
mov ecx, dword [ecx]
test ecx, ecx
jne 0x504904
jmp 0x5048ce
mov ecx, dword [esi + 0x20]
mov eax, dword [ecx + 0x24]
add ecx, 0x28
mov dword [esi + 0x2c], ecx
cmp eax, dword [esi + 0x2c]
je 0x5048f6
mov dword [esi + 0xc], eax
lea ecx, [eax + 0x10]
xor eax, eax
inc eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x10], ecx
push eax
call fcn.004aef38
test al, al
jne 0x504970
mov eax, dword [esi + 0xc]
lea ecx, [eax + 0x24]
call fcn.004af144
mov dword [esi + 0x28], eax
mov ecx, dword [esi + 0x10]
call fcn.004af144
mov dword [esi + 0x10], eax
mov ecx, dword [esi + 0x24]
call fcn.004af144
push dword [esi + 0x28]
push dword [esi + 0x10]
push eax
push str._s__s___s_r_n
push dword [ebp + 8]
call fcn.004af58e
add esp, 0x14
mov edx, dword [esi + 0xc]
mov ecx, dword [edx + 4]
test ecx, ecx
je 0x504984
mov eax, ecx
mov ecx, dword [ecx]
test ecx, ecx
jne 0x50497a
jmp 0x50491a
mov eax, dword [edx + 8]
cmp dword [eax], edx
je 0x50491a
add edx, 8
mov ecx, dword [edx]
lea edx, [ecx + 8]
mov eax, dword [ecx + 8]
cmp dword [eax], ecx
jne 0x50498e
jmp 0x50491a
mov eax, dword [edx + 8]
cmp dword [eax], edx
je 0x5048ce
mov ecx, edx
add ecx, 8
mov ecx, dword [ecx]
lea edx, [ecx + 8]
mov eax, dword [ecx + 8]
cmp dword [eax], ecx
mov ecx, edx
jne 0x5049af
jmp 0x5048ce
push str._____command_info_end______r_n
push dword [ebp + 8]
call fcn.004af58e
add esp, 8
lea ecx, [esi + 0x14]
push dword [ecx + 4]
call fcn.004a7d38
lea ecx, [esi + 0x30]
call fcn.004aeec0
mov eax, dword [esi + 0x50]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4