Function at 0x403610
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x460020
mov eax, dword fs:[0]
push eax
sub esp, 0xdd8
mov eax, dword [0x480208]
xor eax, esp
mov dword [esp + 0xdd4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x480208]
xor eax, esp
push eax
lea eax, [esp + 0xdec]
mov dword fs:[0], eax
mov ebp, ecx
xor ebx, ebx
push 0x465e60
lea ecx, [esp + 0x30]
mov dword [esp + 0x78], ebp
mov dword [esp + 0x74], ebx
mov byte [esp + 0x23], bl
call fcn.004034c0
mov eax, dword [ebp + 0x9c]
push ebx
push ebx
push 0x147
push eax
mov dword [esp + 0xe04], ebx
call dword [sym.imp.USER32.dll_SendMessageA]
neg eax
sbb al, al
and al, 0x10
add al, 0xa0
mov byte [section..data], al
mov eax, dword [0x59e700]
imul eax, eax, 0x3d0
cmp dword [0x59e638], ebx
mov edi, dword [eax + 0x49afa0]
lea ecx, [ebx + 1]
je 0x4037b7
cmp dword [eax + 0x49afa4], ecx
je 0x4037bf
cmp dword [eax + 0x49afa8], 7
jne 0x403c66
push 0x210
lea ecx, [esp + 0x6b8]
push ebx
push ecx
call fcn.00442640
push 0x210
lea edx, [esp + 0x4b4]
push ebx
push edx
call fcn.00442640
push 0x1c4
call fcn.00422bff
add esp, 0x1c
mov dword [esp + 0x68], eax
cmp eax, ebx
mov byte [esp + 0xdf4], 5
je 0x403718
mov ecx, eax
call fcn.00404980
mov esi, eax
jmp 0x40371a
xor esi, esi
cmp esi, ebx
mov byte [esp + 0xdf4], 0
je 0x40378a
mov eax, dword [edi*4 + 0x49ce20]
push ebx
push eax
mov ecx, esi
call fcn.00402700
mov ecx, dword [0x59e700]
imul ecx, ecx, 0x3d0
mov edx, dword [ecx + 0x49afac]
push edx
push 0xd0
lea eax, [esp + 0x6bc]
push eax
mov ecx, esi
call fcn.00404cd0
cmp eax, ebx
jne 0x40378e
mov ecx, dword [0x59e700]
imul ecx, ecx, 0x3d0
mov edx, dword [ecx + 0x49afac]
push edx
push 0xd1
lea eax, [esp + 0x4ac]
push eax
mov ecx, esi
call fcn.00404cd0
jmp 0x40378e
mov eax, dword [esp + 0x68]
test eax, eax
mov ecx, esi
sete bl
call fcn.004024b0
test esi, esi
je 0x403c62
mov ecx, esi
call fcn.00402690
push esi
call fcn.00422c2a
add esp, 4
jmp 0x403c62
cmp dword [eax + 0x49afa4], ecx
jne 0x4037cd
push edi
call fcn.00418e40
mov esi, eax
mov dword [esp + 0x74], esi
jmp 0x4037d9
push edi
call fcn.00418e40
mov esi, eax
mov dword [esp + 0x74], eax
add esp, 4
cmp esi, 0xffffffff
jne 0x403826
push 0x30
push 0x465e4c
push str.Could_not_open_SMART_driver_
mov ecx, ebp
call fcn.004252d8
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov dword [esp + 0xdf4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40381f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x4044b3
mov eax, dword [0x59e700]
imul eax, eax, 0x3d0
cmp dword [eax + 0x49afa4], 6
jne 0x403a6f
push 0x1fe
lea ecx, [esp + 0xa2]
push ebx
push ecx
mov word [esp + 0xa8], bx
call fcn.00442640
lea edx, [esp + 0xa8]
push edx
push esi
call fcn.00402090
add esp, 0x14
test eax, eax
je 0x403a8f
push 0x103
lea eax, [esp + 0x2a1]
push ebx
push eax
mov byte [esp + 0x2a8], 0
call fcn.00442640
push 0x103
lea ecx, [esp + 0x3b1]
push ebx
push ecx
mov byte [esp + 0x3b8], 0
call fcn.00442640
push 0x103
lea edx, [esp + 0x8e1]
push ebx
push edx
mov byte [esp + 0x8e8], 0
call fcn.00442640
mov eax, dword [0x59e700]
push eax
push esi
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0xa0]
push ecx
lea edx, [esp + 0x900]
push edx
lea eax, [esp + 0x3e0]
push eax
lea ecx, [esp + 0x2e0]
push ecx
lea edx, [esp + 0xe4]
push edx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x74], ebx
call fcn.004095a0
add esp, 0x4c
lea eax, [esp + 0x29c]
push eax
lea ecx, [esp + 0x1c]
call fcn.004034c0
lea ecx, [esp + 0x3a0]
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0xdf8], 1
call fcn.004034c0
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], ebx
mov byte [esp + 0xdf4], 2
jl 0x4039ab
push str.WDC
push eax
call fcn.00442e27
add esp, 8
cmp eax, ebx
je 0x4039ab
sub eax, dword [esp + 0x18]
js 0x4039ab
add eax, 4
push eax
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x20]
call fcn.00403260
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xdf8], 3
call fcn.00403300
lea ecx, [esp + 0x20]
mov byte [esp + 0xdf4], 2
call fcn.00402cd0
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], ebx
jl 0x403a01
push 0x465e20
push eax
call fcn.00442e27
add esp, 8
cmp eax, ebx
je 0x403a01
sub eax, dword [esp + 0x14]
js 0x403a01
add eax, 3
push eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x1c]
call fcn.00403260
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xdf8], 4
call fcn.00403300
lea ecx, [esp + 0x20]
mov byte [esp + 0xdf4], 2
call fcn.00402cd0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push ecx
push edx
lea eax, [esp + 0x34]
push str.Model_Sn:__s____s
push eax
call fcn.004033c0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 0x10
mov byte [esp + 0xdf4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403a45
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0xdf4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403a8f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x403a8f
lea ecx, [eax + 0x49b013]
push ecx
lea edx, [eax + 0x49afc1]
push edx
lea eax, [esp + 0x34]
push str.Model:__s____Serial:__s
push eax
call fcn.004033c0
add esp, 0x10
mov ecx, dword [esp + 0x2c]
push ecx
lea ecx, [ebp + 0xd0]
call fcn.004299ad
xor eax, eax
push 0x210
lea edx, [esp + 0x6b8]
push ebx
push edx
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov byte [esp + 0xa4], al
call fcn.00442640
push 0x210
lea eax, [esp + 0x4b4]
push ebx
push eax
call fcn.00442640
mov eax, dword [0x59e700]
imul eax, eax, 0x3d0
mov ecx, dword [eax + 0x49afa8]
add esp, 0x18
cmp ecx, 7
je 0x403c17
cmp ecx, 4
je 0x403c17
movzx ecx, byte [eax + 0x49b078]
push ecx
push edi
lea edx, [esp + 0x6bc]
push edx
lea eax, [esp + 0x84]
push eax
push esi
call fcn.00418870
mov bl, al
add esp, 0x14
test bl, bl
je 0x403b84
mov ecx, dword [0x59e700]
imul ecx, ecx, 0x3d0
movzx edx, byte [ecx + 0x49b078]
push edx
push edi
lea eax, [esp + 0x4ac]
push eax
lea ecx, [esp + 0x84]
push ecx
push esi
call fcn.00418b20
add esp, 0x14
mov bl, al
mov eax, dword [0x59e700]
imul eax, eax, 0x3d0
cmp byte [eax + 0x49b078], 2
jne 0x403c62
movzx edx, byte [eax + 0x49b079]
push edx
push edi
lea eax, [esp + 0x9d0]
push eax
lea ecx, [esp + 0x84]
push ecx
push esi
call fcn.00418870
add esp, 0x14
test al, al
mov byte [esp + 0x1f], al
je 0x403c62
mov edx, dword [0x59e700]
imul edx, edx, 0x3d0
movzx eax, byte [edx + 0x49b079]
push eax
push edi
lea ecx, [esp + 0xbe0]
push ecx
lea edx, [esp + 0x84]
push edx
push esi
call fcn.00418b20
add esp, 0x14
test al, al
mov byte [esp + 0x1f], al
je 0x403c62
mov eax, dword [0x59e700]
imul eax, eax, 0x3d0
mov dword [eax + 0x49afbc], 1
jmp 0x403c62
mov ecx, dword [eax + 0x49afac]
push ecx
lea edx, [esp + 0x6b8]
push edx
push 0xd0
push esi
call fcn.004021c0
add esp, 0x10
test al, al
je 0x403c66
mov eax, dword [0x59e700]
imul eax, eax, 0x3d0
mov ecx, dword [eax + 0x49afac]
push ecx
lea edx, [esp + 0x4a8]
push edx
push 0xd1
push esi
call fcn.004021c0
add esp, 0x10
mov bl, al
test bl, bl
jne 0x403c77
push 0x30
push 0x465e4c
push str.Could_not_read_SMART_disk_information_
jmp 0x4037ed
lea esi, [ebp + 0x1cc]
mov ecx, esi
call fcn.00421780
call fcn.0042b725
xor ecx, ecx
xor edi, edi
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x403ca0
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x14], ebx
cmp byte [esp + 0x1f], 0
mov byte [esp + 0xdf4], 6
mov dword [esp + 0x20], edi
mov dword [ebp + 0x74], edi
mov dword [ebp + 0x78], edi
je 0x403fdf
lea ecx, [esp + 0xbeb]
mov dword [esp + 0x24], 0
lea edi, [esp + 0x9dd]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x28], 0x1e
nop
mov al, byte [edi - 3]
test al, al
mov byte [esp + 0x30], al
je 0x403fcc
mov edx, dword [esp + 0x30]
push 1
push edx
mov ecx, ebp
call fcn.00402ad0
push eax
lea eax, [esp + 0x18]
push 0x465dc8
push eax
call fcn.004033c0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
add esp, 0xc
test byte [edi - 2], 1
mov dword [esp + 0x34], 3
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x48], edx
je 0x403d76
mov ecx, dword [esp + 0x18]
mov al, byte [edi]
mov cl, byte [ecx]
cmp al, cl
jbe 0x403d57
cmp byte [edi + 1], cl
ja 0x403d76
movzx edx, byte [edi - 3]
movzx eax, al
mov dword [esp + 0x50], 6
mov dword [esp + 0x20], 1
mov dword [ebp + 0x74], edx
mov dword [ebp + 0x78], eax
jmp 0x403d7e
mov dword [esp + 0x50], 5
lea ecx, [esp + 0x34]
push ecx
mov ecx, esi
call fcn.00422810
movzx edx, byte [edi - 3]
push edx
lea eax, [esp + 0x18]
push 0x465dc4
push eax
call fcn.004033c0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x44]
add esp, 0xc
push 0xffffffffffffffff
push ecx
add eax, 1
push eax
push edx
mov ecx, esi
mov dword [esp + 0x4c], eax
call fcn.004215e0
movzx eax, byte [edi]
push eax
lea ecx, [esp + 0x18]
push 0x465dc0
push ecx
call fcn.004033c0
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0x44]
add esp, 0xc
push 0xffffffffffffffff
add eax, 1
push ebx
push eax
push edx
mov ecx, esi
mov dword [esp + 0x4c], eax
call fcn.004215e0
test byte [edi - 2], 1
je 0x403e25
mov eax, dword [esp + 0x18]
mov al, byte [eax]
cmp byte [edi], al
jbe 0x403e0a
cmp byte [edi + 1], al
ja 0x403e25
push 5
call dword [sym.imp.USER32.dll_GetSysColor]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push eax
push 0xff
push ebx
push ecx
push edx
jmp 0x403e40
mov ebp, dword [sym.imp.USER32.dll_GetSysColor]
push 5
call ebp
push eax
push 8
call ebp
mov ecx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x44]
push ebx
push eax
push ecx
mov ecx, esi
call fcn.00421670
mov ebp, dword [esp + 0x3c]
add ebp, 0xd8
push ebp
call fcn.0042b71a
test eax, eax
je 0x403e6a
push ebp
push eax
lea ecx, [esp + 0x1c]
call fcn.00403080
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
push ebx
push edx
push eax
mov ecx, esi
call fcn.00422b40
mov ecx, dword [esp + 0x18]
movzx edx, byte [ecx]
push edx
lea eax, [esp + 0x18]
push 0x465dc0
push eax
call fcn.004033c0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x44]
add esp, 0xc
push 0xffffffffffffffff
push ecx
add eax, 1
push eax
push edx
mov ecx, esi
mov dword [esp + 0x4c], eax
call fcn.004215e0
mov ebx, dword [esp + 0x3c]
add ebx, 0xd8
push ebx
call fcn.0042b71a
test eax, eax
je 0x403ed4
push ebx
push eax
lea ecx, [esp + 0x1c]
call fcn.00403080
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00422b40
movzx eax, byte [edi + 1]
push eax
lea ecx, [esp + 0x18]
push 0x465dc0
push ecx
call fcn.004033c0
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x20]
add esp, 0xc
push 0xffffffffffffffff
add eax, 1
push edx
push eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x44]
push eax
mov ecx, esi
call fcn.004215e0
mov ebx, dword [esp + 0x3c]
add ebx, 0xd8
push ebx
call fcn.0042b71a
test eax, eax
je 0x403f3f
push ebx
push eax
lea ecx, [esp + 0x1c]
call fcn.00403080
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
push ecx
push edx
push eax
mov ecx, esi
call fcn.00422b40
movzx ecx, byte [edi - 2]
and ecx, 1
push ecx
lea edx, [esp + 0x18]
push 0x465dc0
push edx
call fcn.004033c0
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x20]
add esp, 0xc
push 0xffffffffffffffff
add eax, 1
push ebx
push eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x44]
push eax
mov ecx, esi
call fcn.004215e0
mov ebp, dword [esp + 0x3c]
add ebp, 0xd8
push ebp
call fcn.0042b71a
test eax, eax
je 0x403fb1
push ebp
push eax
lea ecx, [esp + 0x1c]
call fcn.00403080
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push ebx
push ecx
push edx
mov ecx, esi
call fcn.00422b40
add dword [esp + 0x24], 1
mov ebp, dword [esp + 0x74]
add dword [esp + 0x18], 0xc
add edi, 0xc
sub dword [esp + 0x28], 1
jne 0x403cf0
mov eax, dword [0x59e700]
mov edi, eax
imul edi, edi, 0x3d0
mov edi, dword [edi + 0x49afa8]
cmp edi, 7
lea ecx, [esp + 0x6c4]
lea edx, [esp + 0x4b4]
je 0x40400a
cmp edi, 4
jne 0x404018
lea ecx, [esp + 0x6b4]
lea edx, [esp + 0x4a4]
lea edi, [ecx + 2]
mov ebp, edi
sub ebp, ecx
sub ecx, edx
mov dword [esp + 0x18], 0
lea ebp, [edx + ebp + 1]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], 0x1e
lea esp, [esp]
mov cl, byte [edi]
test cl, cl
mov byte [esp + 0x30], cl
je 0x40433f
mov ecx, dword [esp + 0x30]
imul eax, eax, 0x3d0
mov eax, dword [eax + 0x49afbc]
mov ebx, dword [esp + 0x74]
push eax
push ecx
mov ecx, ebx
call fcn.00402ad0
push eax
lea edx, [esp + 0x18]
push 0x465dc8
push edx
call fcn.004033c0
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
add esp, 0xc
test byte [edx + ebp], 1
mov dword [esp + 0x34], 3
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x48], ecx
je 0x4040d5
mov al, byte [edi + 3]
mov cl, byte [ebp]
cmp al, cl
jbe 0x4040b7
cmp byte [edi + 4], cl
ja 0x4040d5
movzx ecx, byte [edi]
movzx edx, al
mov dword [esp + 0x50], 6
mov dword [esp + 0x20], 1
mov dword [ebx + 0x74], ecx
mov dword [ebx + 0x78], edx
jmp 0x4040dd
mov dword [esp + 0x50], 5
lea eax, [esp + 0x34]
push eax
mov ecx, esi
call fcn.00422810
movzx ecx, byte [edi]
push ecx
lea edx, [esp + 0x18]
push 0x465dc4
push edx
call fcn.004033c0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x44]
add esp, 0xc
push 0xffffffffffffffff
push ecx
add eax, 1
push eax
push edx
mov ecx, esi
mov dword [esp + 0x4c], eax
call fcn.004215e0
movzx eax, byte [edi + 3]
push eax
lea ecx, [esp + 0x18]
push 0x465dc0
push ecx
call fcn.004033c0
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0x44]
add esp, 0xc
push 0xffffffffffffffff
add eax, 1
push ebx
push eax
push edx
mov ecx, esi
mov dword [esp + 0x4c], eax
call fcn.004215e0
mov eax, dword [esp + 0x24]
test byte [eax + ebp], 1
je 0x404186
mov al, byte [ebp]
cmp byte [edi + 3], al
jbe 0x40416b
cmp byte [edi + 4], al
ja 0x404186
push 5
call dword [sym.imp.USER32.dll_GetSysColor]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push eax
push 0xff
push ebx
push ecx
push edx
jmp 0x4041a3
push 5
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push 8
call dword [sym.imp.USER32.dll_GetSysColor]
mov ecx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x44]
push ebx
push eax
push ecx
mov ecx, esi
call fcn.00421670
mov eax, dword [esp + 0x3c]
add eax, 0xd8
push eax
mov dword [esp + 0x6c], eax
call fcn.0042b71a
test eax, eax
je 0x4041d4
mov edx, dword [esp + 0x68]
push edx
push eax
lea ecx, [esp + 0x1c]
call fcn.00403080
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
push ebx
push eax
push ecx
mov ecx, esi
call fcn.00422b40
movzx edx, byte [ebp]
push edx
lea eax, [esp + 0x18]
push 0x465dc0
push eax
call fcn.004033c0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x44]
add esp, 0xc
push 0xffffffffffffffff
push ecx
add eax, 1
push eax
push edx
mov ecx, esi
mov dword [esp + 0x4c], eax
call fcn.004215e0
mov ebx, dword [esp + 0x3c]
add ebx, 0xd8
push ebx
call fcn.0042b71a
test eax, eax
je 0x40423b
push ebx
push eax
lea ecx, [esp + 0x1c]
call fcn.00403080
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00422b40
movzx eax, byte [edi + 4]
push eax
lea ecx, [esp + 0x18]
push 0x465dc0
push ecx
call fcn.004033c0
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x20]
add esp, 0xc
push 0xffffffffffffffff
add eax, 1
push edx
push eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x44]
push eax
mov ecx, esi
call fcn.004215e0
mov ebx, dword [esp + 0x3c]
add ebx, 0xd8
push ebx
call fcn.0042b71a
test eax, eax
je 0x4042a6
push ebx
push eax
lea ecx, [esp + 0x1c]
call fcn.00403080
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
push ecx
push edx
push eax
mov ecx, esi
call fcn.00422b40
mov ecx, dword [esp + 0x24]
movzx edx, byte [ecx + ebp]
and edx, 1
push edx
lea eax, [esp + 0x18]
push 0x465dc0
push eax
call fcn.004033c0
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x44]
add esp, 0xc
push 0xffffffffffffffff
add eax, 1
push ebx
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x4c], eax
call fcn.004215e0
mov eax, dword [esp + 0x3c]
add eax, 0xd8
push eax
mov dword [esp + 0x6c], eax
call fcn.0042b71a
test eax, eax
je 0x404323
mov edx, dword [esp + 0x68]
push edx
push eax
lea ecx, [esp + 0x1c]
call fcn.00403080
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
push ebx
push eax
push ecx
mov ecx, esi
call fcn.00422b40
add dword [esp + 0x18], 1
mov eax, dword [0x59e700]
add edi, 0xc
add ebp, 0xc
sub dword [esp + 0x28], 1
jne 0x404040
call fcn.00423c6d
mov eax, dword [eax + 4]
mov ebp, dword [eax + 0x20]
mov eax, dword [0x59e700]
imul eax, eax, 0x3d0
mov edi, 6
cmp dword [eax + 0x49afa4], edi
jne 0x4044db
mov edx, dword [esp + 0x74]
mov eax, dword [edx + 0x9c]
push 0
push 0
push 0x147
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
mov eax, dword [0x59e700]
jne 0x4043b1
xor ecx, ecx
imul eax, eax, 0x3d0
cmp dword [esp + 0x20], ecx
sete cl
mov dword [eax + 0x49b084], ecx
jmp 0x4043c6
xor edx, edx
imul eax, eax, 0x3d0
cmp dword [esp + 0x20], edx
sete dl
mov dword [eax + 0x49b088], edx
cmp dword [eax + 0x49b084], 0
je 0x4043dc
cmp dword [eax + 0x49b088], 0
jne 0x4044f4
cmp dword [eax + 0x49afa4], edi
jne 0x4043f2
mov eax, dword [eax + 0x49afb4]
test eax, eax
je 0x4043f2
cmp eax, edi
jne 0x404450
lea eax, [esp + 0x14]
push str._FAIL
push eax
call fcn.004033c0
mov eax, edi
mov edi, 0xff
mov ebx, dword [esp + 0x1c]
mov ecx, dword [0x59e700]
add esp, 8
push eax
push ebx
push 4
lea esi, [ebp + 0x330]
push ecx
mov ecx, esi
mov dword [esp + 0x60], eax
call fcn.004215e0
push 5
call dword [sym.imp.USER32.dll_GetSysColor]
mov edx, dword [0x59e700]
push eax
push edi
push ebx
push 4
push edx
mov ecx, esi
call fcn.00421670
mov eax, dword [ebp + 0x20]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [esp + 0x70]
test eax, eax
je 0x40445f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add ebx, 0xfffffff0
mov byte [esp + 0xdf4], 0
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404483
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov dword [esp + 0xdf4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4044ae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0xdec]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xdd4]
xor ecx, esp
call fcn.00441a71
add esp, 0xde4
ret
mov esi, dword [esp + 0x20]
xor ecx, ecx
test esi, esi
sete cl
test esi, esi
mov dword [eax + 0x49b084], ecx
jne 0x4043dc
lea edx, [esp + 0x14]
push str._PASS
push edx
call fcn.004033c0
mov eax, 5
mov edi, 0xff0000
jmp 0x404408