Function at 0x41dea0
Capabilities:
Get system information on windows

Disassembly:
push 0xffffffffffffffff
push 0x4fe315
mov eax, dword fs:[0]
push eax
mov eax, 0x206c
call fcn.004b7ac0
mov eax, dword [0x52e144]
xor eax, esp
mov dword [esp + 0x2068], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x52e144]
xor eax, esp
push eax
lea eax, [esp + 0x2080]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2090]
mov ebp, dword [esp + 0x2098]
mov dword [esp + 0x18], esi
jmp 0x41df03
mov edi, dword [esi + 0x2c]
mov eax, fcn.00418910
cmp byte [eax], 0x6a
mov dword [esp + 0x14], edi
jne 0x41f653
mov eax, fcn.00418910
add eax, 2
cmp byte [eax], 0x68
mov dword [esp + 0x38], eax
jne 0x41f653
mov eax, fcn.00418910
add eax, 7
cmp byte [eax], 0x64
mov dword [esp + 0x34], eax
jne 0x41f653
mov eax, fcn.00418910
cmp byte [eax + 0xe], 0x83
jne 0x41f653
mov ecx, fcn.00418910
cmp byte [ecx + 0x12], 0x55
jne 0x41f653
mov edx, fcn.00418910
cmp byte [edx + 0x15], 0xa1
jne 0x41f653
mov eax, fcn.00418910
cmp byte [eax + 0x1d], 0x8d
jne 0x41f653
mov ecx, fcn.00418910
cmp byte [ecx + 0x21], 0x64
jne 0x41f653
mov edx, fcn.00418910
cmp byte [edx + 0x27], 0x8b
jne 0x41f653
mov eax, fcn.00418910
cmp byte [eax + 0x2f], 0x38
jne 0x41f653
mov ecx, fcn.00418910
mov al, 0xc7
cmp byte [ecx + 0x35], al
jne 0x41f653
mov edx, fcn.00418910
cmp byte [edx + 0x3d], 0xf
jne 0x41f653
mov ecx, fcn.00418910
cmp byte [ecx + 0x40], 0x88
jne 0x41f653
mov edx, fcn.00418910
cmp byte [edx + 0x44], 0x3c
jne 0x41f653
mov edx, fcn.00418910
mov cl, 0x39
cmp byte [edx + 0x48], cl
jne 0x41f653
mov edx, fcn.00418910
cmp byte [edx + 0x50], 0x68
jne 0x41f653
mov ebx, fcn.00418910
mov dl, 0xff
cmp byte [ebx + 0x55], dl
jne 0x41f653
mov ebx, fcn.00418910
cmp byte [ebx + 0x57], 0x89
jne 0x41f653
mov ebx, fcn.00418910
cmp byte [ebx + 0x5b], al
jne 0x41f653
mov ebx, fcn.00418910
mov al, 0xc6
cmp byte [ebx + 0x63], al
jne 0x41f653
mov ebx, fcn.00418910
cmp byte [ebx + 0x68], cl
jne 0x41f653
mov ecx, fcn.00418910
cmp byte [ecx + 0x6e], 0x74
jne 0x41f653
mov ecx, fcn.00418910
cmp byte [ecx + 0x70], 0x68
jne 0x41f653
mov ecx, fcn.00418910
cmp byte [ecx + 0x75], dl
jne 0x41f653
mov edx, fcn.00418910
cmp byte [edx + 0x77], al
jne 0x41f653
mov eax, fcn.00418910
mov al, byte [eax + 0x7c]
cmp al, 0xeb
je 0x41e0a0
cmp al, 0xe9
jne 0x41f653
cmp edi, dword [0x5383cc]
jbe 0x41e0ae
mov dword [0x5383cc], edi
mov ecx, dword [esp + 0x2094]
push ebp
push ecx
push edi
push 0x51230c
call fcn.00404690
add esp, 4
push eax
push 0x527e20
call fcn.00401350
mov eax, dword [esp + 0x20a8]
add esp, 0x14
cmp eax, 0x61b
jne 0x41e33a
push 0x1fff
lea edx, [esp + 0x81]
push 0
push edx
mov byte [esp + 0x88], 0
call fcn.004b6dc0
add esp, 0xc
cmp dword [0x537520], 0
jne 0x41e117
push 0x5122fc
jmp 0x41ed37
mov byte [edi + 0x53ca54], 0
mov eax, dword [esi + 0x1638]
mov dword [edi*4 + 0x548ac8], eax
mov ebp, dword [esi + 0x163c]
lea ecx, [ebp + ebp + 1]
lea ebx, [esi + 0x1640]
cmp ecx, 0x2000
jbe 0x41e14a
mov eax, 0x50d147
jmp 0x41e17b
xor esi, esi
test ebp, ebp
jbe 0x41e16f
lea edi, [esp + 0x7c]
movzx edx, byte [esi + ebx]
push edx
push str._02X
push edi
call fcn.004b79a8
inc esi
add esp, 0xc
add edi, 2
cmp esi, ebp
jb 0x41e154
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x7c]
push eax
mov eax, dword [esi + 0x1638]
push ebp
push eax
push edi
push 0x5122dc
call fcn.00404690
add esp, 4
push eax
push 0x527e20
call fcn.00401350
add esp, 0x18
test byte [0x53b268], 1
jne 0x41e1d1
or dword [0x53b268], 1
mov dword [esp + 0x2088], 0
call dword [0x5385fc]
mov dword [0x53b264], eax
mov dword [esp + 0x2088], 0xffffffff
call dword [0x5385fc]
mov ecx, dword [0x53b260]
cmp ecx, edi
jae 0x41e1e9
mov ecx, edi
mov dword [0x53b260], ecx
inc dword [0x53b25c]
mov edx, eax
sub edx, dword [0x53b264]
cmp edx, 0xea60
jbe 0x41e229
add ecx, 0xa
cmp dword [0x53b25c], ecx
jb 0x41e21a
mov dword [edi*4 + 0x5377b8], 0xe16
jmp 0x41e319
mov dword [0x53b264], eax
mov dword [0x53b25c], 0
mov esi, dword [0x53849c]
lea eax, [esp + 0x18]
push eax
mov byte [0x537ece], 1
mov dword [esp + 0x1c], fcn.00412130
call fcn.00418910
mov eax, fcn.00412130
xor eax, 0xdc73bebd
lea ecx, [eax*8]
sub ecx, eax
add ecx, 0x353f3a
add esp, 4
cmp dword [esp + 0x18], ecx
je 0x41e27a
mov dword [edi*4 + 0x5377b8], 0xe17
jmp 0x41e319
mov edx, dword [0x539714]
imul edx, dword [0x53789c]
mov eax, dword [0x527db4]
imul eax, eax, 0x426c7565
xor edx, eax
xor edx, dword [0x538648]
add edx, dword [0x537cc8]
xor edx, esi
cmp dword [0x53849c], edx
je 0x41e2b7
mov dword [edi*4 + 0x5377b8], 0xe1a
jmp 0x41e319
cmp byte [0x548ac3], 0
je 0x41e30e
cmp byte [0x548ac2], 0
je 0x41e30e
mov ecx, dword [0x548d54]
push ecx
call fcn.00418850
add esp, 4
test eax, eax
je 0x41e301
mov edx, dword [0x548ef0]
push edx
call fcn.00418850
add esp, 4
test eax, eax
je 0x41e301
mov eax, dword [0x548ef4]
push eax
call fcn.00418850
add esp, 4
test eax, eax
jne 0x41e319
mov dword [edi*4 + 0x5377b8], 0xe18
jmp 0x41e319
mov dword [edi*4 + 0x5377b8], 0xe19
mov ecx, dword [0x537520]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push edi
push 0x1000
push ebp
push ebx
call eax
mov byte [edi + 0x53ca54], 1
jmp 0x41f63f
cmp eax, 0x63f
jne 0x41e370
imul edi, edi, 0x6c
mov ecx, dword [edi + 0x539714]
lea edx, [ecx + ebp + 0x73171914]
xor edx, dword [0x526960]
mov ecx, esi
push edx
push eax
push 0x8b1
mov dword [0x538348], ebp
call fcn.004055d0
jmp 0x41f63f
cmp eax, 0x619
je 0x41efb4
cmp eax, 0x61a
je 0x41efb4
cmp eax, 0x616
jne 0x41e630
cmp byte [0x53788c], 0
je 0x41f63f
cmp dword [0x537c50], 1
jne 0x41e3c4
push 0x5122cc
call fcn.00404690
push eax
push 0x527e20
call fcn.00401350
add esp, 0xc
jmp 0x41f670
cmp dword [0x537540], 0
je 0x41e429
call dword [0x5385fc]
sub eax, dword [0x537540]
cmp eax, 0xc8
jae 0x41e429
call dword [0x5385fc]
sub eax, dword [0x537540]
push eax
call dword [0x5385fc]
push eax
mov eax, dword [0x537540]
push eax
push 0x5122ac
call fcn.00404690
add esp, 4
push eax
push 0x527e20
call fcn.00401350
mov eax, dword [0x537544]
inc eax
add esp, 0x14
mov dword [0x537544], eax
cmp eax, 0x14
ja 0x41f66b
mov esi, dword [0x53849c]
lea edx, [esp + 0x14]
lea ecx, [esp + 0x2094]
push edx
mov byte [0x537ece], 1
mov dword [esp + 0x18], ecx
call fcn.00418910
lea eax, [esp + 0x2098]
xor eax, 0xdc73bebd
lea ecx, [eax*8]
sub ecx, eax
add ecx, 0x353f3a
add esp, 4
cmp dword [esp + 0x14], ecx
jne 0x41f670
mov edx, dword [0x539714]
imul edx, dword [0x53789c]
mov eax, dword [0x527db4]
imul eax, eax, 0x426c7565
xor edx, eax
xor edx, dword [0x538648]
add edx, dword [0x537cc8]
xor edx, esi
cmp dword [0x53849c], edx
je 0x41e4ad
push 0x5122a0
jmp 0x41f658
mov eax, 4
test byte [0x53b268], al
jne 0x41e4e1
or dword [0x53b268], eax
mov dword [esp + 0x2088], 3
call dword [0x5385fc]
mov dword [0x53b258], eax
mov dword [esp + 0x2088], 0xffffffff
mov edx, dword [0x53b254]
mov ecx, dword [0x548f10]
cmp edx, ecx
je 0x41e5b9
mov dword [0x53b254], ecx
mov dword [0x53b250], 0
call dword [0x5385fc]
mov ecx, dword [0x548d54]
push ecx
mov dword [0x53b258], eax
call fcn.00418850
add esp, 4
test eax, eax
je 0x41f63f
mov edx, dword [0x548ef0]
push edx
call fcn.00418850
add esp, 4
test eax, eax
je 0x41f63f
mov eax, dword [0x548ef4]
push eax
call fcn.00418850
add esp, 4
test eax, eax
je 0x41f63f
push edi
push ebp
call fcn.0040efa0
mov esi, eax
mov eax, dword [0x53c488]
add esp, 8
test eax, eax
je 0x41e595
mov ecx, dword [eax + 0x220]
test ecx, ecx
je 0x41e595
test byte [eax], 1
je 0x41e595
push 0x51227c
or esi, ecx
mov byte [eax], 2
call fcn.00404690
push eax
push 0x527e20
call fcn.00401350
add esp, 0xc
mov ecx, dword [esp + 0x18]
push esi
push 0x63a
push 0x8b1
call fcn.004055d0
call dword [0x5385fc]
mov dword [0x537540], eax
jmp 0x41f63f
mov eax, dword [0x53b250]
inc eax
mov dword [0x53b250], eax
cmp eax, 0x32
jbe 0x41e5ec
push eax
push ecx
push edx
push 0x512268
call fcn.00404690
add esp, 4
push eax
push 0x527e20
call fcn.00401350
add esp, 0x14
jmp 0x41f670
call dword [0x5385fc]
sub eax, dword [0x53b258]
cmp eax, 0x1d4c0
jbe 0x41e505
call dword [0x5385fc]
sub eax, dword [0x53b258]
push eax
push 0x51225c
call fcn.00404690
add esp, 4
push eax
push 0x527e20
call fcn.00401350
add esp, 0xc
jmp 0x41f670
cmp eax, 0x60f
je 0x41eda9
cmp eax, 0x610
je 0x41eda9
cmp eax, 0x618
jne 0x41e896
mov ecx, dword [0x527da4]
imul ecx, ecx, 0x320
cmp ebp, ecx
jb 0x41f63f
mov esi, edi
imul edi, edi, 0x6c
mov edx, dword [edi + 0x53974c]
push edx
push ebp
push 0x512230
call fcn.00404690
add esp, 4
push eax
push 0x527e20
call fcn.00401350
add esp, 0x10
call fcn.0040a830
cmp eax, 1
jbe 0x41e8c6
cmp dword [0x537c40], 0
jne 0x41e7cf
cmp byte [edi + 0x53975d], 0
je 0x41e7cf
push esi
call fcn.0040a800
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
je 0x41e7cf
mov ecx, 0x5389c0
call fcn.004ae430
mov eax, dword [edi + 0x539710]
cmp eax, 8
jne 0x41e701
test byte [edi + 0x539770], 2
je 0x41e701
mov eax, dword [0x5370cc]
push 0x89
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov ebx, 0x89
jmp 0x41e73c
cmp eax, 0x37
jne 0x41e728
test byte [edi + 0x539770], 2
je 0x41e728
mov ecx, dword [0x5370cc]
push 0x91
push ecx
call dword [sym.imp.USER32.dll_LoadIconA]
mov ebx, 0x91
jmp 0x41e73c
mov edx, dword [0x5370cc]
push 0x6b
push edx
call dword [sym.imp.USER32.dll_LoadIconA]
mov ebx, 0x6b
cmp dword [0x537f10], 0
mov ebp, eax
push 0xd05
jne 0x41e761
push 0x512214
call fcn.00404690
add esp, 4
push eax
lea eax, [esp + 0x44]
push eax
jmp 0x41e774
push 0x512200
call fcn.00404690
add esp, 4
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.004b79a8
mov esi, dword [esp + 0x24]
add esp, 0xc
imul esi, esi, 0x6c
mov eax, dword [esi + 0x539724]
push ebx
push ebp
lea edx, [esp + 0x44]
push edx
push 0x437
push eax
mov ecx, 0x5389c0
call fcn.004ae3e0
test eax, eax
jne 0x41e7c4
mov ecx, dword [esp + 0x18]
push ecx
push 0x5121dc
call fcn.00404690
add esp, 4
push eax
push 0x527e20
call fcn.00401350
add esp, 0xc
mov byte [esi + 0x53975d], 1
mov esi, dword [esp + 0x14]
cmp byte [0x527d8d], 0
mov dword [edi + 0x539760], 0xfffffc18
je 0x41e80c
mov edx, dword [edi + 0x539728]
mov eax, dword [edi + 0x539724]
mov ecx, dword [edi + 0x539714]
push edx
mov edx, dword [0x537890]
push eax
push ecx
or edx, 0x20000021
push edx
call fcn.004905d0
add esp, 0x10
push esi
push 0x5121c0
call fcn.00404690
add esp, 4
push eax
push 0x527e20
call fcn.00401350
add esp, 0xc
call fcn.00410630
test eax, eax
je 0x41e84e
push 1
push 0x5121a8
call fcn.00404690
add esp, 4
push eax
push 0x527e20
call fcn.00401350
add esp, 0xc
cmp dword [0x53ac38], 0
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
je 0x41e864
push 0x53ac20
call esi
cmp dword [0x53ac54], 0
je 0x41e874
push 0x53ac3c
call esi
movzx eax, byte [0x53788f]
push eax
mov ecx, 0x538898
call fcn.00401330
lea ecx, [edi + 0x539708]
call fcn.0040a770
jmp 0x41f63f
cmp eax, 0x611
jne 0x41e94e
mov esi, edi
imul esi, esi, 0x6c
cmp ebp, dword [esi + 0x539714]
je 0x41e8d2
push 0x512198
call fcn.00404690
push eax
push 0x527e20
call fcn.00401350
add esp, 0xc
call fcn.00418810
xor al, al
jmp 0x41f672
cmp byte [0x537552], 0
jne 0x41e943
cmp dword [0x537c58], 0
jne 0x41e943
cmp byte [0x52a6c2], 0
je 0x41e943
test edi, edi
jne 0x41e943
mov edx, dword [0x53789c]
lea ecx, [esp + 0x18]
push ecx
push edi
push edx
mov byte [0x52a6c2], 0
mov dword [esp + 0x24], edi
call 0x52cedd
mov eax, dword [esp + 0x18]
test eax, eax
je 0x41e943
cmp eax, ebp
je 0x41e943
push ebp
push eax
push 0x512174
call fcn.00404690
add esp, 4
push eax
push 0x527e20
call fcn.00401350
add esp, 0x10
call fcn.00418810
xor al, al
jmp 0x41f672
mov dword [esi + 0x53976c], ebp
jmp 0x41f63f
cmp eax, 0x617
jne 0x41ea5b
cmp byte [0x52a6c1], 0
je 0x41ea08
test edi, edi
jne 0x41ea08
cmp byte [0x54a134], 0
je 0x41ea08
cmp byte [0x527d8d], 0
je 0x41ea08
cmp dword [0x537c58], edi
jne 0x41ea08
mov eax, dword [0x539710]
cmp eax, 8
je 0x41e99f
cmp eax, 0x2b
jne 0x41ea08
mov eax, dword [0x539714]
push 0
push eax
call fcn.0048af70
add esp, 8
mov esi, eax
push esi
push 0x51215c
call fcn.00404690
add esp, 4
push eax
push 0x527e20
call fcn.00401350
add esp, 0xc
test esi, esi
jne 0x41ea08
push 0x51214c
call fcn.00404690
push eax
push 0x527e20
call fcn.00401350
push 1
push 0xa
push 0x639
push 0x8b1
call fcn.00417130
add esp, 0x1c
call fcn.00418810
xor al, al
jmp 0x41f672
cmp dword [0x537c1c], 0
jne 0x41f63f
cmp dword [0x537c58], 0
jne 0x41f63f
cmp byte [0x52a6c1], 0
je 0x41f63f
test edi, edi
jne 0x41f63f
push ebp
mov byte [0x52a6c1], 0
call fcn.0041d590
add esp, 4
test al, al
jne 0x41f63f
call fcn.00418810
xor al, al
jmp 0x41f672
cmp eax, 0x612
jne 0x41ed4f
mov esi, edi
imul esi, esi, 0x6c
mov eax, dword [esi + 0x539724]
test eax, eax
jne 0x41ecb0
push ebp
push edi
push 0x512134
mov dword [esp + 0x24], eax
mov dword [esi + 0x539724], ebp
call fcn.00404690
add esp, 4
push eax
push 0x527e20
call fcn.00401350
add esp, 0x10
cmp byte [0x537552], 0
jne 0x41eb4c
cmp byte [0x52a6c0], 0
je 0x41ed22
test edi, edi
jne 0x41eb4c
mov edx, dword [0x539724]
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
jne 0x41eafe
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
call edi
push eax
push 0x51210c
call fcn.00404690
add esp, 4
push eax
push 0x527e20
call fcn.00401350
add esp, 0xc
mov eax, dword [0x539714]
mov ecx, dword [esp + 0x18]
cmp eax, ecx
je 0x41eb17
push eax
push ecx
push 0x5120d4
jmp 0x41e921
cmp dword [0x537f30], 0
je 0x41eb4c
cmp dword [0x537cf8], 0
je 0x41eb4c
lea eax, [esp + 0x20]
push 0xc
push eax
mov dword [esp + 0x28], 0xc
mov dword [esp + 0x2c], 0xc02
mov dword [esp + 0x30], ebp
call fcn.004138e0
add esp, 8
cmp byte [0x52a6c0], 0
je 0x41ed22
mov ecx, dword [esi + 0x539724]
push 0
push 0
push 0
push ecx
push 0
mov byte [0x52a6c0], 0
call dword [sym.imp.USER32.dll_PeekMessageA]
cmp dword [0x5383b0], 0
jne 0x41eb8b
call fcn.00492220
test al, al
je 0x41e8c6
cmp dword [0x537c40], 0
jne 0x41ed22
mov eax, dword [esi + 0x539710]
cmp eax, 8
jne 0x41ebc5
test byte [esi + 0x539770], 2
je 0x41ebc5
mov edx, dword [0x5370cc]
push 0x89
push edx
call dword [sym.imp.USER32.dll_LoadIconA]
mov ebp, 0x89
jmp 0x41ec26
cmp eax, 0x37
jne 0x41ebeb
test byte [esi + 0x539770], 2
je 0x41ebeb
mov eax, dword [0x5370cc]
push 0x91
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov ebp, 0x91
jmp 0x41ec26
cmp eax, 0x31
jne 0x41ec12
test byte [esi + 0x539770], 2
je 0x41ec12
mov ecx, dword [0x5370cc]
push 0x93
push ecx
call dword [sym.imp.USER32.dll_LoadIconA]
mov ebp, 0x91
jmp 0x41ec26
mov edx, dword [0x5370cc]
push 0x6b
push edx
call dword [sym.imp.USER32.dll_LoadIconA]
mov ebp, 0x6b
cmp dword [0x537f10], 0
mov edi, eax
push 0xd05
jne 0x41ec4b
push 0x512214
call fcn.00404690
add esp, 4
push eax
lea eax, [esp + 0x44]
push eax
jmp 0x41ec5e
push 0x512200
call fcn.00404690
add esp, 4
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.004b79a8
mov eax, dword [esi + 0x539724]
add esp, 0xc
push ebp
push edi
lea edx, [esp + 0x44]
push edx
push 0x437
push eax
mov ecx, 0x5389c0
call fcn.004ae3e0
test eax, eax
jne 0x41eca7
mov ecx, dword [esp + 0x14]
push ecx
push 0x5121dc
call fcn.00404690
add esp, 4
push eax
push 0x527e20
call fcn.00401350
add esp, 0xc
mov byte [esi + 0x53975d], 1
jmp 0x41ed22
cmp eax, ebp
je 0x41f670
cmp dword [esi + 0x539728], ebp
je 0x41f670
cmp dword [0x537f30], 0
mov dword [esi + 0x539728], ebp
je 0x41ecff
cmp dword [0x537cf8], 0
je 0x41ecff
lea edx, [esp + 0x20]
push 0xc
push edx
mov dword [esp + 0x28], 0xc
mov dword [esp + 0x2c], 0xc03
mov dword [esp + 0x30], ebp
call fcn.004138e0
add esp, 8
mov eax, dword [esi + 0x539728]
push eax
push edi
push 0x5120bc
call fcn.00404690
add esp, 4
push eax
push 0x527e20
call fcn.00401350
add esp, 0x10
cmp byte [0x527d8d], 0
je 0x41ed32
mov byte [esi + 0x53975c], 1
push 0x5120a4
call fcn.00404690
push eax
push 0x527e20
call fcn.00401350
add esp, 0xc
jmp 0x41f63f
cmp eax, 0x630
jne 0x41f63f
imul edi, edi, 0x6c
mov eax, dword [edi + 0x539710]
cmp eax, 3
je 0x41ed76
cmp eax, 0x29
je 0x41ed76
cmp eax, 5
jne 0x41f63f
push ebp
push 0x512090
call fcn.00404690
add esp, 4
push eax
push 0x527e20
call fcn.00401350
add esp, 0xc
push ebp
push 0x630
push 0x8b1
mov ecx, esi
call fcn.004055d0
jmp 0x41f63f
call fcn.0040a830
cmp eax, 1
jbe 0x41e8c6
cmp dword [0x537c40], 0
jne 0x41eee8
mov esi, edi
imul esi, esi, 0x6c
cmp byte [esi + 0x53975d], 0
je 0x41eee8
push edi
call fcn.0040a800
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
je 0x41eee8
mov ecx, 0x5389c0
call fcn.004ae430
mov eax, dword [esi + 0x539710]
cmp eax, 8
jne 0x41ee21
test byte [esi + 0x539770], 2
je 0x41ee21
mov ecx, dword [0x5370cc]
push 0x89
push ecx
call dword [sym.imp.USER32.dll_LoadIconA]
mov ebp, 0x89
jmp 0x41ee5b
cmp eax, 0x37
jne 0x41ee48
test byte [esi + 0x539770], 2
je 0x41ee48
mov edx, dword [0x5370cc]
push 0x91
push edx
call dword [sym.imp.USER32.dll_LoadIconA]
mov ebp, 0x91
jmp 0x41ee5b
mov eax, dword [0x5370cc]
push 0x6b
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov ebp, 0x6b
cmp dword [0x537f10], 0
mov edi, eax
push 0xd05
jne 0x41ee80
push 0x512214
call fcn.00404690
add esp, 4
push eax
lea ecx, [esp + 0x44]
push ecx
jmp 0x41ee93
push 0x512200
call fcn.00404690
add esp, 4
push eax
lea edx, [esp + 0x44]
push edx
call fcn.004b79a8
add esp, 0xc
mov esi, ebx
imul esi, esi, 0x6c
mov ecx, dword [esi + 0x539724]
push ebp
push edi
lea eax, [esp + 0x44]
push eax
push 0x437
push ecx
mov ecx, 0x5389c0
call fcn.004ae3e0
test eax, eax
jne 0x41eedd
push ebx
push 0x5121dc
call fcn.00404690
add esp, 4
push eax
push 0x527e20
call fcn.00401350
add esp, 0xc
mov edi, dword [esp + 0x14]
mov byte [esi + 0x53975d], 1
mov esi, edi
imul esi, esi, 0x6c
cmp byte [0x527d8d], 0
mov dword [esi + 0x539760], 0xfffffc18
je 0x41ef2a
mov edx, dword [esi + 0x539728]
mov eax, dword [esi + 0x539724]
mov ecx, dword [esi + 0x539714]
push edx
mov edx, dword [0x537890]
push eax
push ecx
or edx, 0x20000021
push edx
call fcn.004905d0
add esp, 0x10
push edi
push 0x5121c0
call fcn.00404690
add esp, 4
push eax
push 0x527e20
call fcn.00401350
add esp, 0xc
call fcn.00410630
test eax, eax
je 0x41ef6c
push 1
push 0x5121a8
call fcn.00404690
add esp, 4
push eax
push 0x527e20
call fcn.00401350
add esp, 0xc
cmp dword [0x53ac38], 0
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
je 0x41ef82
push 0x53ac20
call edi
cmp dword [0x53ac54], 0
je 0x41ef92
push 0x53ac3c
call edi
movzx eax, byte [0x53788f]
push eax
mov ecx, 0x538898
call fcn.00401330
lea ecx, [esi + 0x539708]
call fcn.0040a770
jmp 0x41f63f
cmp byte [0x53788c], 0
je 0x41f63f
mov ecx, esi
call fcn.00405300
mov esi, eax
xor eax, eax
cmp dword [esp + 0x2094], 0x61a
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
jne 0x41f033
mov ecx, dword [esi + 0x10]
push ecx
mov ecx, dword [esi + 4]
push edx
mov edx, dword [esi]
push eax
push ecx
push edx
push edi
push 0x512060
call fcn.00404690
add esp, 4
push eax
push 0x527e20
call fcn.00401350
mov eax, dword [esi + 0x10]
mov dword [esp + 0x50], eax
mov ecx, dword [esi + 0x10]
add esp, 0x20
mov dword [edi*4 + 0x537560], ecx
jmp 0x41f064
mov ecx, dword [esi + 4]
push edx
mov edx, dword [esi]
push eax
push ecx
push edx
push edi
push 0x512034
call fcn.00404690
add esp, 4
push eax
push 0x527e20
call fcn.00401350
mov eax, dword [0x527d9c]
add esp, 0x1c
mov dword [edi*4 + 0x537560], eax
call dword [0x5385fc]
sub eax, dword [0x537548]
cmp eax, 0xc350
jbe 0x41f086
call dword [0x5385fc]
mov dword [0x537548], eax
xor eax, eax
jmp 0x41f08b
mov eax, dword [0x53754c]
inc eax
mov dword [0x53754c], eax
cmp eax, 0x3c
jbe 0x41f146
push eax
call dword [0x5385fc]
sub eax, dword [0x537548]
push eax
push 0x51201c
call fcn.00404690
add esp, 4
push eax
push 0x527e20
call fcn.00401350
push str.NPGGERR_NPGM_CSERR
push 0xfa2
call fcn.0040c590
call fcn.00418810
push 0x51200c
call fcn.00404690
imul edi, edi, 0x6c
push eax
lea edi, [edi + 0x53972c]
push edi
call fcn.004b9ca4
add esp, 0x24
test eax, eax
je 0x41f12e
push 0x511ffc
call fcn.00404690
push eax
push edi
call fcn.004b9ca4
add esp, 0xc
test eax, eax
je 0x41f12e
push 0x511fec
call fcn.00404690
push eax
push edi
call fcn.004b9ca4
add esp, 0xc
test eax, eax
je 0x41f12e
cmp byte [0x537dfe], 0
je 0x41f133
call fcn.00412130
mov ebx, 1
mov ecx, ebx
mov word [0x53ca50], cx
add dword [esi + 4], ebx
jmp 0x41f14b
mov ebx, 1
mov edx, dword [0x548f10]
push edx
push 0x511fdc
call fcn.00404690
add esp, 4
push eax
push 0x527e20
call fcn.00401350
mov edi, dword [0x53849c]
lea eax, [esp + 0x24]
push eax
mov byte [0x537ece], 1
mov dword [esp + 0x28], fcn.00412130
call fcn.00418910
mov eax, fcn.00412130
xor eax, 0xdc73bebd
lea ecx, [eax*8]
sub ecx, eax
add ecx, 0x353f3a
add esp, 0x10
cmp dword [esp + 0x18], ecx
je 0x41f1ba
mov edx, 2
mov word [0x53ca50], dx
add dword [esi + 4], ebx
mov eax, dword [0x539714]
imul eax, dword [0x53789c]
mov ecx, dword [0x527db4]
imul ecx, ecx, 0x426c7565
xor eax, ecx
xor eax, dword [0x538648]
add eax, dword [0x537cc8]
xor eax, edi
cmp dword [0x53849c], eax
je 0x41f21b
push 0x511fd0
call fcn.00404690
push eax
push 0x527e20
call fcn.00401350
add esp, 0xc
call fcn.00418810
mov edx, 2
mov word [0x53ca50], dx
add dword [esi + 4], ebx
jmp 0x41f670
mov al, byte [0x548ac3]
mov cl, byte [0x548ac2]
test al, al
je 0x41f22e
test cl, cl
jne 0x41f25f
movzx ecx, cl
movzx edx, al
push ecx
push edx
push 0x511fb8
call fcn.00404690
add esp, 4
push eax
push 0x527e20
call fcn.00401350
mov eax, 3
add esp, 0x10
mov word [0x53ca50], ax
add dword [esi + 0xc], ebx
test byte [0x53b268], 2
jne 0x41f28c
or dword [0x53b268], 2
mov dword [esp + 0x2088], ebx
call dword [0x5385fc]
mov dword [0x53b24c], eax
mov dword [esp + 0x2088], 0xffffffff
mov ecx, dword [0x53b248]
mov edx, dword [0x548f10]
cmp ecx, edx
je 0x41f392
test ecx, ecx
je 0x41f36c
call dword [0x5385fc]
mov edi, dword [0x548f10]
sub edi, dword [0x53b248]
mov ebp, eax
sub ebp, dword [0x53b244]
imul edi, edi, 0x3e8
mov ecx, 0x13880
cmp ebp, 0x36ee80
jb 0x41f2f2
push 0x511fa4
call fcn.00404690
push eax
push 0x527e20
call fcn.00401350
add esp, 0xc
mov ecx, 0x2bf20
mov eax, ebp
sub eax, edi
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
jbe 0x41f36c
push edi
push ebp
push 0x511f8c
call fcn.00404690
add esp, 4
push eax
push 0x527e20
call fcn.00401350
add esp, 0x10
cmp dword [0x537f30], 0
je 0x41f36c
cmp dword [0x5378d4], 0
je 0x41f36c
lea ecx, [esp + 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [esp + 0x50], 2
jae 0x41f351
cmp dword [0x53b240], 3
jae 0x41f351
add dword [0x53b240], ebx
jmp 0x41f36c
push 0x511f78
call fcn.00404690
push eax
push 0x527e20
call fcn.00401350
add esp, 0xc
add dword [esi + 4], ebx
call dword [0x5385fc]
mov edx, dword [0x548f10]
mov dword [0x53b244], eax
mov dword [0x53b248], edx
mov dword [0x53b23c], 0
jmp 0x41f419
mov eax, dword [0x53b23c]
add eax, ebx
mov dword [0x53b23c], eax
cmp eax, 0x32
jbe 0x41f3cf
push eax
push edx
push ecx
push 0x512268
call fcn.00404690
add esp, 4
push eax
push 0x527e20
call fcn.00401350
mov eax, 4
add esp, 0x14
mov word [0x53ca50], ax
add dword [esi + 4], ebx
call dword [0x5385fc]
sub eax, dword [0x53b24c]
cmp eax, 0x1d4c0
jbe 0x41f419
call dword [0x5385fc]
sub eax, dword [0x53b24c]
push eax
push 0x51225c
call fcn.00404690
add esp, 4
push eax
push 0x527e20
call fcn.00401350
mov ecx, 5
add esp, 0xc
mov word [0x53ca50], cx
add dword [esi + 8], ebx
call dword [0x5385fc]
cmp byte [0x52a6bf], 0x55
mov dword [0x53b24c], eax
jae 0x41f43c
mov edx, 6
mov word [0x53ca50], dx
add dword [esi + 0xc], ebx
mov eax, dword [0x548d54]
push eax
call fcn.00418850
add esp, 4
test eax, eax
je 0x41f621
mov ecx, dword [0x548ef0]
push ecx
call fcn.00418850
add esp, 4
test eax, eax
je 0x41f621
mov edx, dword [0x548ef4]
push edx
call fcn.00418850
add esp, 4
test eax, eax
je 0x41f621
cmp dword [0x53ac38], 0
mov dword [esp + 0x18], 0x53ac20
mov byte [esp + 0x1c], 1
je 0x41f4a1
push 0x53ac20
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esp + 0x20]
push eax
push esi
mov dword [esp + 0x2090], 2
call fcn.00417fd0
add esp, 8
cmp dword [0x53ac38], 0
mov dword [esp + 0x2088], 0xffffffff
je 0x41f4d9
push 0x53ac20
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x14]
imul eax, eax, 0x6c
cmp dword [eax + 0x539710], 0xa
jne 0x41f51b
cmp byte [0x548d68], 0
jne 0x41f51b
push 0
push 0x511f64
call fcn.00404690
add esp, 4
push eax
push 0x527e20
call fcn.00401350
mov ecx, 6
add esp, 0xc
mov word [0x53ca50], cx
mov ecx, dword [0x537c50]
cmp ecx, ebx
jne 0x41f52f
push 0x511f54
jmp 0x41e3ac
mov ax, word [0x527d98]
cmp ax, 2
jne 0x41f54a
cmp ecx, 2
jne 0x41f54c
push 0x511f40
jmp 0x41e3ac
jb 0x41f59d
cmp ecx, 3
jne 0x41f59d
add dword [esp + 0x24], ebx
add dword [esp + 0x28], ebx
add dword [esp + 0x2c], ebx
mov edx, 7
mov word [0x53ca50], dx
mov eax, dword [esi + 4]
push eax
push 0x511f30
call fcn.00404690
add esp, 4
push eax
push 0x527e20
call fcn.00401350
push 0x511f18
call fcn.00404690
push eax
push 0x527e20
call fcn.00401350
add esp, 0x18
mov eax, dword [0x53c488]
test eax, eax
je 0x41f5f9
cmp dword [eax + 0x220], 0
je 0x41f5f9
test byte [eax], 1
je 0x41f5f9
mov ecx, 8
mov word [0x53ca50], cx
mov edx, dword [eax + 0x220]
or dword [esp + 0x24], edx
mov ecx, dword [eax + 0x220]
or dword [esp + 0x28], ecx
mov edx, dword [eax + 0x220]
or dword [esp + 0x2c], edx
push 0x51227c
mov byte [eax], 2
call fcn.00404690
push eax
push 0x527e20
call fcn.00401350
add esp, 0xc
push 0x511f08
call fcn.00404690
push eax
push 0x527e20
call fcn.00401350
add esp, 0xc
cmp dword [0x537c50], 0
je 0x41f621
add word [0x527d98], bx
mov eax, dword [esp + 0x38]
cmp byte [eax], 0x68
jne 0x41f633
mov ecx, dword [esp + 0x34]
cmp byte [ecx], 0x64
je 0x41f63f
mov edx, 0x4b4f
mov word [str.ddhj], dx
jmp 0x41f651
jmp 0x41f670
push 0x511ef4
call fcn.00404690
push eax
push 0x527e20
call fcn.00401350
add esp, 0xc
call fcn.00418810
mov al, 1
mov ecx, dword [esp + 0x2080]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2068]
xor ecx, esp
call fcn.004b6da3
add esp, 0x2078
ret 0xc