Function at 0x434120
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x130
mov eax, dword [0x4ff0f4]
xor eax, esp
mov dword [esp + 0x12c], eax
mov eax, dword [esp + 0x138]
push esi
mov esi, dword [esp + 0x138]
mov dword [esp + 8], esi
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x434169
xor eax, eax
pop esi
mov ecx, dword [esp + 0x12c]
xor ecx, esp
call fcn.004a974c
add esp, 0x130
ret 0xc
mov dword [esp + 0x10], 0xffff
cmp eax, 0xffff
jae 0x434181
movzx eax, ax
mov dword [esp + 0x10], eax
jmp 0x4341a9
cmp byte [eax], 0x23
jne 0x4341a9
inc eax
push eax
call fcn.004aade2
add esp, 4
cmp eax, 0xffff
jae 0x4341a9
test eax, eax
je 0x4341a9
movzx ecx, ax
movzx edx, ax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], edx
test esi, esi
je 0x43414f
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x43414f
mov eax, dword [esi + 0x3c]
add eax, esi
cmp dword [eax], 0x4550
mov dword [esp + 0x14], eax
jne 0x43414f
push ebx
mov bl, byte [esp + 0x144]
lea ecx, [esp + 0x10]
mov eax, esi
mov dword [esp + 0x10], 0
call fcn.00434630
mov ecx, eax
mov dword [esp + 8], ecx
test ecx, ecx
je 0x4344c4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4344c4
push ebp
mov ebp, dword [ecx + 0x14]
test ebp, ebp
jne 0x43420c
xor eax, eax
jmp 0x43443d
cmp eax, 0x28
ja 0x43422b
mov eax, dword [ecx + 0x18]
cmp ebp, eax
jbe 0x43421a
mov eax, ebp
imul eax, eax, 0xff
add eax, dword [ecx + 0x24]
sub eax, ecx
add eax, esi
mov dword [esp + 0x14], eax
cmp byte [esp + 0x148], 0
mov esi, dword [ecx + 0x1c]
mov ebx, dword [ecx + 0x24]
mov eax, dword [esp + 0x10]
push edi
mov edi, dword [ecx + 0x20]
je 0x434255
lea edx, [eax + edi]
mov dword [esp + 0x24], edx
lea edx, [eax + esi]
mov dword [esp + 0x2c], edx
add eax, ebx
jmp 0x43428b
push eax
mov eax, dword [esp + 0x24]
call fcn.004346c0
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
mov edi, esi
mov esi, dword [esp + 0x20]
push eax
mov eax, esi
call fcn.004346c0
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
push ecx
mov edi, ebx
mov eax, esi
call fcn.004346c0
mov ecx, dword [esp + 0x10]
xor edx, edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], edx
test ebp, ebp
jbe 0x434346
lea ecx, [ecx]
mov eax, dword [esp + 0x34]
movzx eax, word [eax + edx*2]
movzx edi, ax
mov eax, dword [esp + 0x2c]
mov esi, dword [eax + edi*4]
mov dword [esp + 0x38], edi
test esi, esi
je 0x434334
cmp byte [esp + 0x14c], 0
mov eax, dword [esp + 0x24]
je 0x43434d
mov ebp, dword [esp + 0x14]
mov ebx, dword [eax + edx*4]
add ebx, ebp
add ebp, esi
cmp ebp, ecx
jbe 0x43437a
mov edx, dword [esp + 0x18]
lea eax, [ecx + edx]
cmp ebp, eax
jae 0x43437a
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4342f3
sub eax, edx
lea esi, [eax + 1]
cmp esi, 0x100
jae 0x434330
push esi
lea ecx, [esp + 0x40]
push ebp
push ecx
call fcn.004ac5e0
add esp, 0xc
xor eax, eax
test esi, esi
jbe 0x434330
lea esp, [esp]
cmp byte [esp + eax + 0x3c], 0x2e
je 0x4343bb
inc eax
cmp eax, esi
jb 0x434320
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x30]
inc edx
mov dword [esp + 0x30], edx
cmp edx, dword [ecx + 0x14]
jb 0x4342a0
xor eax, eax
jmp 0x43443c
mov ecx, dword [esp + 0x14]
mov edi, dword [eax + edx*4]
mov ebp, dword [esp + 0x20]
push ecx
mov eax, ebp
call fcn.004346c0
mov ecx, dword [esp + 0x14]
mov ebx, eax
push ecx
mov edi, esi
mov eax, ebp
call fcn.004346c0
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x38]
mov ebp, eax
mov eax, dword [esp + 0x28]
cmp eax, 0xffff
jbe 0x4344af
mov ecx, ebx
jmp 0x434390
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4344a2
test dl, dl
je 0x4343b4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4344a2
add eax, 2
add ecx, 2
test dl, dl
jne 0x434390
xor eax, eax
jmp 0x4344a7
lea esi, [eax + ebp + 1]
mov byte [esp + eax + 0x3c], 0
test esi, esi
je 0x434330
cmp byte [esi], 0x23
jne 0x434457
lea eax, [esi + 1]
test eax, eax
je 0x434330
mov ebx, dword [esp + 0x1c]
mov edx, 0xffff
cmp bx, dx
jae 0x434330
push eax
call fcn.004aade2
mov esi, eax
add esp, 4
cmp esi, 0xffff
ja 0x434330
test esi, esi
je 0x434330
movzx eax, bx
cmp esi, eax
jne 0x434330
lea edx, [esp + 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [esp + 0x14c]
push ecx
and esi, 0xffff
push esi
push eax
call fcn.00434120
pop edi
pop ebp
mov ecx, dword [esp + 0x134]
pop ebx
pop esi
xor ecx, esp
call fcn.004a974c
add esp, 0x130
ret 0xc
mov eax, dword [esp + 0x28]
mov ecx, esi
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x434480
test dl, dl
je 0x43447c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x434480
add eax, 2
add ecx, 2
test dl, dl
jne 0x434460
xor eax, eax
jmp 0x434485
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x434330
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [esp + 0x14c]
push ecx
jmp 0x434435
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4344bd
mov ecx, dword [esp + 0x10]
movzx edx, word [esp + 0x1c]
inc edi
cmp edi, edx
jne 0x434334
mov eax, ebp
jmp 0x43443c
xor eax, eax
jmp 0x43443e