Function at 0x433ac0
Capabilities:
Get system information on windows
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4caa2b
mov eax, dword fs:[0]
push eax
sub esp, 0x188
mov eax, dword [0x50c3e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov cx, word [0x50b428]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x158], eax
cmp cx, 0xffff
je 0x433b12
xor edx, edx
cmp cx, 1
sete dl
jmp 0x433bb3
push 0x100
lea eax, [ebp - 0x13c]
mov dword [ebp - 0x150], 0x11c
push 0
push eax
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], 0
call fcn.0048f8b0
mov esi, dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
add esp, 0xc
xor eax, eax
mov word [ebp - 0x3a], ax
mov dword [ebp - 0x38], eax
push 3
push 0x20
push 3
push 1
push 3
push 2
push eax
push eax
call esi
push edx
push eax
call esi
push edx
push eax
call esi
push edx
push eax
push 0x23
lea eax, [ebp - 0x150]
mov dword [ebp - 0x14c], 6
xor ecx, ecx
mov dword [ebp - 0x148], 0
push eax
mov word [ebp - 0x3c], cx
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
xor edx, edx
test eax, eax
setne dl
xor ecx, ecx
test eax, eax
mov eax, dword [ebp - 0x158]
setne cl
mov word [0x50b428], cx
test edx, edx
je 0x433cfa
lea ecx, [ebp - 0x194]
mov dword [ebp - 0x154], 0
call fcn.00433720
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
test edi, edi
jne 0x433c5b
push dword [ebp - 0x158]
lea ecx, [ebp - 0x28]
call fcn.00403650
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x194]
call fcn.00434160
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x154], eax
mov byte [ebp - 4], 0
call fcn.00402320
lea ecx, [ebp - 0x194]
call fcn.00434530
lea ecx, [ebp - 0x194]
mov esi, eax
call fcn.004347d0
mov ecx, dword [ebp - 0x154]
test ecx, ecx
je 0x433ce6
cmp esi, ecx
jne 0x433ce6
test al, al
je 0x433ce6
lea ecx, [ebp - 0x194]
mov bl, 1
call fcn.00433890
mov al, bl
jmp 0x433e7a
mov edi, dword [edi]
mov esi, dword [edi]
cmp esi, edi
je 0x433c11
jmp 0x433c70
push dword [ebp - 0x158]
lea ecx, [ebp - 0x28]
call fcn.00403650
push dword [esi + 0xc]
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push dword [esi + 8]
lea ecx, [ebp - 0x194]
push eax
call fcn.004341f0
add dword [ebp - 0x154], eax
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x433cdb
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x433cd1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x433e96
push edx
push ecx
call fcn.0048d1e5
add esp, 8
mov esi, dword [esi]
cmp esi, edi
jne 0x433c70
jmp 0x433c11
lea ecx, [ebp - 0x194]
xor bl, bl
call fcn.00433890
mov al, bl
jmp 0x433e7a
push 9
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edx, eax
mov dword [ebp - 0x160], edx
test edx, edx
je 0x433e78
mov eax, 0x5a4d
cmp word [edx], ax
jne 0x433e78
mov ecx, dword [edx + 0x3c]
cmp dword [ecx + edx], 0x4550
jne 0x433e78
mov eax, 0xe0
cmp word [ecx + edx + 0x14], ax
jne 0x433e78
mov eax, 0x10b
cmp word [ecx + edx + 0x18], ax
jne 0x433e78
mov esi, dword [ecx + edx + 0x50]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x154], eax
test esi, esi
je 0x433e6d
xor eax, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edi, dword [ebp - 0x30]
mov eax, 0x1000
mov edx, dword [ebp - 0x160]
test edi, edi
mov ebx, edx
cmove edi, eax
xor ecx, ecx
mov dword [ebp - 0x30], edi
lea eax, [edx - 1]
add eax, esi
xor esi, esi
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x433dd2
mov eax, dword [eax]
mov ecx, dword [eax]
cmp ecx, eax
jne 0x433dcf
xor eax, eax
mov dword [ebp - 0x154], eax
jmp 0x433dd2
mov eax, dword [ebp + 0xc]
cmp edx, dword [ebp - 0x15c]
jae 0x433e57
lea ebx, [ebx]
mov edx, edi
test eax, eax
je 0x433e3c
cmp dword [ecx + 0xc], esi
jae 0x433e26
mov eax, dword [eax]
lea ecx, [ecx]
mov ecx, dword [ecx]
cmp ecx, eax
je 0x433e51
cmp dword [ecx + 0xc], esi
jb 0x433df0
cmp ecx, eax
je 0x433e51
lea eax, [esi + edi]
mov edi, dword [ebp - 0x30]
cmp eax, dword [ecx + 8]
jae 0x433e2e
mov eax, dword [ecx + 8]
xor edx, edx
sub eax, esi
div edi
mov edx, eax
mov eax, 1
test edx, edx
cmove edx, eax
imul edx, edi
add esi, edx
jmp 0x433e41
lea eax, [esi + edi]
cmp eax, dword [ecx + 8]
jb 0x433e38
cmp esi, dword [ecx + 0xc]
ja 0x433e38
mov al, byte [ebx]
mov edi, dword [ebp - 0x30]
add esi, edx
jmp 0x433e41
mov al, byte [ebx]
mov edi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x154]
add ebx, edx
cmp ebx, dword [ebp - 0x15c]
jb 0x433de0
mov edx, dword [ebp - 0x160]
mov eax, dword [ebp - 0x154]
test eax, eax
je 0x433e65
cmp ecx, dword [eax]
je 0x433e6d
mov eax, dword [ebp - 0x15c]
mov al, byte [eax]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, 1
jmp 0x433e7a
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048d444
mov esp, ebp
pop ebp
ret
call fcn.00498b39
int3