Function at 0x403450
Capabilities:
Contain obfuscated stackstrings
Link many functions at runtime
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
mov eax, dword [0x5cce74]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x14], 0x4e52454b
push eax
mov dword [ebp - 0x10], 0x32334c45
mov dword [ebp - 0xc], 0x6c6c642e
mov byte [ebp - 8], 0
mov dword [ebp - 0x50], 0x74726956
mov dword [ebp - 0x4c], 0x416c6175
mov dword [ebp - 0x48], 0x636f6c6c
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x40], 0x4e52454b
mov dword [ebp - 0x3c], 0x32334c45
mov dword [ebp - 0x38], 0x6c6c642e
mov byte [ebp - 0x34], 0
mov dword [ebp - 0x30], 0x64616f4c
mov dword [ebp - 0x2c], 0x7262694c
mov dword [ebp - 0x28], 0x41797261
mov byte [ebp - 0x24], 0
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call esi
mov ebx, eax
lea eax, [ebp - 0x14]
push eax
call edi
test eax, eax
jne 0x403503
lea eax, [ebp - 0x14]
push eax
call ebx
test eax, eax
jne 0x403503
xor ebx, ebx
mov dword [ebp - 0xac], ebx
jmp 0x403512
lea ecx, [ebp - 0x50]
push ecx
push eax
call esi
mov ebx, eax
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0x60]
mov dword [ebp - 0xa0], 0x50746547
push eax
lea eax, [ebp - 0x70]
mov dword [ebp - 0x9c], 0x65636f72
push eax
mov dword [ebp - 0x98], 0x65487373
mov word [ebp - 0x94], 0x7061
mov byte [ebp - 0x92], 0
mov dword [ebp - 0x70], 0x4e52454b
mov dword [ebp - 0x6c], 0x32334c45
mov dword [ebp - 0x68], 0x6c6c642e
mov byte [ebp - 0x64], 0
mov dword [ebp - 0x60], 0x64616f4c
mov dword [ebp - 0x5c], 0x7262694c
mov dword [ebp - 0x58], 0x41797261
mov byte [ebp - 0x54], 0
call edi
push eax
call esi
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0x14]
push eax
call edi
test eax, eax
jne 0x4035a5
lea eax, [ebp - 0x14]
push eax
call dword [ebp - 0xa8]
test eax, eax
jne 0x4035a5
mov dword [ebp - 0xa8], eax
jmp 0x4035b5
lea ecx, [ebp - 0xa0]
push ecx
push eax
call esi
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0x80]
mov dword [ebp - 0x20], 0x70616548
push eax
lea eax, [ebp - 0x90]
mov dword [ebp - 0x1c], 0x6f6c6c41
push eax
mov word [ebp - 0x18], 0x63
mov dword [ebp - 0x90], 0x4e52454b
mov dword [ebp - 0x8c], 0x32334c45
mov dword [ebp - 0x88], 0x6c6c642e
mov byte [ebp - 0x84], 0
mov dword [ebp - 0x80], 0x64616f4c
mov dword [ebp - 0x7c], 0x7262694c
mov dword [ebp - 0x78], 0x41797261
mov byte [ebp - 0x74], 0
call edi
push eax
call esi
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0x14]
push eax
call edi
test eax, eax
jne 0x403639
lea eax, [ebp - 0x14]
push eax
call dword [ebp - 0xa4]
test eax, eax
jne 0x403639
xor esi, esi
jmp 0x403642
lea ecx, [ebp - 0x20]
push ecx
push eax
call esi
mov esi, eax
mov eax, 0x5a4d
cmp word [0x5cd8d0], ax
jne 0x403817
mov ecx, dword [0x5cd90c]
cmp dword [ecx + 0x5cd8d0], 0x4550
lea edi, [ecx + 0x5cd8d0]
jne 0x403817
push 4
push 0x2000
push dword [edi + 0x50]
push dword [edi + 0x34]
call ebx
mov dword [ebp - 0xa4], eax
test eax, eax
jne 0x4036a4
push 4
push 0x2000
push dword [edi + 0x50]
push eax
call ebx
mov dword [ebp - 0xa4], eax
test eax, eax
je 0x403817
push 0x14
push 0
call dword [ebp - 0xa8]
push eax
call esi
mov esi, dword [ebp - 0xac]
mov ebx, eax
mov eax, dword [ebp - 0xa4]
push 4
push 0x1000
mov dword [ebx + 4], eax
mov dword [ebx + 0xc], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0x10], 0
push dword [edi + 0x50]
mov dword [ebp - 0xb0], ebx
push eax
call esi
push 4
push 0x1000
push dword [edi + 0x54]
push dword [ebp - 0xa4]
call esi
mov ecx, dword [edi + 0x54]
mov esi, eax
add ecx, dword [0x5cd90c]
push ecx
push 0x5cd8d0
push esi
call fcn.0054e870
mov eax, dword [0x5cd90c]
mov edx, edi
add eax, esi
mov esi, dword [ebp - 0xa4]
mov dword [ebx], eax
push ebx
mov dword [eax + 0x34], esi
call fcn.00402d50
mov eax, esi
add esp, 0x10
sub eax, dword [edi + 0x34]
mov dword [ebp - 0xac], eax
je 0x4037cc
mov edi, dword [ebx]
cmp dword [edi + 0xa4], 0
jbe 0x4037cc
mov ecx, dword [ebx + 4]
mov edi, dword [edi + 0xa0]
add edi, ecx
mov dword [ebp - 0xa8], ecx
mov eax, dword [edi]
test eax, eax
je 0x4037cc
lea ebx, [eax + ecx]
xor esi, esi
mov ecx, dword [edi + 4]
lea edx, [edi + 8]
lea eax, [ecx - 8]
test eax, 0xfffffffe
jbe 0x4037b1
nop dword [eax]
movzx eax, word [edx]
mov ecx, eax
and ecx, 0xf000
cmp ecx, 0x3000
jne 0x4037a1
mov ecx, dword [ebp - 0xac]
and eax, 0xfff
add dword [eax + ebx], ecx
mov ecx, dword [edi + 4]
inc esi
add edx, 2
lea eax, [ecx - 8]
shr eax, 1
cmp esi, eax
jb 0x403780
mov eax, dword [edi + ecx]
add edi, ecx
mov ecx, dword [ebp - 0xa8]
test eax, eax
jne 0x403767
mov ebx, dword [ebp - 0xb0]
mov esi, dword [ebp - 0xa4]
mov ecx, ebx
call fcn.004030d0
test eax, eax
je 0x403810
mov ecx, ebx
call fcn.00402ec0
mov eax, dword [ebx]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x4037fd
add eax, esi
je 0x403810
push 0
push 1
push esi
call eax
test eax, eax
je 0x403810
mov dword [ebx + 0x10], 1
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054cb2c
mov esp, ebp
pop ebp
ret
mov ecx, ebx
call fcn.004038f0
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0054cb2c
mov esp, ebp
pop ebp
ret