Function at 0x405430
Capabilities:
Contain obfuscated stackstrings
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x11fa440]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x12023f8]
mov ecx, 0x5a4d
mov dword [ebp - 0x44], eax
cmp word [eax], cx
je 0x405462
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00546c71
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [eax + 0x3c]
add ebx, eax
cmp dword [ebx], 0x4550
je 0x405481
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00546c71
mov esp, ebp
pop ebp
ret
push esi
push edi
mov edi, dword [0x572480]
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x14], 0x4e52454b
mov dword [ebp - 0x10], 0x32334c45
mov dword [ebp - 0xc], 0x6c6c642e
mov byte [ebp - 8], 0
mov dword [ebp - 0x30], 0x74726956
mov dword [ebp - 0x2c], 0x416c6175
mov dword [ebp - 0x28], 0x636f6c6c
mov byte [ebp - 0x24], 0
call edi
push eax
call dword [0x572490]
mov ecx, dword [ebx + 0x50]
mov edx, dword [ebx + 0x34]
push 4
push 0x2000
push ecx
push edx
mov dword [ebp - 0x48], eax
call eax
mov esi, eax
test esi, esi
jne 0x4054ff
mov eax, dword [ebx + 0x50]
push 4
push 0x2000
push eax
push esi
call dword [ebp - 0x48]
mov esi, eax
test esi, esi
je 0x405611
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x14]
push edx
mov dword [ebp - 0x40], 0x50746547
mov dword [ebp - 0x3c], 0x65636f72
mov dword [ebp - 0x38], 0x65487373
mov word [ebp - 0x34], 0x7061
mov byte [ebp - 0x32], 0
call edi
push eax
call dword [0x572490]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x14]
push ecx
mov dword [ebp - 0x20], 0x70616548
mov dword [ebp - 0x1c], 0x6f6c6c41
mov word [ebp - 0x18], 0x63
call edi
push eax
call dword [0x572490]
push 0x14
push 0
mov edi, eax
call dword [ebp - 0x4c]
push eax
call edi
mov edi, eax
xor eax, eax
push 4
mov dword [edi + 4], esi
mov dword [edi + 0xc], eax
mov dword [edi + 8], eax
mov dword [edi + 0x10], eax
mov edx, dword [ebx + 0x50]
push 0x1000
push edx
push esi
call dword [ebp - 0x48]
mov eax, dword [ebx + 0x54]
push 4
push 0x1000
push eax
push esi
call dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 0x3c]
add edx, dword [ebx + 0x54]
mov dword [ebp - 0x4c], eax
push edx
push ecx
push eax
call fcn.0054ac50
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx + 0x3c]
add eax, dword [ebp - 0x4c]
push edi
push ecx
mov dword [edi], eax
mov ecx, ebx
mov dword [eax + 0x34], esi
call fcn.00404ed0
mov eax, esi
add esp, 0x14
sub eax, dword [ebx + 0x34]
je 0x4055d1
push eax
mov eax, edi
call fcn.004053a0
add esp, 4
xor ebx, ebx
push edi
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
call fcn.004051a0
add esp, 4
test eax, eax
je 0x40560c
mov ecx, edi
call fcn.00405000
mov eax, dword [edi]
mov eax, dword [eax + 0x28]
cmp eax, ebx
je 0x40562b
add eax, esi
cmp eax, ebx
je 0x40560c
push ebx
push 1
push esi
call eax
test eax, eax
jne 0x405624
call fcn.00405740
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00546c71
mov esp, ebp
pop ebp
ret
mov dword [edi + 0x10], 1
mov esi, dword [ebp - 0x44]
cmp esi, ebx
je 0x40565d
cmp dword [ebp - 0x48], ebx
je 0x40565d
lea ecx, [ebp - 0x44]
push ecx
push 0x40
push 8
mov dword [ebp - 0x44], ebx
mov ebx, dword [0x57247c]
push esi
call ebx
mov edx, dword [ebp - 0x48]
lea eax, [ebp - 0x44]
push eax
mov dword [esi], edx
mov ecx, dword [ebp - 0x44]
push ecx
push 8
push esi
call ebx
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00546c71
mov esp, ebp
pop ebp
ret