Function at 0x425790
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1164
call fcn.0065e090
mov eax, dword [0x70e00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, ecx
mov dword [ebp - 0x115c], 0xfffffffe
push edi
xor edi, edi
mov dword [ebp - 0x1164], eax
mov dword [ebp - 0x1158], edi
lea ecx, [ebp - 0x1148]
mov dword [ebp - 0x1148], ecx
mov dword [ebp - 0x1144], ecx
mov dword [ebp - 0x1160], edi
test eax, eax
jne 0x4257fe
call fcn.0060a381
mov dword [eax], 0xffffffea
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aa758
mov esp, ebp
pop ebp
ret
push 0x746fa4
mov dword [eax], edi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov eax, dword [0x73c668]
mov ebx, dword [0x73c66c]
mov dword [ebp - 0x1150], eax
mov dword [ebp - 0x114c], ebx
test eax, eax
je 0x4259ed
test ebx, ebx
je 0x425853
push dword [ebp + 0xc]
push dword [ebp + 8]
push str.lsmod__I64d
push ebx
call fcn.004125e0
push str._n__
push ebx
call fcn.004125e0
add esp, 0x18
mov eax, dword [ebp - 0x1150]
test eax, eax
je 0x4259ed
test ebx, ebx
je 0x4259ed
push eax
lea eax, [ebp - 0x1008]
push 0x1000
push eax
call fcn.0061ab04
add esp, 0xc
test eax, eax
je 0x4259f7
cmp byte [ebp - 0x1008], 0x1b
jne 0x4258ab
lea eax, [ebp - 0x115c]
push eax
lea eax, [ebp - 0x1007]
push 0x6ec2f0
push eax
call fcn.004316f0
add esp, 0xc
mov eax, 1
jmp 0x4258ad
xor eax, eax
xor eax, 1
je 0x4259f7
lea ecx, [ebp - 0x1008]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4258c0
sub ecx, edx
lea eax, [ecx - 1]
test eax, eax
js 0x4258f9
mov cl, byte [ebp + eax - 0x1008]
cmp cl, 0xd
je 0x4258e1
cmp cl, 0xa
jne 0x4258f9
cmp eax, 0x1000
jae 0x425bd6
mov byte [ebp + eax - 0x1008], 0
sub eax, 1
jns 0x4258d0
push 0x218
call fcn.0060a1f7
mov esi, eax
add esp, 4
mov eax, dword [ebp - 0x1150]
test esi, esi
je 0x425853
push 0x10
lea eax, [ebp - 0x1154]
push eax
lea eax, [ebp - 0x1008]
push eax
call fcn.00611a48
mov dword [esi], eax
add esp, 0xc
mov dword [esi + 4], edx
lea eax, [ebp - 0x1008]
mov ebx, dword [ebp - 0x1154]
cmp eax, ebx
jne 0x425957
push esi
call fcn.005fa0fb
mov ebx, dword [ebp - 0x114c]
add esp, 4
jmp 0x42584d
push 0x10
lea eax, [ebp - 0x1154]
push eax
push ebx
call fcn.00611a1c
mov dword [esi + 8], eax
add esp, 0xc
mov edi, dword [ebp - 0x1154]
cmp ebx, edi
jne 0x425990
push esi
call fcn.005fa0fb
mov ebx, dword [ebp - 0x114c]
add esp, 4
mov edi, dword [ebp - 0x1158]
jmp 0x42584d
push 0x6ea8b4
push edi
call fcn.0061abd0
add edi, eax
lea eax, [esi + 0xc]
push 0x200
push edi
push eax
call fcn.00601480
mov edi, dword [ebp - 0x1158]
lea ecx, [esi + 0x20c]
mov ebx, dword [ebp - 0x114c]
lea edx, [ebp - 0x1148]
mov byte [esi + 0x20b], 0
add esp, 0x14
mov eax, dword [ebp - 0x1144]
inc edi
mov dword [ebp - 0x1144], ecx
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov dword [eax], ecx
mov dword [ebp - 0x1158], edi
jmp 0x42584d
mov dword [ebp - 0x115c], 0xfffffff7
push 0x746fa4
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
test edi, edi
je 0x425a2a
imul eax, edi, 0x220
push eax
call fcn.0060a1f7
add esp, 4
mov dword [ebp - 0x1160], eax
test eax, eax
jne 0x425a8b
call fcn.0060a381
mov dword [eax], 0xfffffff4
mov esi, dword [ebp - 0x1148]
mov edi, dword [esi]
lea eax, [ebp - 0x1148]
cmp esi, eax
je 0x425a74
nop dword [eax]
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov dword [eax], ecx
lea eax, [esi - 0x20c]
push eax
mov dword [esi + 4], 0
mov dword [esi], 0
call fcn.005fa0fb
mov esi, edi
lea eax, [ebp - 0x1148]
mov edi, dword [edi]
add esp, 4
cmp esi, eax
jne 0x425a40
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x1160]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004aa758
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x1148]
lea edx, [ebp - 0x1148]
xor ecx, ecx
mov dword [ebp - 0x114c], ecx
cmp esi, edx
je 0x425bc9
lea ebx, [eax + 0x217]
nop dword [eax]
xor edi, edi
lea eax, [ebp - 0x1048]
push edi
push 0x40
push eax
push dword [esi - 0x208]
push dword [esi - 0x20c]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x7171e8]
add esp, 0x1c
test eax, eax
js 0x425b30
mov eax, 0x5a4d
cmp word [ebp - 0x1048], ax
jne 0x425b30
mov ecx, dword [ebp - 0x100c]
lea eax, [ebp - 0x1140]
push edi
push 0xf8
push eax
xor eax, eax
add ecx, dword [esi - 0x20c]
adc eax, dword [esi - 0x208]
push eax
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x7171e8]
add esp, 0x1c
test eax, eax
js 0x425b30
cmp dword [ebp - 0x1140], 0x4550
cmove edi, dword [ebp - 0x1118]
push 0x200
lea eax, [esi - 0x200]
push eax
lea eax, [ebx - 0x1ff]
push eax
call fcn.00601480
mov ecx, dword [ebp - 0x114c]
add esp, 0xc
mov byte [ebx], 0
mov dword [ebx - 0x217], 0
mov eax, dword [esi - 0x20c]
mov dword [ebx - 0x213], eax
mov eax, dword [esi - 0x208]
mov dword [ebx - 0x20f], eax
xor eax, eax
add edi, dword [esi - 0x20c]
adc eax, dword [esi - 0x208]
mov dword [ebx - 0x203], eax
mov dword [ebx - 0x207], edi
mov eax, dword [esi - 0x204]
mov dword [ebx - 0x20b], eax
xor eax, eax
test ecx, ecx
sete al
inc ecx
mov dword [ebx + 1], eax
add ebx, 0x220
mov esi, dword [esi]
lea eax, [ebp - 0x1148]
mov dword [ebp - 0x114c], ecx
cmp esi, eax
jne 0x425ab0
mov esi, dword [ebp - 0x1148]
mov eax, dword [ebp - 0x1164]
mov dword [eax], ecx
jmp 0x425a30
call fcn.004aaf06
int3