Function at 0x406330
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51f7da
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x5640a8]
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 edi, ecx
push 0x56ea50
lea ecx, [ebp - 0x1a0]
call fcn.004d1b50
mov dword [ebp - 4], 0
call fcn.0042ec50
push eax
lea ecx, [ebp - 0x140]
call fcn.004d1d20
lea eax, [ebp - 0x140]
mov byte [ebp - 4], 1
push eax
push 0x53c688
lea ecx, [ebp - 0x1a0]
call fcn.004d2bc0
mov ecx, eax
call fcn.004d2540
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 0
call fcn.004d2420
lea eax, [ebp - 0x1dc]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov ax, word [ebp - 0x1dc]
cmp ax, 9
je 0x4063e0
mov byte [ebp - 0xf0], 0
cmp ax, 6
jne 0x4063e7
mov byte [ebp - 0xf0], 1
push dword [ebp - 0xf0]
lea ecx, [ebp - 0x140]
call fcn.004d2220
lea eax, [ebp - 0x140]
mov byte [ebp - 4], 2
push eax
push str.bit64
lea ecx, [ebp - 0x1a0]
call fcn.004d2bc0
mov ecx, eax
call fcn.004d2540
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 0
call fcn.004d2420
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x1a0]
call fcn.004d59b0
sub esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x294]
call fcn.00407200
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 4
call fcn.00408aa0
mov edx, str._api_resource_products
mov ecx, eax
call fcn.00408d40
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x294]
call fcn.004070f0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
lea edx, [ebp - 0x58]
mov eax, 0x56e9fc
cmovae ecx, dword [ebp - 0x40]
cmp dword [0x56ea10], 8
push ecx
push dword [ebp - 0x30]
cmovae eax, dword [0x56e9fc]
cmp dword [ebp - 0x44], 8
push ecx
cmovae edx, dword [ebp - 0x58]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.0041ec00
add esp, 0x14
mov byte [ebp - 4], 6
cmp dword [ebp - 0x18], 0
jne 0x40660d
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x40650f
mov ecx, dword [ebp - 0x28]
inc eax
cmp eax, 0x1000
jb 0x406506
test cl, 0x1f
je 0x4064e2
call fcn.004fe3de
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x4064ee
call fcn.004fe3de
sub ecx, eax
cmp ecx, 4
jae 0x4064fa
call fcn.004fe3de
cmp ecx, 0x23
jbe 0x406504
call fcn.004fe3de
mov ecx, eax
push ecx
call fcn.004e1ddf
add esp, 4
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp eax, 8
jb 0x40657e
mov ecx, dword [ebp - 0x58]
inc eax
cmp eax, 0x7fffffff
jbe 0x40653d
call fcn.004fe3de
add eax, eax
cmp eax, 0x1000
jb 0x406575
test byte [ebp - 0x58], 0x1f
je 0x406551
call fcn.004fe3de
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x40655d
call fcn.004fe3de
sub ecx, eax
cmp ecx, 4
jae 0x406569
call fcn.004fe3de
cmp ecx, 0x23
jbe 0x406573
call fcn.004fe3de
mov ecx, eax
push ecx
call fcn.004e1ddf
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], 7
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
call fcn.00407110
mov byte [ebp - 4], 7
lea eax, [ebp - 0x22c]
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
push eax
call fcn.004df761
mov eax, dword [ebp - 0x2c]
add esp, 4
cmp eax, 0x10
jb 0x406e88
mov ecx, dword [ebp - 0x40]
inc eax
cmp eax, 0x1000
jb 0x4065ff
test cl, 0x1f
je 0x4065db
call fcn.004fe3de
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x4065e7
call fcn.004fe3de
sub ecx, eax
cmp ecx, 4
jae 0x4065f3
call fcn.004fe3de
cmp ecx, 0x23
jbe 0x4065fd
call fcn.004fe3de
mov ecx, eax
push ecx
call fcn.004e1ddf
add esp, 4
jmp 0x406e88
lea ecx, [ebp - 0xe8]
call fcn.004d6160
push 0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 8
call fcn.004d2010
mov byte [ebp - 4], 9
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x10c], 0xf
cmovae edx, dword [ebp - 0x28]
mov dword [ebp - 0x110], 0
mov byte [ebp - 0x120], 0
cmp byte [edx], 0
jne 0x406659
xor ecx, ecx
jmp 0x406669
mov ecx, edx
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406660
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x120]
call fcn.004081f0
push 1
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0xe8]
call fcn.004daa90
mov byte [ebp - 4], 9
mov bl, al
mov ecx, dword [ebp - 0x10c]
cmp ecx, 0x10
jb 0x4066e9
mov edx, dword [ebp - 0x120]
inc ecx
cmp ecx, 0x1000
jb 0x4066e0
test dl, 0x1f
je 0x4066bc
call fcn.004fe3de
mov eax, dword [edx - 4]
cmp eax, edx
jb 0x4066c8
call fcn.004fe3de
sub edx, eax
cmp edx, 4
jae 0x4066d4
call fcn.004fe3de
cmp edx, 0x23
jbe 0x4066de
call fcn.004fe3de
mov edx, eax
push edx
call fcn.004e1ddf
add esp, 4
test bl, bl
jne 0x4067a1
lea ecx, [ebp - 0x70]
call fcn.004d2420
lea ecx, [ebp - 0xe8]
call fcn.00424b90
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x406752
mov ecx, dword [ebp - 0x28]
inc eax
cmp eax, 0x1000
jb 0x406749
test cl, 0x1f
je 0x406725
call fcn.004fe3de
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x406731
call fcn.004fe3de
sub ecx, eax
cmp ecx, 4
jae 0x40673d
call fcn.004fe3de
cmp ecx, 0x23
jbe 0x406747
call fcn.004fe3de
mov ecx, eax
push ecx
call fcn.004e1ddf
add esp, 4
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp eax, 8
jb 0x406779
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00402f10
xor eax, eax
mov dword [ebp - 0x44], 7
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
call fcn.00407110
mov byte [ebp - 4], 0xb
jmp 0x4065a1
push 0
lea ecx, [ebp - 0x1b8]
call fcn.004d2010
push str.data
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xc
call fcn.004d4fa0
test al, al
je 0x406ddd
push str.data
lea ecx, [ebp - 0x70]
call fcn.004d2bc0
mov ecx, eax
call fcn.004d4e40
test al, al
je 0x406ddd
push str.data
lea ecx, [ebp - 0x70]
call fcn.004d2bc0
push eax
lea ecx, [ebp - 0x1b8]
call fcn.004d25a0
lea ecx, [ebp - 0x1b8]
call fcn.004d5810
test eax, eax
je 0x406d5e
lea eax, [ebp - 0x160]
push eax
lea ecx, [ebp - 0x1b8]
call fcn.004d3fb0
lea eax, [ebp - 0x1e4]
push eax
lea ecx, [ebp - 0x1b8]
call fcn.004d43d0
lea eax, [ebp - 0x1e4]
push eax
lea ecx, [ebp - 0x160]
call fcn.004d4e80
test al, al
jne 0x406d1b
lea ecx, [ebp - 0x160]
call fcn.004d4030
push eax
lea ecx, [ebp - 0x108]
call fcn.004d1b50
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x108]
mov eax, dword [edi]
add eax, 0x54
push eax
push str.product_sn
call fcn.00424cc0
lea ecx, [ebp - 0x108]
test al, al
je 0x406d16
mov eax, dword [edi]
add eax, 0x6c
push eax
push 0x53c6d0
call fcn.00424cc0
lea ecx, [ebp - 0x108]
test al, al
je 0x406d16
lea eax, [ebp - 0xe9]
mov byte [ebp - 0xe9], 0
push eax
push str.suicide
call fcn.00424d60
test al, al
je 0x4068d4
cmp byte [ebp - 0xe9], 0
je 0x4068d4
call fcn.00430050
mov eax, dword [edi]
lea ecx, [ebp - 0x108]
add eax, 0x84
push eax
push str.desc
call fcn.00424cc0
mov eax, dword [edi]
lea ecx, [ebp - 0x108]
add eax, 0x9c
push eax
push str.banner
call fcn.00424cc0
mov eax, dword [edi]
lea ecx, [ebp - 0x108]
add eax, 0xb4
push eax
push str.coupon_home_enable
call fcn.00424d60
mov eax, dword [edi]
lea ecx, [ebp - 0x108]
add eax, 0xb8
push eax
push str.coupon_home_amount
call fcn.00424e00
mov eax, dword [edi]
lea ecx, [ebp - 0x108]
add eax, 0xc0
push eax
push str.coupon_order_enable
call fcn.00424d60
mov eax, dword [edi]
lea ecx, [ebp - 0x108]
add eax, 0xc8
push eax
push str.coupon_order_amount
call fcn.00424e00
mov eax, dword [edi]
lea ecx, [ebp - 0x108]
add eax, 0xd0
push eax
push str.coupon_order_discount
call fcn.00424db0
mov ecx, dword [edi]
mov edx, dword [ecx + 0xd0]
test edx, edx
jle 0x4069a8
mov eax, 0x66666667
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ecx + 0xd0], eax
mov eax, dword [edi]
mov byte [eax + 0xc0], 1
push 0
lea ecx, [ebp - 0x140]
call fcn.004d2010
lea eax, [ebp - 0x140]
mov byte [ebp - 4], 0xf
push eax
push str.inner_ad
lea ecx, [ebp - 0x108]
call fcn.00424ea0
test al, al
je 0x406a25
mov eax, dword [edi]
lea ecx, [ebp - 0x140]
add eax, 0xd4
push eax
push str.enable
call fcn.00424d60
mov eax, dword [edi]
cmp byte [eax + 0xd4], 0
je 0x406a25
add eax, 0xf0
lea ecx, [ebp - 0x140]
push eax
push 0x53c76c
call fcn.00424cc0
mov eax, dword [edi]
lea ecx, [ebp - 0x140]
add eax, 0xd8
push eax
push str.link
call fcn.00424cc0
push 0
lea ecx, [ebp - 0x1d0]
call fcn.004d2010
lea eax, [ebp - 0x1d0]
mov byte [ebp - 4], 0x10
push eax
push str.pop_ad
lea ecx, [ebp - 0x108]
call fcn.00424ea0
test al, al
je 0x406aa2
mov eax, dword [edi]
lea ecx, [ebp - 0x1d0]
add eax, 0x108
push eax
push str.enable
call fcn.00424d60
mov eax, dword [edi]
cmp byte [eax + 0x108], 0
je 0x406aa2
add eax, 0x124
lea ecx, [ebp - 0x1d0]
push eax
push 0x53c76c
call fcn.00424cc0
mov eax, dword [edi]
lea ecx, [ebp - 0x1d0]
add eax, 0x10c
push eax
push str.link
call fcn.00424cc0
push 0
lea ecx, [ebp - 0x120]
call fcn.004d2010
lea eax, [ebp - 0x120]
mov byte [ebp - 4], 0x11
push eax
push str.icon_ad
lea ecx, [ebp - 0x108]
call fcn.00424ea0
test al, al
je 0x406b37
mov eax, dword [edi]
lea ecx, [ebp - 0x120]
add eax, 0x13c
push eax
push str.enable
call fcn.00424d60
mov eax, dword [edi]
cmp byte [eax + 0x13c], 0
je 0x406b37
add eax, 0x170
lea ecx, [ebp - 0x120]
push eax
push 0x53c788
call fcn.00424cc0
mov eax, dword [edi]
lea ecx, [ebp - 0x120]
add eax, 0x140
push eax
push str.link
call fcn.00424cc0
mov eax, dword [edi]
lea ecx, [ebp - 0x120]
add eax, 0x158
push eax
push 0x53c6d0
call fcn.00424cc0
push 0
lea ecx, [ebp - 0x188]
call fcn.004d2010
lea eax, [ebp - 0x188]
mov byte [ebp - 4], 0x12
push eax
push str.packages
lea ecx, [ebp - 0x108]
call fcn.00424e50
lea ecx, [ebp - 0x188]
test al, al
je 0x406cea
call fcn.004d5810
lea ecx, [ebp - 0x188]
cmp eax, 1
jb 0x406cea
lea eax, [ebp - 0x128]
push eax
call fcn.004d3fb0
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x188]
call fcn.004d43d0
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x128]
call fcn.004d4e80
test al, al
jne 0x406ce4
nop dword [eax]
lea ecx, [ebp - 0x128]
call fcn.004d4030
push eax
lea ecx, [ebp - 0x158]
call fcn.004d1b50
push 0x60
mov byte [ebp - 4], 0x13
call fcn.004e204b
push 0x60
mov esi, eax
push 0
push esi
call fcn.004fb530
add esp, 0x10
mov ecx, esi
call fcn.00406f30
mov esi, eax
mov dword [ebp - 0xf0], esi
lea ecx, [esi + 0x18]
push ecx
push str.package_sn
lea ecx, [ebp - 0x158]
call fcn.00424cc0
lea ecx, [ebp - 0x158]
test al, al
je 0x406cdf
lea eax, [esi + 0x30]
push eax
push 0x53c6d0
call fcn.00424cc0
lea ecx, [ebp - 0x158]
test al, al
je 0x406cdf
lea eax, [esi + 8]
push eax
push str.origin_price
call fcn.00424e00
lea ecx, [ebp - 0x158]
test al, al
je 0x406cdf
push esi
push str.sale_price
call fcn.00424e00
lea ecx, [ebp - 0x158]
test al, al
je 0x406cdf
lea eax, [esi + 0x48]
push eax
push str.trade_no
call fcn.00424cc0
lea ecx, [ebp - 0x158]
test al, al
je 0x406cdf
lea eax, [esi + 0x10]
push eax
push str.discount_price
call fcn.00424e00
mov ecx, dword [edi]
lea eax, [ebp - 0xf0]
push eax
add ecx, 0x188
call fcn.00406f80
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 0x12
call fcn.004d2420
lea ecx, [ebp - 0x128]
call fcn.004d4d90
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x128]
call fcn.004d4e80
test al, al
je 0x406bc0
jmp 0x406ce4
call fcn.004d2420
lea ecx, [ebp - 0x188]
call fcn.004d2420
lea ecx, [ebp - 0x120]
call fcn.004d2420
lea ecx, [ebp - 0x1d0]
call fcn.004d2420
lea ecx, [ebp - 0x140]
call fcn.004d2420
lea ecx, [ebp - 0x108]
call fcn.004d2420
mov ecx, dword [edi]
push 0xffffffffffffffff
push 0
mov eax, dword [ecx + 8]
mov dword [ebp - 0x170], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x16c], eax
lea eax, [ebp - 0x170]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
jne 0x406d5e
mov eax, dword [edi]
mov eax, dword [eax]
test eax, eax
je 0x406d5e
push 0
push 0
push 0x7e9
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [ebp - 0x1b8]
call fcn.004d2420
lea ecx, [ebp - 0x70]
call fcn.004d2420
lea ecx, [ebp - 0xe8]
call fcn.00424b90
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x406d91
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402920
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp eax, 8
jb 0x406db8
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00402f10
xor eax, eax
mov dword [ebp - 0x44], 7
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
call fcn.00407110
mov byte [ebp - 4], 0x14
jmp 0x406e5a
lea ecx, [ebp - 0x1b8]
call fcn.004d2420
lea ecx, [ebp - 0x70]
call fcn.004d2420
lea ecx, [ebp - 0xe8]
call fcn.00424b90
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x406e10
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402920
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp eax, 8
jb 0x406e37
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00402f10
xor eax, eax
mov dword [ebp - 0x44], 7
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
call fcn.00407110
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x22c]
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
push eax
call fcn.004df761
mov eax, dword [ebp - 0x2c]
add esp, 4
cmp eax, 0x10
jb 0x406e88
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00402920
lea ecx, [ebp - 0x1a0]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.004d2420
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.004e1de4
mov esp, ebp
pop ebp
ret