Function at 0x4051a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x1286440]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [eax + 4]
push edi
mov edi, dword [eax]
mov dword [ebp - 0x24], 0x4e52454b
mov dword [ebp - 0x20], 0x32334c45
mov dword [ebp - 0x1c], 0x6c6c642e
mov byte [ebp - 0x18], 0
cmp dword [edi + 0x84], 0
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x50], eax
mov dl, 0x52
mov ecx, 1
mov dword [ebp - 0x3c], ebx
jbe 0x405378
push esi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x24]
push ecx
mov dword [ebp - 0x14], 0x61427349
mov byte [ebp - 0x10], 0x64
mov byte [ebp - 0xf], dl
mov dword [ebp - 0xe], 0x50646165
mov word [ebp - 0xa], 0x7274
mov byte [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [edi + 0x80]
add esi, ebx
push 0x14
push esi
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x40], esi
call eax
test eax, eax
jne 0x40538a
mov eax, dword [esi + 0xc]
test eax, eax
je 0x40538a
add eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x405365
test ebx, ebx
je 0x405365
mov edi, dword [ebp - 0x50]
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 8]
lea ecx, [ecx*4 + 4]
push edx
call fcn.00404d30
add esp, 4
mov dword [edi + 8], eax
test eax, eax
je 0x405365
mov ecx, dword [edi + 0xc]
mov dword [eax + ecx*4], ebx
inc dword [edi + 0xc]
mov eax, dword [esi]
test eax, eax
je 0x4052a9
mov ecx, dword [ebp - 0x3c]
mov edi, dword [esi + 0x10]
add eax, ecx
add edi, ecx
jmp 0x4052b1
mov eax, dword [ebp - 0x3c]
add eax, dword [esi + 0x10]
mov edi, eax
cmp dword [eax], 0
je 0x40534d
sub eax, edi
mov dword [ebp - 0x44], eax
jmp 0x4052c4
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + edi]
test eax, eax
jns 0x4052da
and eax, 0xffff
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x405336
mov ecx, dword [ebp - 0x3c]
lea esi, [eax + ecx + 2]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea edx, [ebp - 0x38]
push esi
push edx
mov dword [edi], eax
mov dword [ebp - 0x38], 0x4d746547
mov dword [ebp - 0x34], 0x6c75646f
mov dword [ebp - 0x30], 0x6c694665
mov dword [ebp - 0x2c], 0x6d614e65
mov word [ebp - 0x28], 0x4165
mov byte [ebp - 0x26], 0
call fcn.00547861
mov esi, dword [ebp - 0x40]
add esp, 8
test eax, eax
jne 0x405338
mov eax, dword [edi]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x4c]
mov dword [ecx], eax
mov eax, dword [0x1287c88]
mov dword [edx], edi
mov dword [edi], eax
cmp dword [edi], 0
je 0x405365
mov ecx, dword [ebp - 0x44]
add edi, 4
cmp dword [ecx + edi], 0
jne 0x4052c1
add esi, 0x14
push 0x14
push esi
mov dword [ebp - 0x40], esi
call dword [ebp - 0x54]
test eax, eax
jne 0x40538a
mov ebx, dword [ebp - 0x3c]
jmp 0x405243
pop esi
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00546c71
mov esp, ebp
pop ebp
ret
pop edi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00546c71
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop esi
pop edi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.00546c71
mov esp, ebp
pop ebp
ret