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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1006bddb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x198
mov eax, dword [0x11a166d8]
push ebx
push esi
push edi
xor edi, edi
mov dword [esp + 0x34], ecx
mov esi, edx
inc edi
xor ebx, ebx
mov dword [esp + 0x30], esi
test al, 1
jne 0x1003c46d
or eax, edi
mov dword [0x11a166d8], eax
mov dword [esp + 0x1ac], ebx
call fcn.1003d98d
push 0x1006c48a
call fcn.10050d9c
or dword [esp + 0x1b0], 0xffffffff
pop ecx
mov dword [esp + 0x18], 0x5020f89b
mov dword [esp + 0x18], ebx
jmp 0x1003c48e
mov eax, dword [esp + 0x18]
mov dword [esp + eax*4 + 0x16c], 0x85f70ad6
inc dword [esp + 0x18]
cmp dword [esp + 0x18], 3
jl 0x1003c47b
mov byte [esp + 0x23], bl
cmp byte [esp + 0x23], 0
je 0x1003c4a8
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov dword [esp + 0x18], ebx
jmp 0x1003c4bd
mov eax, dword [esp + 0x18]
mov dword [esp + eax*4 + 0x16c], edi
inc dword [esp + 0x18]
cmp dword [esp + 0x18], 3
jl 0x1003c4ae
imul eax, dword [esp + 0x34], 0x2710
lea ecx, [esp + 0x64]
push 2
add eax, esi
mov dword [esp + 0x58], eax
mov dword [esp + 0x1c], 5
call fcn.1000bc50
mov dword [esp + 0x24], 0xee67
mov dword [esp + 0x1c], 0x40c9ba5b
mov dword [esp + 0x28], 0x17b5
cmp dword [esp + 0x28], 0xa80
jge 0x1003c5c1
push 0x10c7ab38
push 0x1142d3c8
push 0x1143e504
push 0x100099fc
call fcn.10050bab
mov eax, dword [0x10c7ab38]
add esp, 0x10
mov esi, dword [0x1143e504]
mov edi, eax
mov dword [0x1129557c], edi
mov dword [esp + 0x28], ebx
test esi, esi
jle 0x1003c56f
mov edi, 0x1110e990
push edi
push 0x10009adc
call fcn.10050bab
mov esi, dword [0x1143e504]
inc ebx
pop ecx
add edi, 4
pop ecx
cmp ebx, esi
jl 0x1003c547
mov eax, dword [0x10c7ab38]
xor ebx, ebx
mov edi, dword [0x1129557c]
mov edx, ebx
test esi, esi
jle 0x1003c5b1
mov ecx, dword [0x1142d3c8]
cmp dword [edx*4 + 0x1110e990], 1
jne 0x1003c595
cmp eax, edi
jge 0x1003c595
test ecx, ecx
jle 0x1003c595
inc eax
mov dword [0x10c7ab38], eax
jmp 0x1003c5a5
test eax, eax
jle 0x1003c5a1
dec eax
mov dword [0x10c7ab38], eax
jmp 0x1003c5ac
test ecx, ecx
jle 0x1003c5b1
dec ecx
mov dword [0x1142d3c8], ecx
inc edx
cmp edx, esi
jl 0x1003c57b
push edx
push 0x10009ae8
call fcn.10050dc6
pop ecx
xor edi, edi
pop ecx
inc edi
mov dword [esp + 0x1c], 0x57511ecb
mov dword [esp + 0x1c], 0x1fd9ab8a
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x10], ebx
jmp 0x1003c5f2
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x64]
mov dword [eax + ecx*4], 0x551b32e2
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 2
jl 0x1003c5df
cmp dword [esp + 0x18], 0xffff31c4
jl 0x1003c60b
mov edx, edi
cmp dword [esp + 0x18], ebx
jne 0x1003c60d
mov edx, ebx
mov eax, dword [esp + 0x18]
xor ecx, ecx
cmp edx, eax
mov eax, dword [esp + 0x64]
setl cl
xor edx, edx
cmp ecx, dword [eax]
mov eax, dword [esp + 0x24]
setg dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [esp + 0x24]
sete cl
xor edx, edx
cmp ecx, eax
mov eax, dword [esp + 0x64]
setg dl
xor ecx, ecx
cmp edx, dword [eax]
mov eax, dword [esp + 0x18]
setl cl
mov dword [esp + 0x28], ecx
xor ecx, ecx
cmp eax, dword [esp + 0x28]
mov eax, dword [esp + 0x64]
setne cl
mov dword [eax], ecx
xor ecx, ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
cmp eax, 0xfffffffe
setge cl
sub ecx, dword [esp + 0x18]
neg ecx
sbb ecx, ecx
add ecx, 0x5a278e1
neg ecx
sbb ecx, ecx
inc ecx
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
neg eax
sbb eax, eax
neg eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], ebx
mov byte [esp + 0x23], bl
cmp byte [esp + 0x23], 0
je 0x1003c6c9
push ebx
push 0x151b
push ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPointA]
lea ecx, [esp + 0x64]
call fcn.1000bcb2
lea eax, [esp + 0x54]
push eax
call fcn.1003d9fa
push 3
lea ecx, [esp + 0xd8]
mov esi, dword [eax]
mov dword [esp + 0x1c], 0x490c4d8e
mov dword [esp + 0x28], esi
call fcn.1000bc50
mov dword [esp + 0x1ac], edi
mov dword [esp + 0x28], 0x20d8
cmp dword [esp + 0x28], 0x7e1
jge 0x1003c7d4
lea eax, [esp + 0x38]
push eax
push 0x100099e8
call fcn.10050bab
pop ecx
pop ecx
push dword [esp + 0x38]
lea ecx, [esp + 0x9c]
call fcn.1000bc50
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x98]
mov dword [esp + 0x28], ebx
test edx, edx
jle 0x1003c769
mov edi, esi
push edi
push 0x100099e8
call fcn.10050bab
mov edx, dword [esp + 0x40]
inc ebx
pop ecx
add edi, 4
pop ecx
cmp ebx, edx
jl 0x1003c74b
xor edi, edi
xor ebx, ebx
inc edi
xor eax, eax
inc eax
mov ecx, eax
mov dword [esp + 0x1c], ecx
cmp edx, eax
jle 0x1003c7a0
mov ebx, eax
mov ecx, dword [esi + ebx*4 - 4]
lea eax, [edi + 1]
xor edi, edi
add ecx, ecx
inc edi
cmp ecx, dword [esi + ebx*4]
cmovge edi, eax
cmp dword [esp + 0x1c], edi
mov ecx, edi
cmovg ecx, dword [esp + 0x1c]
inc ebx
mov dword [esp + 0x1c], ecx
cmp ebx, edx
jl 0x1003c778
xor ebx, ebx
push ecx
push 0x100099ec
call fcn.10050dc6
pop ecx
pop ecx
test esi, esi
je 0x1003c7cd
push esi
call fcn.10050f37
pop ecx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
mov esi, dword [esp + 0x24]
xor edi, edi
inc edi
mov dword [esp + 0x14], ebx
jmp 0x1003c7ea
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x3c], 0xdf75
inc dword [esp + 0x14]
cmp dword [esp + 0x14], edi
jl 0x1003c7da
mov dword [esp + 0x14], ebx
jmp 0x1003c809
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xd4]
or dword [eax + ecx*4], 0xffffffff
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 3
jl 0x1003c7f6
mov dword [esp + 0x18], ebx
cmp dword [esp + 0x18], ebx
jl 0x1003c903
mov dword [esp + 0x10], edi
mov dword [esp + 0x28], 0xe6e836ea
mov dword [esp + 0x10], 0x2e31d83
cmp dword [esp + 0x10], ebx
je 0x1003c85f
mov byte [esp + 0x23], bl
cmp byte [esp + 0x23], 0
je 0x1003c8f9
push ebx
push ebx
push 0x192
push 0x2ce
push ebx
call dword [sym.imp.USER32.dll_InsertMenuA]
jmp 0x1003c8f9
mov dword [esp + 0x1c], 7
mov dword [esp + 0x24], 6
cmp dword [esp + 0x10], ebx
jne 0x1003c89f
mov edx, dword [esp + 0x1c]
sub edx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
setge cl
imul ecx, dword [esp + 0x3c]
cmp ecx, 0xfffffffa
jg 0x1003c89f
mov ecx, ebx
cmp dword [esp + 0x18], ebx
je 0x1003c8a1
mov ecx, edi
mov eax, dword [esp + 0x18]
imul eax, ecx
imul eax, eax, 0x5f4e
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x28]
sub edx, 0xfcb8f1fe
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
setl cl
cmp ecx, 2
jb 0x1003c8d5
mov eax, dword [esp + 0x24]
imul eax, dword [esp + 0x10], 7
test eax, eax
jne 0x1003c8e2
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xd4]
mov dword [eax], ecx
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x1c], ebx
jne 0x1003c903
dec dword [esp + 0x18]
jns 0x1003c81e
or dword [esp + 0x1ac], 0xffffffff
lea ecx, [esp + 0xd4]
call fcn.1000bcb2
test esi, esi
je 0x1003c9b7
mov dword [esp + 0x24], 0xfffffffb
mov dword [esp + 0x1c], 0xfffffff9
mov dword [esp + 0x10], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], 0xd2466e9f
mov dword [esp + 0x30], 0xfffffff7
mov dword [esp + 0x30], 0x93e623b4
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebx
jmp 0x1003c96c
mov eax, dword [esp + 0x18]
mov dword [esp + eax*4 + 0x188], 0x7a5eafb5
inc dword [esp + 0x18]
cmp dword [esp + 0x18], 2
jl 0x1003c959
mov eax, dword [esp + 0x24]
xor edx, edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
cmp ecx, eax
mov dword [esp + 0x58], esi
setl dl
sub edx, 0xfffffff7
add edx, dword [esp + 0x10]
neg edx
sbb edx, edx
inc edx
sub edx, dword [esp + 0x24]
add edx, dword [esp + 0x10]
mov dword [esp + 0x28], edx
dec dword [esp + 0x14]
jmp 0x1003d673
push 3
pop esi
mov dword [esp + 0x14], 0x14b7
lea ecx, [esp + 0xbc]
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0x1c], 0x9b65cab4
push esi
call fcn.1000bc50
push 2
pop eax
push eax
lea ecx, [esp + 0xfc]
mov dword [esp + 0x1b0], eax
call fcn.1000bc50
mov dword [esp + 0x10], ebx
jmp 0x1003ca12
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xbc]
mov dword [eax + ecx*4], 0xfffffffc
inc dword [esp + 0x10]
cmp dword [esp + 0x10], esi
jl 0x1003c9fc
mov dword [esp + 0x10], ebx
jmp 0x1003ca34
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xf8]
mov dword [eax + ecx*4], 0x7b6c411e
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 2
jl 0x1003ca1e
mov eax, dword [esp + 0x14]
mov ecx, 0xa40f2fda
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
cmp ecx, eax
sbb eax, eax
xor edx, edx
neg eax
cmp eax, 0xfffffffb
mov eax, dword [esp + 0x14]
setl dl
xor ecx, ecx
cmp edx, eax
setne cl
xor eax, eax
cmp ecx, 0x2eaa
setle al
cmp eax, dword [esp + 0x14]
jl 0x1003ca7e
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
neg ecx
sbb ecx, ecx
xor edx, edx
neg ecx
cmp ecx, eax
mov eax, dword [esp + 0x14]
setle dl
xor ecx, ecx
cmp eax, edx
setl cl
xor edx, edx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x10]
sub ecx, dword [esp + 0x10]
sub ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
cmp ecx, eax
mov eax, dword [esp + 0x10]
setge dl
neg eax
sbb eax, eax
inc eax
sub eax, edx
add eax, dword [esp + 0x14]
cmp eax, 0x28cbd6cd
jl 0x1003caeb
mov ecx, ebx
cmp dword [esp + 0x14], ebx
je 0x1003caed
mov ecx, edi
mov eax, dword [esp + 0x14]
imul eax, ecx
test eax, eax
je 0x1003cb00
mov ecx, edi
cmp dword [esp + 0x10], ebx
jne 0x1003cb02
mov ecx, ebx
mov eax, dword [esp + 0x14]
sub ecx, eax
mov eax, dword [esp + 0xbc]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xf8]
mov dword [eax], ecx
lea ecx, [esp + 0xf8]
call fcn.1000bcb2
or dword [esp + 0x1ac], 0xffffffff
lea ecx, [esp + 0xbc]
call fcn.1000bcb2
mov eax, dword [0x11a166d8]
test al, 2
jne 0x1003cbe2
or eax, 2
mov dword [0x11a166d8], eax
push ebx
mov dword [esp + 0x1b0], esi
push ebx
mov dword [0x11a166e0], ebx
mov dword [0x11a166e4], ebx
call fcn.1003e50d
mov dword [0x11a166e0], eax
mov dword [0x11a166e8], ebx
mov dword [0x11a166f0], ebx
mov byte [esp + 0x1ac], 5
mov ecx, 0x11a166e8
mov dword [esp + 0x84], eax
lea eax, [esp + 0x84]
push eax
push 0x10
push ebx
lea eax, [esp + 0x168]
mov dword [0x11a166fc], 0x3f800000
push eax
mov dword [0x11a166ec], ebx
call fcn.1003e2e5
push 0x1006c485
mov dword [0x11a166f4], 7
mov dword [0x11a166f8], 8
call fcn.10050d9c
or dword [esp + 0x1b0], 0xffffffff
pop ecx
xorps xmm0, xmm0
lea ecx, [esp + 0x144]
movdqu xmmword [esp + 0x70], xmm0
mov dword [esp + 0x2c], 6
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x2c], 0x8da8e97e
mov dword [esp + 0x2c], edi
mov dword [esp + 0x2c], 0x8c66f5a9
push 4
call fcn.1000bc50
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x1c], 0xfffffffb
mov dword [esp + 0x24], 0x3bd6
mov dword [esp + 0x18], ebx
jmp 0x1003cc49
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x144]
mov dword [eax + ecx*4], 0xc891c553
inc dword [esp + 0x18]
cmp dword [esp + 0x18], 4
jl 0x1003cc33
dec dword [esp + 0x1c]
lea ecx, [esp + 0x144]
dec dword [esp + 0x24]
call fcn.1000bcb2
lea eax, [esp + 0x34]
push eax
call fcn.1003da5c
mov esi, dword [eax]
mov al, byte [ebp + 0xc]
mov dword [esp + 0x28], esi
test al, al
jne 0x1003cc83
test esi, esi
jne 0x1003d097
lea ecx, [esp + 0x190]
mov dl, al
push ecx
mov ecx, dword [esp + 0x38]
call fcn.1003137c
cmp byte [ebp + 0xc], 0
lea edi, [esp + 0x74]
mov esi, eax
pop ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x1003cdc3
cmp dword [esp + 0x78], 0
je 0x1003cdc3
mov dword [esp + 0x10], 9
mov dword [esp + 0x18], 0xfffffff9
mov dword [esp + 0x2c], 0x458c458a
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x10], 0xfffffff1
je 0x1003cdb3
xor esi, esi
inc esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
jmp 0x1003ccfa
mov eax, dword [esp + 0x18]
mov dword [esp + eax*4 + 0x40], 5
inc dword [esp + 0x18]
cmp dword [esp + 0x18], esi
jl 0x1003ccea
cmp dword [esp + 0x10], ebx
je 0x1003cd46
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x40]
sub edx, eax
mov eax, dword [esp + 0x10]
cmp edx, eax
mov edx, esi
setne cl
xor eax, eax
add ecx, dword [esp + 0x10]
cmp ecx, 0x11c3fc02
setne al
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x1c], ebx
jne 0x1003cd48
mov edx, ebx
mov eax, dword [esp + 0x10]
xor ecx, ecx
cmp eax, edx
setg cl
xor eax, eax
cmp ecx, 0x1c1d
setle al
mov dword [esp + 0x18], eax
mov dword [esp + 0x18], ebx
jmp 0x1003cd9e
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], ebx
jmp 0x1003cd85
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x80], 0x11de2a90
inc dword [esp + 0x14]
cmp dword [esp + 0x14], esi
jl 0x1003cd72
dec dword [esp + 0x1c]
mov dword [esp + 0x80], 0xfffffffd
inc dword [esp + 0x18]
cmp dword [esp + 0x18], esi
jge 0x1003cd68
dec dword [esp + 0x10]
cmp dword [esp + 0x10], 0xfffffff1
jne 0x1003cce0
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x60], eax
mov esi, dword [esp + 0x28]
test esi, esi
jne 0x1003d094
cmp dword [esp + 0x70], esi
jle 0x1003d094
mov dword [esp + 0x10], 0xde19d29b
mov eax, 0xa0122d80
mov dword [esp + 0x18], 0x600d5493
mov dword [esp + 0x114], eax
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], eax
mov dword [esp + 0x18], ebx
jmp 0x1003ce1f
mov eax, dword [esp + 0x18]
mov dword [esp + eax*4 + 0xa4], ebx
inc dword [esp + 0x18]
cmp dword [esp + 0x18], 3
jl 0x1003ce10
push 2
mov dword [esp + 0x14], ebx
pop edi
jmp 0x1003ceff
mov dword [esp + 0x1c], 0xfffffffe
mov dword [esp + 0x14], 0xd2466e9f
mov eax, dword [esp + 0x10]
mov eax, dword [esp + eax*4 + 0xa4]
cmp dword [esp + 0xa8], ebx
jne 0x1003ce68
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x1c], eax
jne 0x1003ce68
mov eax, ebx
jmp 0x1003ce6b
xor eax, eax
inc eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + eax*4 + 0xa4]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + eax*4 + 0xa4]
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x10], eax
jne 0x1003ce97
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
xor edx, edx
mov eax, dword [esp + 0x10]
cmp ecx, eax
setl dl
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edi
cmp dword [esp + 0x18], ebx
jl 0x1003cefb
mov dword [esp + 0x14], ebx
jmp 0x1003cecd
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x130], 0x276cc72b
inc dword [esp + 0x14]
cmp dword [esp + 0x14], edi
jl 0x1003ceba
mov dword [esp + 0x14], edi
cmp dword [esp + 0x14], ebx
jl 0x1003ceee
mov dword [esp + 0x134], 0x78ef8a6e
dec dword [esp + 0x14]
jns 0x1003cedd
mov dword [esp + 0x114], ebx
dec dword [esp + 0x18]
jns 0x1003ceb4
inc dword [esp + 0x10]
cmp dword [esp + 0x10], edi
jle 0x1003ce32
mov byte [esp + 0x23], bl
cmp byte [esp + 0x23], 0
je 0x1003cf1b
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor edi, edi
mov dword [esp + 0x14], ebx
inc edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x14], 0xfffffff9
jmp 0x1003cfcd
mov dword [esp + 0x1c], edi
xor edx, edx
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
sub ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
cmp ecx, eax
mov eax, dword [esp + 0x14]
setle dl
xor ecx, ecx
cmp eax, edx
setle cl
xor edx, edx
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x1c]
cmp eax, 0x7e4a906
mov eax, dword [esp + 0x14]
setne dl
xor ecx, ecx
cmp eax, edx
setge cl
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x1c]
neg eax
sub eax, 3
neg eax
sbb eax, eax
inc eax
sub eax, dword [esp + 0x24]
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], eax
mov byte [esp + 0x23], bl
cmp byte [esp + 0x23], 0
je 0x1003cfc9
push ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_RectVisible]
dec dword [esp + 0x14]
cmp dword [esp + 0x14], 0xffffffee
je 0x1003cf37
mov dword [esp + 0x10], 0x3b4e1a36
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x14], edi
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x1c], 0xa233712
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], eax
cmp dword [esp + 0x24], ebx
je 0x1003d06f
xor ecx, ecx
mov dword [esp + 0x28], 0xed3c15d
mov eax, dword [esp + 0x18]
cmp eax, 0xe008
setle cl
inc dword [esp + 0x1c]
mov dword [esp + 0x24], ecx
xor edx, edx
mov ecx, dword [esp + 0x28]
add ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
cmp ecx, eax
mov eax, dword [esp + 0x18]
setne dl
imul eax, dword [esp + 0x24]
xor ecx, ecx
cmp edx, eax
mov eax, dword [esp + 0x2c]
setge cl
xor edx, edx
cmp ecx, eax
mov eax, dword [esp + 0x10]
setge dl
xor ecx, ecx
cmp edx, eax
setne cl
mov dword [esp + 0x14], ecx
jmp 0x1003d077
mov dword [esp + 0x1c], edi
inc dword [esp + 0x1c]
mov ecx, dword [esp + 0x74]
test ecx, ecx
je 0x1003d097
call fcn.1003c3d5
mov esi, eax
lea eax, [esp + 0x34]
push eax
call fcn.1003da5c
mov dword [eax], esi
jmp 0x1003d097
xor edi, edi
inc edi
mov dword [esp + 0x1c], 0xd313dd33
lea ecx, [esp + 0x138]
mov dword [esp + 0x2c], 0xdb7b2415
push edi
call fcn.1000bc50
push 6
pop edx
mov dword [esp + 0x1ac], edx
mov dword [esp + 0x18], ebx
jmp 0x1003d0da
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x138]
mov dword [eax + ecx*4], 0xfffffffe
inc dword [esp + 0x18]
cmp dword [esp + 0x18], edi
jl 0x1003d0c4
mov dword [esp + 0x1c], edx
jmp 0x1003d334
mov dword [esp + 0x24], 0xfe01bd97
lea ecx, [esp + 0x150]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x2c], 0x6e700d62
mov dword [esp + 0x10], 0xc6076fda
mov dword [esp + 0x2c], 8
mov dword [esp + 0x2c], edi
push 3
call fcn.1000bc50
push 3
lea ecx, [esp + 0x164]
mov byte [esp + 0x1b0], 7
call fcn.1000bc50
mov byte [esp + 0x1ac], 8
mov dword [esp + 0x10], ebx
jmp 0x1003d155
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x150]
mov dword [eax + ecx*4], edi
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 3
jl 0x1003d143
mov dword [esp + 0x10], ebx
jmp 0x1003d178
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x160]
mov dword [eax + ecx*4], 0x4bc4433a
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 3
jl 0x1003d162
mov dword [esp + 0x24], 0x12
jmp 0x1003d305
push 3
lea ecx, [esp + 0xb4]
call fcn.1000bc50
mov byte [esp + 0x1ac], 9
mov dword [esp + 0x14], 0x35c5735
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x10], ebx
jmp 0x1003d1ce
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xb0]
mov dword [eax + ecx*4], 0x87f2fb5a
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 3
jl 0x1003d1b8
push 2
mov dword [esp + 0x14], ebx
pop ecx
jmp 0x1003d1ed
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x180], ebx
inc dword [esp + 0x10]
cmp dword [esp + 0x10], ecx
jl 0x1003d1de
mov dword [esp + 0x14], ebx
jmp 0x1003d28a
mov dword [esp + 0x18], 0x92f644a
mov dword [esp + 0x18], ebx
jmp 0x1003d21d
mov eax, dword [esp + 0x18]
mov dword [esp + eax*4 + 0x178], 0x1d52aa0a
inc dword [esp + 0x18]
cmp dword [esp + 0x18], ecx
jl 0x1003d20a
mov dword [esp + 0x18], ecx
cmp dword [esp + 0x18], ebx
jl 0x1003d286
push edi
lea ecx, [esp + 0x128]
call fcn.1000bc50
mov dword [esp + 0x10], ebx
jmp 0x1003d252
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x124]
mov dword [eax + ecx*4], edi
inc dword [esp + 0x10]
cmp dword [esp + 0x10], edi
jl 0x1003d240
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0xb0]
mov eax, dword [ecx + eax*4]
mov dword [ecx + edx*4], eax
lea ecx, [esp + 0x124]
dec dword [esp + 0x28]
call fcn.1000bcb2
dec dword [esp + 0x18]
jns 0x1003d22d
push 2
pop ecx
inc dword [esp + 0x14]
cmp dword [esp + 0x14], ecx
jle 0x1003d1fc
mov dword [esp + 0x10], ebx
jmp 0x1003d2e6
push edi
lea ecx, [esp + 0xcc]
call fcn.1000bc50
mov dword [esp + 0x18], ebx
jmp 0x1003d2c3
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0xc8]
mov dword [eax + ecx*4], 0x1290
inc dword [esp + 0x18]
cmp dword [esp + 0x18], edi
jl 0x1003d2ad
mov eax, dword [esp + 0xc8]
lea ecx, [esp + 0xc8]
mov dword [eax], 2
call fcn.1000bcb2
dec dword [esp + 0x10]
cmp dword [esp + 0x10], 0xfffffffd
jne 0x1003d29a
lea ecx, [esp + 0xb0]
mov byte [esp + 0x1ac], 8
call fcn.1000bcb2
dec dword [esp + 0x24]
cmp dword [esp + 0x24], 0xfffffffa
jl 0x1003d18c
lea ecx, [esp + 0x160]
call fcn.1000bcb2
lea ecx, [esp + 0x150]
mov byte [esp + 0x1ac], 6
call fcn.1000bcb2
inc dword [esp + 0x1c]
cmp dword [esp + 0x1c], 0x1c
jle 0x1003d0e9
or dword [esp + 0x1ac], 0xffffffff
lea ecx, [esp + 0x138]
call fcn.1000bcb2
lea ecx, [esp + 0x70]
call fcn.100387b6
test esi, esi
je 0x1003d5c5
push 0xfffffffffffffffe
pop eax
mov dword [esp + 0x104], eax
mov dword [esp + 0x108], eax
mov dword [esp + 0x10c], eax
mov dword [esp + 0x110], eax
mov dword [esp + 0x24], 0x1c1ec2db
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], 0x21afa9b6
mov dword [esp + 0x24], ebx
jmp 0x1003d400
mov dword [esp + 0x1c], ebx
jmp 0x1003d3b6
mov eax, dword [esp + 0x1c]
mov dword [esp + eax*4 + 0x88], 0x39ed080c
inc dword [esp + 0x1c]
cmp dword [esp + 0x1c], 4
jl 0x1003d3a3
mov dword [esp + 0x8c], ebx
jmp 0x1003d3f2
mov dword [esp + 0x28], 0x98764276
xor edx, edx
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + eax*4 + 0x104]
mov eax, dword [esp + 0x28]
cmp ecx, eax
setl dl
mov dword [esp + 0x2c], edx
inc dword [esp + 0x8c]
cmp dword [esp + 0x8c], 3
jle 0x1003d3c6
inc dword [esp + 0x24]
cmp dword [esp + 0x24], 3
jle 0x1003d39d
mov edx, dword [esp + 0x30]
mov ecx, esi
call fcn.1003c401
push 4
pop esi
push esi
lea ecx, [esp + 0xf0]
mov dword [esp + 0x5c], eax
call fcn.1000bc50
mov dword [esp + 0x1ac], 0xa
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x10], ebx
jmp 0x1003d44f
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x44], 9
inc dword [esp + 0x10]
cmp dword [esp + 0x10], esi
jl 0x1003d43f
mov dword [esp + 0x10], ebx
jmp 0x1003d471
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xec]
mov dword [eax + ecx*4], 5
inc dword [esp + 0x10]
cmp dword [esp + 0x10], esi
jl 0x1003d45b
mov esi, dword [esp + 0xec]
mov dword [esi + 0xc], ebx
mov dword [esp + 0x1c], 5
lea ecx, [esp + 0xe0]
mov dword [esp + 0x28], 0x440e708b
push 3
call fcn.1000bc50
mov dword [esp + 0x1c], ebx
jmp 0x1003d4bb
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0xe0]
mov dword [eax + ecx*4], 0xfffffffe
inc dword [esp + 0x1c]
cmp dword [esp + 0x1c], 3
jl 0x1003d4a5
mov eax, dword [esi + 0xc]
cmp dword [esp + eax*4 + 0x44], ebx
jne 0x1003d4d6
mov eax, dword [esi + 0xc]
cmp dword [esp + eax*4 + 0x44], ebx
jne 0x1003d4d6
mov edi, ebx
cmp dword [esp + 0x48], ebx
jne 0x1003d4e3
mov eax, dword [esi + 0xc]
mov eax, dword [esp + eax*4 + 0x44]
mov eax, dword [esi + 0xc]
mov eax, dword [esp + eax*4 + 0x44]
mov eax, dword [esi + 0xc]
mov eax, dword [esp + eax*4 + 0x44]
mov eax, dword [esi + 0xc]
mov eax, dword [esp + eax*4 + 0x44]
mov eax, dword [esp + 0x44]
mov eax, dword [esi + 0xc]
mov eax, dword [esp + eax*4 + 0x44]
mov dword [esp + 0x1c], 0x47ea567e
imul eax, dword [esp + 0x1c], 0x2ad0
test eax, eax
jne 0x1003d527
cmp dword [esp + 0x1c], ebx
jne 0x1003d527
cmp dword [esp + 0x28], ebx
jne 0x1003d527
mov ecx, ebx
jmp 0x1003d52a
xor ecx, ecx
inc ecx
mov eax, dword [esp + 0xe0]
mov dword [eax + 8], ecx
test ecx, ecx
je 0x1003d543
cmp dword [esp + 0x44], ebx
je 0x1003d543
xor edx, edx
inc edx
jmp 0x1003d545
mov edx, ebx
mov eax, dword [esp + 0x48]
mov ecx, dword [esi + 0xc]
add eax, edx
xor edx, edx
cmp eax, 6
setge dl
mov eax, dword [esp + ecx*4 + 0x44]
imul edx, ecx
xor ecx, ecx
cmp edx, eax
setle cl
imul ecx, edi
sub ecx, dword [esp + 0x28]
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0xe0]
call fcn.1000bcb2
inc dword [esi + 0xc]
cmp dword [esi + 0xc], 3
push 1
pop edi
jle 0x1003d481
mov byte [esp + 0x23], bl
cmp byte [esp + 0x23], 0
je 0x1003d59e
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
or dword [esp + 0x1ac], 0xffffffff
lea ecx, [esp + 0xec]
call fcn.1000bcb2
lea eax, [esp + 0x54]
push eax
call fcn.1003d9fa
mov ecx, dword [esp + 0x58]
xor edi, edi
inc edi
mov dword [eax], ecx
mov dword [esp + 0x14], 0xfffffff7
mov dword [esp + 0x28], 0xffffffff
cmp dword [esp + 0x14], ebx
je 0x1003d5df
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x14]
je 0x1003d634
mov byte [esp + 0x23], bl
cmp byte [esp + 0x23], 0
je 0x1003d673
push ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x1003d673
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x14], edi
jmp 0x1003d668
mov byte [esp + 0x23], bl
cmp byte [esp + 0x23], 0
je 0x1003d664
push 0x11cb
push 0x13b9
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetClassLongA]
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 0x14
jle 0x1003d642
mov dword [esp + 0x30], edi
mov eax, dword [ebp + 8]
lea esi, [esp + 0x58]
mov ecx, dword [esp + 0x1a4]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret