Function at 0x434d50
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x130
mov eax, dword [0x5000f4]
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 0x434d99
xor eax, eax
pop esi
mov ecx, dword [esp + 0x12c]
xor ecx, esp
call fcn.004aa641
add esp, 0x130
ret 0xc
mov dword [esp + 0x10], 0xffff
cmp eax, 0xffff
jae 0x434db1
movzx eax, ax
mov dword [esp + 0x10], eax
jmp 0x434dd9
cmp byte [eax], 0x23
jne 0x434dd9
inc eax
push eax
call fcn.004abcd7
add esp, 4
cmp eax, 0xffff
jae 0x434dd9
test eax, eax
je 0x434dd9
movzx ecx, ax
movzx edx, ax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], edx
test esi, esi
je 0x434d7f
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x434d7f
mov eax, dword [esi + 0x3c]
add eax, esi
cmp dword [eax], 0x4550
mov dword [esp + 0x14], eax
jne 0x434d7f
push ebx
mov bl, byte [esp + 0x144]
lea ecx, [esp + 0x10]
mov eax, esi
mov dword [esp + 0x10], 0
call fcn.00435260
mov ecx, eax
mov dword [esp + 8], ecx
test ecx, ecx
je 0x4350f4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4350f4
push ebp
mov ebp, dword [ecx + 0x14]
test ebp, ebp
jne 0x434e3c
xor eax, eax
jmp 0x43506d
cmp eax, 0x28
ja 0x434e5b
mov eax, dword [ecx + 0x18]
cmp ebp, eax
jbe 0x434e4a
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 0x434e85
lea edx, [eax + edi]
mov dword [esp + 0x24], edx
lea edx, [eax + esi]
mov dword [esp + 0x2c], edx
add eax, ebx
jmp 0x434ebb
push eax
mov eax, dword [esp + 0x24]
call fcn.004352f0
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.004352f0
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
push ecx
mov edi, ebx
mov eax, esi
call fcn.004352f0
mov ecx, dword [esp + 0x10]
xor edx, edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], edx
test ebp, ebp
jbe 0x434f76
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 0x434f64
cmp byte [esp + 0x14c], 0
mov eax, dword [esp + 0x24]
je 0x434f7d
mov ebp, dword [esp + 0x14]
mov ebx, dword [eax + edx*4]
add ebx, ebp
add ebp, esi
cmp ebp, ecx
jbe 0x434faa
mov edx, dword [esp + 0x18]
lea eax, [ecx + edx]
cmp ebp, eax
jae 0x434faa
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x434f23
sub eax, edx
lea esi, [eax + 1]
cmp esi, 0x100
jae 0x434f60
push esi
lea ecx, [esp + 0x40]
push ebp
push ecx
call fcn.004ad4d0
add esp, 0xc
xor eax, eax
test esi, esi
jbe 0x434f60
lea esp, [esp]
cmp byte [esp + eax + 0x3c], 0x2e
je 0x434feb
inc eax
cmp eax, esi
jb 0x434f50
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x30]
inc edx
mov dword [esp + 0x30], edx
cmp edx, dword [ecx + 0x14]
jb 0x434ed0
xor eax, eax
jmp 0x43506c
mov ecx, dword [esp + 0x14]
mov edi, dword [eax + edx*4]
mov ebp, dword [esp + 0x20]
push ecx
mov eax, ebp
call fcn.004352f0
mov ecx, dword [esp + 0x14]
mov ebx, eax
push ecx
mov edi, esi
mov eax, ebp
call fcn.004352f0
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x38]
mov ebp, eax
mov eax, dword [esp + 0x28]
cmp eax, 0xffff
jbe 0x4350df
mov ecx, ebx
jmp 0x434fc0
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4350d2
test dl, dl
je 0x434fe4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4350d2
add eax, 2
add ecx, 2
test dl, dl
jne 0x434fc0
xor eax, eax
jmp 0x4350d7
lea esi, [eax + ebp + 1]
mov byte [esp + eax + 0x3c], 0
test esi, esi
je 0x434f60
cmp byte [esi], 0x23
jne 0x435087
lea eax, [esi + 1]
test eax, eax
je 0x434f60
mov ebx, dword [esp + 0x1c]
mov edx, 0xffff
cmp bx, dx
jae 0x434f60
push eax
call fcn.004abcd7
mov esi, eax
add esp, 4
cmp esi, 0xffff
ja 0x434f60
test esi, esi
je 0x434f60
movzx eax, bx
cmp esi, eax
jne 0x434f60
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.00434d50
pop edi
pop ebp
mov ecx, dword [esp + 0x134]
pop ebx
pop esi
xor ecx, esp
call fcn.004aa641
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 0x4350b0
test dl, dl
je 0x4350ac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4350b0
add eax, 2
add ecx, 2
test dl, dl
jne 0x435090
xor eax, eax
jmp 0x4350b5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x434f60
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [esp + 0x14c]
push ecx
jmp 0x435065
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4350ed
mov ecx, dword [esp + 0x10]
movzx edx, word [esp + 0x1c]
inc edi
cmp edi, edx
jne 0x434f64
mov eax, ebp
jmp 0x43506c
xor eax, eax
jmp 0x43506e