Function at 0x1003dd84
Capabilities:
Accept command line arguments
Check http status code
Check os version
Create directory
Create pipe
Enumerate gui resources
Get common file path
Get file size
Get geographical location
Modify service
Query or enumerate registry value
Query service status
Start service
Terminate process

Disassembly:
mov eax, 0x1006be75
call fcn.1006a778
mov eax, 0xc4644
call fcn.10066650
push ebx
push esi
push edi
push 3
pop edi
push 0xffffffffffffffff
mov byte [ebp - 0x61], dl
xor ebx, ebx
pop edx
push 1
mov dword [ebp - 0x68], ecx
mov esi, 0xf495e3b3
mov dword [ebp - 0x10], 0xfffffffa
mov dword [ebp - 0x10], ebx
pop ecx
jmp 0x1003de1c
mov dword [ebp - 0x14], 0x31e42a43
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 0x1b
je 0x1003de19
mov dword [ebp - 0x34], esi
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x10], eax
jl 0x1003dde2
mov eax, ecx
cmp dword [ebp - 0x34], ebx
jne 0x1003dde4
mov eax, ebx
mov dword [ebp - 0x28], eax
xor edx, edx
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x10]
cmp ecx, eax
mov eax, dword [ebp - 0x10]
setle dl
sub eax, 7
cmp eax, 2
push 1
sbb eax, eax
xor ecx, ecx
inc eax
cmp eax, edx
setne cl
mov dword [ebp - 0x34], ecx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x1b
pop ecx
jne 0x1003ddd0
or edx, 0xffffffff
dec dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0xfffffffe
je 0x1003ddbd
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x4c8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x10], 0x9a54e587
push edi
call fcn.1000dfce
mov dword [ebp - 0x14], ebx
jmp 0x1003de56
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x4c8]
mov dword [eax + ecx*4], 0xfff8
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x1003de43
mov dword [ebp - 0x38], 0xa
cmp dword [ebp - 0x38], 0xfffffff0
jne 0x1003deda
mov edi, 0xef7d2668
mov dword [ebp - 0x34], 0x47d2038e
mov dword [ebp - 0x28], 0xfffffffb
mov dword [ebp - 0x48], 0xdfbc43cc
cmp dword [ebp - 0x28], 2
jl 0x1003de8b
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
mov eax, dword [ebp - 0x38]
mov eax, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
sub eax, 0x736d
neg eax
sbb eax, eax
inc eax
cmp edi, eax
mov eax, dword [ebp - 0x38]
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
setle cl
mov dword [ebp - 0x48], ecx
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x38]
sub ecx, eax
neg ecx
sbb ecx, ecx
add ecx, 0xfffffff6
mov dword [ebp - 0x10], ecx
dec dword [ebp - 0x38]
cmp dword [ebp - 0x38], 0xfffffff0
je 0x1003de6d
push 3
pop edi
mov dword [ebp - 0x38], ebx
jmp 0x1003df24
mov byte [ebp - 0x1d], bl
cmp byte [ebp - 0x1d], bl
je 0x1003df04
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x8b8
push 0x228b
push 0x25fc
push ebx
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
mov dword [ebp - 0x10], ebx
jmp 0x1003df1c
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x4c8]
mov dword [eax + ecx*4], 0x9209
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], edi
jl 0x1003df09
inc dword [ebp - 0x38]
cmp dword [ebp - 0x38], 9
jl 0x1003dedf
lea ecx, [ebp - 0x4c8]
call fcn.1000e040
mov dword [ebp - 0x10], 0xfffffffa
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x10], 0xfffffffe
jne 0x1003dfad
or eax, 0xffffffff
mov dword [ebp - 0x14], 0x31e42a43
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x1b
je 0x1003dfa4
mov dword [ebp - 0x34], esi
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x10], eax
jl 0x1003df70
cmp dword [ebp - 0x34], ebx
je 0x1003df70
xor eax, eax
inc eax
jmp 0x1003df72
mov eax, ebx
mov dword [ebp - 0x28], eax
xor edx, edx
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x10]
cmp ecx, eax
mov eax, dword [ebp - 0x10]
setle dl
sub eax, 7
cmp eax, 2
sbb eax, eax
xor ecx, ecx
inc eax
cmp eax, edx
setne cl
mov dword [ebp - 0x34], ecx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x1b
jne 0x1003df5b
or eax, 0xffffffff
dec dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0xfffffffe
je 0x1003df48
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x348]
mov dword [ebp - 0x10], eax
push edi
call fcn.1000dfce
mov dword [ebp - 0x24], 0x96960f57
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x14], ebx
jmp 0x1003dfe1
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x348]
mov dword [eax + ecx*4], 0xfffa
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x1003dfce
push 2
mov dword [ebp - 0x24], ebx
pop esi
cmp dword [ebp - 0x24], esi
jg 0x1003e157
or eax, 0xffffffff
xor edx, edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], 0x56df
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x348]
mov eax, dword [ecx + eax*4]
cmp eax, dword [ecx]
setg dl
imul eax, edx, 0xffff499a
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x10], ebx
jmp 0x1003e13f
mov dword [ebp - 0x30], 0x2551
cmp dword [ebp - 0x30], 0x11c7
jge 0x1003e0a9
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0x124]
push eax
push 0x10008a14
call fcn.10050e4b
mov esi, dword [ebp - 0x138]
add esp, 0xc
mov edi, ebx
cmp dword [ebp - 0x124], ebx
jle 0x1003e099
lea eax, [ebp - 0x218]
push eax
push 0x100089d8
call fcn.10050e4b
mov eax, dword [ebp - 0x138]
cdq
idiv dword [ebp - 0x218]
pop ecx
pop ecx
test edx, edx
jne 0x1003e090
cmp esi, eax
cmovge esi, eax
inc edi
cmp edi, dword [ebp - 0x124]
jl 0x1003e067
push esi
push 0x100089dc
call fcn.10051040
pop ecx
pop ecx
push 2
pop esi
mov dword [ebp - 0x34], 0x4c8f0d07
mov dword [ebp - 0x30], 0xfffffff8
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x10], ebx
je 0x1003e0d0
cmp dword [ebp - 0x34], ebx
je 0x1003e0d0
cmp dword [ebp - 0x10], ebx
je 0x1003e0d0
xor ecx, ecx
inc ecx
mov eax, ecx
jmp 0x1003e0d5
xor ecx, ecx
mov eax, ebx
inc ecx
cmp eax, dword [ebp - 0x24]
jne 0x1003e0e1
mov edx, ebx
cmp dword [ebp - 0x1c], ebx
je 0x1003e0e3
mov edx, ecx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x10]
add eax, edx
add ecx, eax
imul ecx, dword [ebp - 0x2c]
cmp ecx, 0xb64d
jge 0x1003e12d
mov dword [ebp - 0x2c], esi
cmp dword [ebp - 0x2c], ebx
jl 0x1003e13c
mov dword [ebp - 0x1c], esi
cmp dword [ebp - 0x1c], ebx
jl 0x1003e126
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x348]
mov eax, dword [ecx + eax*4]
mov dword [ecx + edx*4], eax
dec dword [ebp - 0x1c]
jns 0x1003e10f
dec dword [ebp - 0x2c]
jns 0x1003e107
jmp 0x1003e13c
mov byte [ebp - 0x1d], bl
cmp byte [ebp - 0x1d], bl
je 0x1003e13c
push ebx
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], esi
jle 0x1003e02c
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], esi
jle 0x1003dff5
push 3
pop edi
lea ecx, [ebp - 0x348]
call fcn.1000e040
xor esi, esi
mov dword [ebp - 0x10], 0x85f70ad6
inc esi
lea ecx, [ebp - 0x30c]
mov dword [ebp - 0x24], esi
push edi
call fcn.1000dfce
mov dword [ebp - 0x28], 0xfffffffd
mov dword [ebp - 0x30], 0xb53c
mov dword [ebp - 0x14], ebx
jmp 0x1003e1a1
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x30c]
mov dword [eax + ecx*4], 2
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x1003e18e
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x10], 0xfffffffc
jle 0x1003e297
mov dword [ebp - 0x34], 0xfffd
xor ecx, ecx
mov dword [ebp - 0x14], 0x7d6364d6
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0x24]
cmp eax, 0x9646
mov eax, dword [ebp - 0x14]
setl cl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x34]
setg dl
xor ebx, ebx
cmp eax, edx
setne bl
sub ebx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x34]
neg ebx
sbb ebx, ebx
xor ecx, ecx
inc ebx
cmp ebx, 0x1b40
setle cl
xor edx, edx
cmp eax, ecx
mov eax, dword [ebp - 0x10]
setge dl
xor ecx, ecx
cmp edx, eax
setg cl
xor ebx, ebx
add ecx, dword [ebp - 0x10]
jne 0x1003e220
mov edx, ebx
cmp dword [ebp - 0x14], ebx
je 0x1003e222
mov edx, esi
mov eax, dword [ebp - 0x14]
xor ecx, ecx
cmp edx, eax
setl cl
sub ecx, dword [ebp - 0x24]
cmp ecx, dword [ebp - 0x24]
jne 0x1003e258
mov dword [ebp - 0x24], 2
cmp dword [ebp - 0x24], ebx
jl 0x1003e287
mov byte [ebp - 0x1d], bl
cmp byte [ebp - 0x1d], 0
je 0x1003e251
push ebx
push ebx
call dword [sym.imp.GDI32.dll_RectInRegion]
dec dword [ebp - 0x24]
jns 0x1003e240
jmp 0x1003e287
xor ecx, ecx
mov dword [ebp - 0x14], ebx
inc ecx
jmp 0x1003e271
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x144], 0x9843334a
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], ecx
jl 0x1003e260
cmp dword [ebp - 0x144], ebx
jne 0x1003e294
mov eax, dword [ebp - 0x144]
xor esi, esi
inc esi
dec dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0xfffffffc
jg 0x1003e1b3
xor esi, esi
inc esi
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x24], ebx
je 0x1003e2a7
cmp dword [ebp - 0x10], ebx
jne 0x1003e2b4
mov eax, dword [ebp - 0x30c]
mov ecx, ebx
cmp dword [eax + 8], ebx
je 0x1003e2b6
mov ecx, esi
mov eax, dword [ebp - 0x24]
sub eax, ecx
xor ecx, ecx
imul edx, eax, 0x9b8a
mov eax, dword [ebp - 0x24]
neg eax
add edx, 0x12ed4033
cmp eax, edx
setge cl
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
dec ecx
neg ecx
sbb ecx, ecx
neg ecx
imul ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x30c]
mov eax, dword [eax]
sub eax, ecx
test eax, eax
jle 0x1003e2fc
mov edx, ebx
cmp dword [ebp - 0x28], ebx
je 0x1003e2fe
mov edx, esi
mov eax, dword [ebp - 0x30c]
xor ecx, ecx
cmp edx, dword [eax]
setl cl
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x30c]
call fcn.1000e040
mov dword [ebp - 0x2c], 0xfffffffa
mov dword [ebp - 0x2c], ebx
cmp dword [ebp - 0x2c], 0xfffffffe
jne 0x1003e76b
lea eax, [ebp - 0x5d4]
lea ecx, [ebp - 0x5c4]
mov dword [ebp - 0x14], 0x31e42a43
xorps xmm0, xmm0
mov dword [ebp - 0x28], edi
or edi, 0xffffffff
mov dword [ebp - 0x14], 0x91a049fe
mov dword [ebp - 0x4c], 0xf84b8114
push ecx
mov dword [ebp - 0x4c], 0x39ed080c
mov dword [ebp - 0x58], edi
push ecx
mov dword [ebp - 0x54], edi
lea ecx, [ebp - 0x7d0]
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], edi
push eax
movdqu xmmword [ebp - 0x5d4], xmm0
call fcn.100329ab
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], 0x16
jmp 0x1003e399
mov dword [ebp - 0x28], 5
inc dword [ebp - 0x28]
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x19
jle 0x1003e38c
mov dword [ebp - 0x30], 0x1d9c
cmp dword [ebp - 0x30], 0x12a2
jge 0x1003e4e5
mov edx, 0x10072628
mov ecx, 0x1065de18
call fcn.10036839
push 0x122164e0
mov ecx, 0x1065de18
call fcn.100322c2
mov esi, ebx
cmp dword [0x1007263c], 0x10
mov eax, 0x10072628
cmovae eax, dword [0x10072628]
cmp byte [eax + esi], 0x31
jne 0x1003e406
lea eax, [esi + 1]
mov ecx, 0x1266e674
mov dword [ebp - 0x2dc], eax
lea eax, [ebp - 0x2dc]
push eax
call fcn.10032956
inc esi
cmp esi, 0xa
jl 0x1003e3d3
push 0x213bd0
push edi
push 0x122348e8
call fcn.1003c587
add esp, 0xc
xor edx, edx
xor ecx, ecx
push ebx
push ebx
push ebx
push 0xb
call fcn.1003d8d6
mov eax, dword [0x1266e664]
add esp, 0x10
sub eax, dword [0x1266e660]
sar eax, 2
cmp eax, dword [0x122164e0]
jne 0x1003e4d9
push 0x100089f0
call fcn.100511a7
mov esi, dword [0x1266e664]
mov edx, dword [0x1266e660]
pop ecx
cmp edx, esi
je 0x1003e488
push 4
pop edi
sub esi, edi
cmp edx, esi
je 0x1003e47c
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [edx], eax
add edx, edi
mov dword [esi], ecx
cmp edx, esi
jne 0x1003e468
mov esi, dword [0x1266e664]
mov edx, dword [0x1266e660]
sub esi, edx
mov edi, ebx
test esi, 0xfffffffc
jle 0x1003e4c9
mov esi, 0x10008aed
push dword [edx + edi*4]
test edi, edi
mov eax, 0x10008ec8
cmove eax, esi
push eax
push 0x100090d4
call fcn.10051040
mov eax, dword [0x1266e664]
add esp, 0xc
mov edx, dword [0x1266e660]
inc edi
sub eax, edx
sar eax, 2
cmp edi, eax
jl 0x1003e499
mov eax, 0x10008aed
push eax
call fcn.100511a7
or edi, 0xffffffff
jmp 0x1003e4e4
mov eax, 0x100089f4
push eax
call fcn.100511a7
pop ecx
mov eax, dword [ebp - 0x7d0]
lea ecx, [ebp - 0x7d0]
dec dword [eax + 0xc]
mov dword [ebp - 4], edi
call fcn.1000e040
mov dword [ebp - 0x14], edi
jmp 0x1003e745
mov dword [ebp - 0x40], 0xf495e3b3
lea ecx, [ebp - 0x1e0]
push 2
call fcn.1000dfce
xor eax, eax
lea ecx, [ebp - 0x588]
inc eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 0xfb871c7b
push eax
call fcn.1000dfce
mov byte [ebp - 4], 2
mov dword [ebp - 0x10], ebx
jmp 0x1003e54d
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1e0]
mov dword [eax + ecx*4], 0xa684
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 2
jl 0x1003e53a
xor edx, edx
mov dword [ebp - 0x10], ebx
inc edx
jmp 0x1003e56e
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x588]
mov dword [eax + ecx*4], 0xfffffffb
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], edx
jl 0x1003e55b
mov byte [ebp - 0x1d], bl
cmp byte [ebp - 0x1d], 0
je 0x1003e58f
push 0x2e2
push 0x457
call dword [sym.imp.USER32.dll_SetParent]
xor edx, edx
inc edx
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], ebx
jl 0x1003e6ef
mov ebx, dword [ebp - 0x1e0]
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x28], 0x2703d9b9
mov dword [ebp - 0x28], 5
mov dword [ebp - 0x30], 0x1871
cmp dword [ebp - 0x30], 0x1194
jge 0x1003e676
push 0x122164d8
push ecx
xor ebx, ebx
mov ecx, 0x1065de18
push 0x12448c48
mov dword [ebp - 0x34], ebx
call fcn.100322c2
pop ecx
mov ecx, eax
call fcn.100322c2
mov eax, dword [0x12448c48]
mov edi, ebx
test eax, eax
jle 0x1003e65c
mov esi, 0x1266e680
mov edx, esi
mov ecx, 0x1065de18
call fcn.10036839
mov eax, dword [0x12448c48]
inc edi
add esi, 0x18
cmp edi, eax
jl 0x1003e5f8
test eax, eax
jle 0x1003e65c
mov ecx, dword [0x122164d8]
mov edi, 0x1266e680
xor esi, esi
test ecx, ecx
jle 0x1003e654
cmp dword [edi + 0x14], 0x10
jb 0x1003e630
mov eax, dword [edi]
jmp 0x1003e632
mov eax, edi
cmp byte [eax + esi], 0x42
jne 0x1003e64a
inc dword [ebp - 0x34]
mov edx, esi
mov ecx, ebx
call fcn.1003da32
mov ecx, dword [0x122164d8]
inc esi
cmp esi, ecx
jl 0x1003e626
mov eax, dword [0x12448c48]
inc ebx
add edi, 0x18
cmp ebx, eax
jl 0x1003e620
push dword [ebp - 0x34]
mov ecx, 0x1065dcf8
call fcn.100326e7
push eax
call fcn.10035be1
mov ebx, dword [ebp - 0x48]
or edi, 0xffffffff
pop ecx
mov byte [ebp - 0x1d], 0
cmp byte [ebp - 0x1d], 0
je 0x1003e695
push 0x10ab
push 0xc2
push 0x1e22
call dword [sym.imp.GDI32.dll_GetPixel]
mov eax, dword [ebp - 0x10]
mov edx, edi
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1e0]
sub edx, dword [eax + ecx*4]
mov dword [ebp - 0x28], edx
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1e0]
sub edx, dword [eax + ecx*4]
xor ecx, ecx
mov eax, dword [ebp - 0x28]
cmp eax, edx
mov eax, dword [ebp - 0x1e0]
setle cl
add ecx, dword [eax + esi*4]
xor eax, eax
cmp ecx, dword [ebx + 4]
setl al
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x588]
mov dword [eax], ecx
dec dword [ebp - 0x10]
jns 0x1003e5a4
xor ebx, ebx
lea ecx, [ebp - 0x588]
call fcn.1000e040
lea ecx, [ebp - 0x1e0]
mov dword [ebp - 4], edi
call fcn.1000e040
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0x2c], eax
jl 0x1003e71a
cmp dword [ebp - 0x40], ebx
je 0x1003e71a
xor eax, eax
inc eax
jmp 0x1003e71c
mov eax, ebx
mov dword [ebp - 0x28], eax
xor edx, edx
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
cmp ecx, eax
mov eax, dword [ebp - 0x2c]
setle dl
sub eax, 7
cmp eax, 2
sbb eax, eax
xor ecx, ecx
inc eax
cmp eax, edx
setne cl
mov dword [ebp - 0x40], ecx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x1b
jne 0x1003e504
dec dword [ebp - 0x2c]
lea eax, [ebp - 0x5d4]
cmp dword [ebp - 0x2c], 0xfffffffe
lea ecx, [ebp - 0x5c4]
push 3
pop edi
je 0x1003e339
or esi, 0xffffffff
lea ecx, [ebp - 0x4e0]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x10], 0x9a54e587
push edi
call fcn.1000dfce
mov dword [ebp - 0x14], ebx
jmp 0x1003e79c
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x4e0]
mov dword [eax + ecx*4], 0xfff8
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x1003e789
mov dword [ebp - 0x38], 0xa
cmp dword [ebp - 0x38], 0xfffffff0
jne 0x1003e820
mov esi, 0xef7d2668
mov dword [ebp - 0x34], 0x47d2038e
mov dword [ebp - 0x28], 0xfffffffb
mov dword [ebp - 0x48], 0xdfbc43cc
cmp dword [ebp - 0x28], 2
jl 0x1003e7d1
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
mov eax, dword [ebp - 0x38]
mov eax, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
sub eax, 0x736d
neg eax
sbb eax, eax
inc eax
cmp esi, eax
mov eax, dword [ebp - 0x38]
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
setle cl
mov dword [ebp - 0x48], ecx
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x38]
sub ecx, eax
neg ecx
sbb ecx, ecx
add ecx, 0xfffffff6
mov dword [ebp - 0x10], ecx
dec dword [ebp - 0x38]
cmp dword [ebp - 0x38], 0xfffffff0
je 0x1003e7b3
or esi, 0xffffffff
mov dword [ebp - 0x38], ebx
jmp 0x1003e86b
mov byte [ebp - 0x1d], bl
cmp byte [ebp - 0x1d], 0
je 0x1003e84b
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x8b8
push 0x228b
push 0x25fc
push ebx
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
mov dword [ebp - 0x10], ebx
jmp 0x1003e863
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x4e0]
mov dword [eax + ecx*4], 0x9209
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], edi
jl 0x1003e850
inc dword [ebp - 0x38]
cmp dword [ebp - 0x38], 9
jl 0x1003e825
lea ecx, [ebp - 0x4e0]
call fcn.1000e040
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], 0x1429
cmp dword [ebp - 0x30], 0xb2a
jge 0x1003e9b3
lea eax, [ebp - 0x100]
mov ecx, 0x1065de18
push eax
call fcn.100322c2
push esi
push ecx
push ecx
call fcn.1004aaf6
mov esi, dword [ebp - 0x100]
test esi, esi
je 0x1003e9a9
push ebx
push ebx
lea ecx, [ebp - 0x478]
mov dword [ebp - 0x468], ebx
dec esi
mov dword [ebp - 0x464], ebx
call fcn.1000e3c8
lea edx, [ebp - 0x478]
mov dword [ebp - 4], edi
mov ecx, 0x1065de18
call fcn.1003603a
push 0x68
lea eax, [ebp - 0x954]
mov dword [ebp - 0x958], ebx
push ebx
push eax
call fcn.100510f0
mov ebx, dword [ebp - 0x468]
xor ecx, ecx
add esp, 0xc
mov edi, ecx
test ebx, ebx
jle 0x1003e93f
cmp dword [ebp - 0x464], 0x10
lea eax, [ebp - 0x478]
cmovae eax, dword [ebp - 0x478]
movsx eax, byte [eax + edi]
push eax
call fcn.10053df5
pop ecx
lea eax, [ebp + eax*4 - 0xadc]
inc dword [eax]
inc edi
cmp edi, ebx
jl 0x1003e910
xor ecx, ecx
mov edi, dword [ebp - 0x958]
xor eax, eax
inc eax
cmp dword [ebp + eax*4 - 0x958], edi
cmovg edi, dword [ebp + eax*4 - 0x958]
inc eax
cmp eax, 0x1b
jl 0x1003e948
mov ebx, ecx
cmp dword [ebp + ebx*4 - 0x958], edi
jne 0x1003e975
lea edx, [ebx + 0x61]
mov ecx, 0x1065dcf8
call fcn.10035e1e
inc ebx
cmp ebx, 0x1b
jl 0x1003e95f
push 0x1065dcf8
call fcn.10035be1
or eax, 0xffffffff
xor ebx, ebx
pop ecx
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x478]
xor eax, eax
push ebx
inc eax
push eax
call fcn.1000e3c8
push 3
pop edi
test esi, esi
jne 0x1003e8bd
dec esi
mov dword [ebp - 0x100], esi
or esi, 0xffffffff
mov dword [ebp - 0x14], 0x2c03342e
xor ecx, ecx
mov dword [ebp - 0x4c], esi
inc ecx
mov dword [ebp - 0x4c], 0x3b6182ea
mov dword [ebp - 0x30], 0xfffffff9
mov dword [ebp - 0x4c], 0x6a205b29
mov dword [ebp - 0x14], ebx
jmp 0x1003e9e7
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x208], ebx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], ecx
jl 0x1003e9da
push 2
mov dword [ebp - 0x14], 0xffffffeb
pop esi
cmp dword [ebp - 0x14], 0xffffffea
push edi
je 0x1003ea71
mov dword [ebp - 0x4c], 0x26ff23b1
lea ecx, [ebp - 0x750]
call fcn.1000dfce
xor ecx, ecx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x10], ebx
inc ecx
jmp 0x1003ea2b
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x7f0], 0xfffffffa
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], ecx
jl 0x1003ea1a
mov dword [ebp - 0x10], ebx
jmp 0x1003ea48
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x750]
mov dword [eax + ecx*4], 0x84bc9c3d
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], edi
jl 0x1003ea35
dec dword [ebp - 0x28]
mov byte [ebp - 0x1d], bl
cmp byte [ebp - 0x1d], 0
je 0x1003ea61
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
lea ecx, [ebp - 0x750]
call fcn.1000e040
dec dword [ebp - 0x14]
jmp 0x1003e9f6
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x3d8]
mov dword [ebp - 0x208], eax
call fcn.1000dfce
mov dword [ebp - 0x24], 0x96960f57
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x14], ebx
jmp 0x1003eaa7
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x3d8]
mov dword [eax + ecx*4], 0xfffa
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x1003ea94
mov dword [ebp - 0x24], ebx
cmp dword [ebp - 0x24], esi
jg 0x1003eb9e
or edi, 0xffffffff
mov dword [ebp - 0x10], edi
xor edx, edx
mov dword [ebp - 0x1c], 0x56df
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x3d8]
mov eax, dword [ecx + eax*4]
cmp eax, dword [ecx]
setg dl
imul eax, edx, 0xffff499a
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x10], ebx
jmp 0x1003eb86
mov dword [ebp - 0x34], 0x4c8f0d07
mov dword [ebp - 0x30], 0xfffffff8
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x10], ebx
je 0x1003eb16
cmp dword [ebp - 0x34], ebx
je 0x1003eb16
cmp dword [ebp - 0x10], ebx
je 0x1003eb16
xor ecx, ecx
inc ecx
mov eax, ecx
jmp 0x1003eb1b
xor ecx, ecx
mov eax, ebx
inc ecx
cmp eax, dword [ebp - 0x24]
jne 0x1003eb27
mov edx, ebx
cmp dword [ebp - 0x1c], ebx
je 0x1003eb29
mov edx, ecx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x10]
add eax, edx
add ecx, eax
imul ecx, dword [ebp - 0x2c]
cmp ecx, 0xb64d
jge 0x1003eb73
mov dword [ebp - 0x2c], esi
cmp dword [ebp - 0x2c], ebx
jl 0x1003eb83
mov dword [ebp - 0x1c], esi
cmp dword [ebp - 0x1c], ebx
jl 0x1003eb6c
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x3d8]
mov eax, dword [ecx + eax*4]
mov dword [ecx + edx*4], eax
dec dword [ebp - 0x1c]
jns 0x1003eb55
dec dword [ebp - 0x2c]
jns 0x1003eb4d
jmp 0x1003eb83
mov byte [ebp - 0x1d], bl
cmp byte [ebp - 0x1d], 0
je 0x1003eb83
push ebx
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], esi
jle 0x1003eaef
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], esi
jle 0x1003eabb
push 3
pop edi
lea ecx, [ebp - 0x3d8]
call fcn.1000e040
mov dword [ebp - 0x14], 0x2c03342e
or eax, 0xffffffff
mov dword [ebp - 0x4c], eax
xor edx, edx
mov dword [ebp - 0x4c], 0x3b6182ea
inc edx
mov dword [ebp - 0x48], 0xfffffff9
mov dword [ebp - 0x4c], 0x6a205b29
mov dword [ebp - 0x14], ebx
jmp 0x1003ebe0
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x2b8], ebx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edx
jl 0x1003ebd3
mov dword [ebp - 0x14], 0xffffffeb
cmp dword [ebp - 0x14], 0xffffffea
je 0x1003ed31
mov dword [ebp - 0x4c], 0x26ff23b1
mov dword [ebp - 0x30], 0x1f49
cmp dword [ebp - 0x30], 0x10c2
jge 0x1003ecb8
xor eax, eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x10c]
push eax
push 0x100089f8
call fcn.10050e4b
add esp, 0xc
xor eax, eax
lea edi, [eax + 1]
mov eax, dword [ebp - 0x10c]
sub eax, edi
push eax
call fcn.10053e52
pop ecx
mov ecx, dword [ebp - 0x110]
mov esi, eax
sub ecx, edi
push ecx
call fcn.10053e52
pop ecx
cmp esi, eax
jge 0x1003ec63
mov ecx, dword [ebp - 0x1c]
inc ebx
jmp 0x1003ec97
mov eax, dword [ebp - 0x10c]
sub eax, edi
push eax
call fcn.10053e52
pop ecx
mov ecx, dword [ebp - 0x110]
mov esi, eax
sub ecx, edi
push ecx
call fcn.10053e52
pop ecx
mov ecx, dword [ebp - 0x1c]
cmp esi, eax
jne 0x1003ec93
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
jmp 0x1003ec9a
inc ecx
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x3c]
inc edi
cmp edi, 6
jle 0x1003ec39
push ecx
push eax
push ebx
push 0x10008a00
call fcn.10051040
add esp, 0x10
xor ebx, ebx
push 3
pop edi
push 2
pop esi
push edi
lea ecx, [ebp - 0x774]
call fcn.1000dfce
xor ecx, ecx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x10], ebx
inc ecx
jmp 0x1003ece0
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x800], 0xfffffffa
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], ecx
jl 0x1003eccf
mov dword [ebp - 0x10], ebx
jmp 0x1003ecfd
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x774]
mov dword [eax + ecx*4], 0x84bc9c3d
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], edi
jl 0x1003ecea
dec dword [ebp - 0x28]
mov byte [ebp - 0x1d], bl
cmp byte [ebp - 0x1d], 0
je 0x1003ed16
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
lea ecx, [ebp - 0x774]
call fcn.1000e040
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xffffffea
jne 0x1003ebf6
xor edx, edx
inc edx
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x2b8], eax
mov dword [ebp - 0x1c], 0x459eeda5
mov dword [ebp - 0x10], 0xfffffffb
mov dword [ebp - 0x30], 0x87e3bc4a
mov dword [ebp - 0x14], ebx
jmp 0x1003ed65
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x2c4], 0xabec
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x1003ed54
mov dword [ebp - 0x10], esi
cmp dword [ebp - 0x10], ebx
jl 0x1003ed97
mov eax, dword [ebp - 0x10]
cmp dword [ebp + eax*4 - 0x2c4], ebx
jne 0x1003ed97
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + eax*4 - 0x2c4]
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x2c4], ecx
dec dword [ebp - 0x10]
jns 0x1003ed72
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov eax, ebx
cmp dword [ebp - 0x1c], ebx
je 0x1003eda6
mov eax, edx
mov edx, dword [ebp - 0x2c0]
imul eax, eax, 0x5240
push esi
sub edx, eax
mov eax, dword [ebp - 0x10]
neg edx
sbb edx, edx
dec edx
neg edx
sbb edx, edx
xor ecx, ecx
neg edx
cmp edx, 0x15fb
setg cl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x2c4]
setne dl
xor ecx, ecx
cmp edx, eax
setne cl
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x3f0]
mov dword [ebp - 0x1c], 0x6580
mov dword [ebp - 0x34], 0x6a927213
mov dword [ebp - 0x10], 0xdc41fd9d
call fcn.1000dfce
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x14], esi
jge 0x1003ee27
or edx, 0xffffffff
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x3f0]
mov dword [eax + ecx*4], edx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], esi
jl 0x1003ee13
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
mov eax, 0xfecafe8
sub eax, ecx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x1c]
jge 0x1003ee4e
cmp dword [ebp - 0x34], ebx
je 0x1003ee4e
xor esi, esi
inc esi
mov eax, esi
jmp 0x1003ee53
xor esi, esi
mov eax, ebx
inc esi
mov dword [ebp - 0x10], eax
xor edx, edx
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
cmp eax, ecx
mov eax, dword [ebp - 0x1c]
setle dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x3f0]
setne cl
mov dword [eax], ecx
xor eax, eax
test ecx, ecx
mov ecx, 0xcf5aa05
setne al
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x10], ebx
jmp 0x1003ee9a
mov eax, dword [ebp - 0x3f0]
mov dword [ebp - 0x30], ebx
mov dword [eax], ecx
mov dword [ebp - 0x30], ecx
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0x11
jg 0x1003ee89
lea ecx, [ebp - 0x3f0]
call fcn.1000e040
push edi
lea ecx, [ebp - 0x420]
call fcn.1000dfce
push 4
pop eax
mov dword [ebp - 4], eax
or eax, 0xffffffff
mov dword [ebp - 0x10], 0xfffd
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x40], 0x1078932
mov dword [ebp - 0x28], 0xcd9d754
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x14], ebx
jmp 0x1003eef1
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x89c], 0xfffffffa
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x1003eee0
inc dword [ebp - 0x10]
xor edx, edx
inc dword [ebp - 0x28]
mov eax, dword [ebp - 0x40]
dec dword [ebp - 0x34]
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x10]
cmp ecx, eax
setne dl
sub edx, dword [ebp - 0x10]
inc edx
jne 0x1003ef1c
mov eax, ebx
cmp dword [ebp - 0x10], ebx
je 0x1003ef1e
mov eax, esi
xor ecx, ecx
cmp eax, 0x4981c586
mov eax, dword [ebp - 0x30]
setge cl
add eax, 0xb6fb96f
add eax, ecx
xor edx, edx
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x10]
cmp ecx, eax
setge dl
mov dword [ebp - 0x894], edx
test edx, edx
je 0x1003ef69
mov byte [ebp - 0x1d], bl
cmp byte [ebp - 0x1d], 0
je 0x1003ef88
push 0xbb5
push ebx
push ebx
push 0x1afe
call dword [sym.imp.USER32.dll_RedrawWindow]
jmp 0x1003ef88
mov dword [ebp - 0x10], ebx
jmp 0x1003ef82
mov byte [ebp - 0x1d], bl
cmp byte [ebp - 0x1d], 0
je 0x1003ef7f
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0x2b
jg 0x1003ef6e
mov dword [ebp - 0x1c], 0x96960f57
lea ecx, [ebp - 0x2f4]
push esi
call fcn.1000dfce
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x5b8]
mov dword [ebp - 0x38], esi
or eax, 0xffffffff
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x44], 0x2038e85a
push 0xfffffffffffffff9
pop esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x4c], 0x3589fe57
mov dword [ebp - 0x3c], 0xa3191b49
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x4c], 0xcb302aff
push edi
call fcn.1000dfce
mov dword [ebp - 0x40], 0x1f0d
xor edx, edx
mov dword [ebp - 0x48], 0x88d514fa
inc edx
mov dword [ebp - 0x30], 0xa1dd7933
mov dword [ebp - 0x34], 0xfffffffa
mov dword [ebp - 0x14], 0x1692
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x4c], 0x78453370
mov dword [ebp - 0x10], ebx
jmp 0x1003f020
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x2f4]
mov dword [eax + ecx*4], ebx
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], edx
jl 0x1003f011
mov dword [ebp - 0x10], ebx
jmp 0x1003f03d
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x5b8]
mov dword [eax + ecx*4], 0xc556123d
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], edi
jl 0x1003f02a
inc dword [ebp - 0x40]
xor edx, edx
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2f4]
cmp ecx, dword [eax]
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x34]
setle dl
sub ecx, edx
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x14]
setle dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x28]
setg cl
xor edx, edx
cmp ecx, eax
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x2c]
setg dl
mov dword [ebp - 0x30], edx
xor edx, edx
cmp eax, ecx
mov eax, dword [ebp - 0x1c]
setle dl
xor ebx, ebx
cmp edx, dword [ebp - 0x30]
setne bl
xor ecx, ecx
cmp ebx, eax
mov eax, dword [ebp - 0x34]
setge cl
xor edx, edx
imul ecx, ecx, 0x4c46
cmp ecx, eax
setle dl
add edx, 2
sub edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
neg edx
sbb edx, edx
xor ebx, ebx
inc edx
cmp edx, eax
setne bl
add ebx, dword [ebp - 0x5c]
sub ebx, dword [ebp - 0x48]
neg ebx
sbb ebx, ebx
xor ecx, ecx
inc ebx
imul ebx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x5c]
cmp ebx, eax
mov eax, dword [ebp - 0x2f4]
setl cl
xor edx, edx
cmp dword [eax], ecx
mov eax, dword [ebp - 0x34]
setg dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x2f4]
setg cl
xor edx, edx
cmp ecx, dword [eax]
mov eax, dword [ebp - 0x5b8]
setl dl
xor edi, edi
xor ebx, ebx
inc edi
mov dword [eax + 8], edx
mov dword [ebp - 0x1c], 0xffffffea
cmp dword [ebp - 0x1c], 0x1b
jge 0x1003f19c
mov dword [ebp - 0x4c], 0xdc071782
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x10], ebx
jmp 0x1003f13e
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x428], 0x60b96bc9
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 2
jl 0x1003f12d
mov dword [ebp - 0x10], ebx
jmp 0x1003f15a
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x490], 0xeef3aa79
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 2
jl 0x1003f149
mov byte [ebp - 0x1d], bl
cmp byte [ebp - 0x1d], bl
je 0x1003f179
push 0x1b59
push 0x1de7
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [ebp - 0x40]
inc dword [ebp - 0x428]
mov eax, dword [ebp - 0x48c]
mov eax, dword [ebp - 0x48c]
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x30], eax
inc dword [ebp - 0x1c]
jmp 0x1003f111
lea ecx, [ebp - 0x5b8]
call fcn.1000e040
push 4
pop eax
lea ecx, [ebp - 0x2f4]
mov byte [ebp - 4], al
call fcn.1000e040
push 3
pop esi
mov dword [ebp - 0x38], ebx
lea ecx, [ebp - 0x408]
mov dword [ebp - 0x10], 0xfffffffb
push esi
call fcn.1000dfce
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x14], 0xfffffff9
mov dword [ebp - 0x48], 6
mov dword [ebp - 0x14], ebx
jmp 0x1003f1fd
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x408]
mov dword [eax + ecx*4], 7
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], esi
jl 0x1003f1ea
mov eax, dword [ebp - 0x10]
xor edx, edx
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x408]
mov eax, dword [ebp - 0x28]
cmp dword [esi + 4], ebx
setne dl
sub edx, eax
sub edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
dec edx
neg edx
sbb edx, edx
xor ecx, ecx
neg edx
cmp eax, edx
mov eax, dword [ebp - 0x408]
setne cl
imul ecx, dword [eax]
xor eax, eax
cmp ecx, dword [esi + 4]
setg al
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], ebx
je 0x1003f270
mov dword [ebp - 0x28], 0xa8d7d2a7
dec dword [ebp - 0x28]
mov dword [ebp - 0x14], ebx
jmp 0x1003f268
mov dword [ebp - 0x44], edi
cmp dword [ebp - 0x44], ebx
jne 0x1003f2cb
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 2
jle 0x1003f25d
jmp 0x1003f2cb
mov dword [ebp - 0x1c], 0x37a3
mov eax, dword [ebp - 0x1c]
neg eax
sbb eax, eax
inc eax
add eax, dword [ebp - 0x1c]
je 0x1003f2ba
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x28]
neg eax
sbb eax, eax
inc eax
cmp eax, dword [ebp - 0x1c]
jl 0x1003f29e
mov eax, edi
cmp dword [esi + 4], ebx
jne 0x1003f2a0
mov eax, ebx
xor edx, edx
cmp eax, 2
mov eax, dword [ebp - 0x14]
setg dl
xor ecx, ecx
cmp edx, eax
setg cl
cmp ecx, dword [esi + 4]
jge 0x1003f2ba
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x10]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x408]
call fcn.1000e040
push 3
mov dword [ebp - 0x14], ebx
pop esi
jmp 0x1003f2eb
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x2d4], edi
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], esi
jl 0x1003f2de
mov dword [ebp - 0x2cc], ebx
jmp 0x1003f314
mov byte [ebp - 0x1d], bl
cmp byte [ebp - 0x1d], 0
je 0x1003f30e
push ebx
push ebx
push 0x1289
call dword [sym.imp.GDI32.dll_PlayEnhMetaFile]
dec dword [ebp - 0x2cc]
cmp dword [ebp - 0x2cc], 0xfffffff9
jl 0x1003f2f8
mov dword [ebp - 0x14], ebx
jmp 0x1003f335
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x420]
mov dword [eax + ecx*4], 0xfffa
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], esi
jl 0x1003f322
push esi
lea ecx, [ebp - 0x4f8]
call fcn.1000dfce
mov dword [ebp - 0x10], ebx
jmp 0x1003f358
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x78c], edi
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], esi
jl 0x1003f34b
mov dword [ebp - 0x10], ebx
jmp 0x1003f375
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x4f8]
mov dword [eax + ecx*4], 0xd1e1e87d
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], esi
jl 0x1003f362
mov edx, dword [ebp - 0x4f8]
mov dword [edx + 4], 2
mov eax, dword [edx + 4]
mov ecx, dword [ebp + eax*4 - 0x78c]
mov eax, dword [edx + 4]
dec dword [edx + 4]
mov dword [ebp + eax*4 - 0x78c], ecx
jns 0x1003f387
lea ecx, [ebp - 0x4f8]
call fcn.1000e040
mov dword [ebp - 0x1c], ebx
cmp dword [ebp - 0x1c], 2
jg 0x10040039
lea ecx, [ebp - 0x664]
lea edx, [ebp - 0x654]
lea edi, [ebp - 0x624]
movdqa xmm0, xmmword [0x10009260]
push ecx
push edx
push ecx
lea ecx, [ebp - 0x27c]
movdqu xmmword [ebp - 0x664], xmm0
call fcn.100329ab
mov dword [ebp - 0x24], 0xfffffffe
mov dword [ebp - 0x44], 0xe458c458
mov dword [ebp - 0x24], esi
cmp dword [ebp - 0x24], ebx
jl 0x1003f4d1
or edi, 0xffffffff
mov dword [ebp - 0x28], 0xfffffffe
mov dword [ebp - 0x30], 0xd0a3
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x27c]
cmp dword [eax + ecx*4], ebx
je 0x1003f48a
mov dword [ebp - 0x438], 0xa9d69236
mov dword [ebp - 0x434], 0xa9d69236
mov dword [ebp - 0x430], 0xa9d69236
mov dword [ebp - 0x42c], 0xa9d69236
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x438]
mov eax, dword [ebp - 0x27c]
mov dword [eax + edx*4], ecx
xor edx, edx
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x27c]
cmp dword [eax + ecx*4], ebx
setne dl
cmp dword [ebp - 0x434], edi
sbb ecx, ecx
inc ecx
lea eax, [edx - 8]
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x24]
setg dl
imul eax, edx
mov dword [ebp - 0x28], eax
jmp 0x1003f49c
mov dword [ebp - 0x44], 0xe637c5b1
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x24], ebx
jne 0x1003f4bf
mov eax, dword [ebp - 0x24]
xor edx, edx
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x27c]
mov eax, dword [ecx + eax*4]
cmp eax, dword [ecx + esi*4]
setge dl
mov dword [ebp - 0x44], edx
dec dword [ebp - 0x24]
jns 0x1003f405
push 3
lea edi, [ebp - 0x624]
pop esi
lea ecx, [ebp - 0x27c]
call fcn.1000e040
movdqa xmm0, xmmword [0x10009210]
or eax, 0xffffffff
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x614]
push ecx
push eax
push edi
lea ecx, [ebp - 0x83c]
movdqu xmmword [ebp - 0x624], xmm0
call fcn.100329ab
mov dword [ebp - 0x14], 0x29000d4e
mov dword [ebp - 0x14], ebx
jmp 0x1003f546
mov dword [ebp - 0x3c], 0x76d7be7e
mov dword [ebp - 0x3c], ebx
jmp 0x1003f53e
mov byte [ebp - 0x1d], bl
cmp byte [ebp - 0x1d], 0
je 0x1003f538
push 0x236d
push ebx
push 0x1f85
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov eax, dword [ebp - 0x3c]
inc dword [ebp - 0x3c]
cmp dword [ebp - 0x3c], esi
jle 0x1003f51e
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], esi
jle 0x1003f512
lea ecx, [ebp - 0x83c]
call fcn.1000e040
mov dword [ebp - 0x14], 0x56df
xor edx, edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x420]
push 2
mov eax, dword [ecx + eax*4]
cmp eax, dword [ecx]
lea ecx, [ebp - 0x564]
setg dl
xor esi, esi
imul eax, edx, 0xffff499a
inc esi
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x10], 0xb74c38b6
mov dword [ebp - 0x40], esi
call fcn.1000dfce
mov dword [ebp - 0x34], 0xc9b6cd04
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x3c], ebx
jmp 0x1003f5bb
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x564]
mov dword [eax + ecx*4], 0x4cbed562
inc dword [ebp - 0x3c]
cmp dword [ebp - 0x3c], 2
jl 0x1003f5a8
mov dword [ebp - 0x40], esi
mov eax, dword [ebp - 0x40]
add eax, dword [ebp - 0x10]
push 4
pop ecx
cmp ecx, eax
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x564]
sbb edx, edx
neg edx
sub edx, eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 4], edx
sub edx, eax
sub edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp eax, edx
setne cl
xor eax, eax
or edx, 0xffffffff
cmp ecx, edx
setl al
imul eax, eax, 0xabe8
test eax, eax
jne 0x1003f60f
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x34], ebx
je 0x1003f62b
mov byte [ebp - 0x1d], bl
cmp byte [ebp - 0x1d], 0
je 0x1003f68b
push ebx
push 0x3c1
call dword [sym.imp.USER32.dll_DrawFocusRect]
jmp 0x1003f68b
push 3
mov dword [ebp - 0x10], 5
mov dword [ebp - 0x3c], ebx
pop ecx
jmp 0x1003f64b
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0x878], 0xeea3821c
inc dword [ebp - 0x3c]
cmp dword [ebp - 0x3c], ecx
jl 0x1003f63a
mov eax, dword [ebp - 0x34]
mov dword [esi + 4], eax
mov dword [ebp - 0x870], eax
test eax, eax
jne 0x1003f663
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
xor edx, edx
mov eax, dword [ebp - 0x40]
lea ecx, [edx + 1]
sub ecx, eax
cmp dword [ebp - 0x10], ecx
jl 0x1003f67c
mov eax, ebx
cmp dword [ebp - 0x10], ebx
je 0x1003f67f
lea eax, [edx + 1]
imul eax, eax, 3
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x564]
call fcn.1000e040
mov dword [ebp - 0x2c], ebx
cmp dword [ebp - 0x2c], 2
jg 0x1004001d
mov dword [ebp - 0x40], 0x4c8f0d07
mov dword [ebp - 0x4c], 0xfffffff6
mov byte [ebp - 0x1d], bl
cmp byte [ebp - 0x1d], 0
je 0x1003f6c0
call dword [sym.imp.USER32.dll_CreateMenu]
mov byte [ebp - 0x1d], bl
cmp byte [ebp - 0x1d], 0
je 0x1003f6d9
push 0x5ed
push 0x53d
call dword [sym.imp.USER32.dll_GetDlgItem]
push 3
pop esi
mov dword [ebp - 0x30], 0xfffffff8
lea ecx, [ebp - 0x288]
push esi
call fcn.1000dfce
or eax, 0xffffffff
mov byte [ebp - 4], 6
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x510]
mov dword [ebp - 0x5f4], eax
mov dword [ebp - 0x5f0], eax
mov dword [ebp - 0x5ec], eax
mov dword [ebp - 0x5e8], eax
xor eax, eax
inc eax
mov dword [ebp - 0x44], eax
push eax
call fcn.1000dfce
mov byte [ebp - 4], 7
mov dword [ebp - 0x44], 0x2078
cmp dword [ebp - 0x44], 0x1379
jge 0x1003f892
push fcn.1000e00a
push fcn.10032949
push 0x10
push 0xc
lea eax, [ebp - 0xa18]
push eax
call fcn.10051c3a
mov byte [ebp - 4], 8
lea edi, [ebp - 0xa18]
mov esi, ebx
push edi
push 0xf
mov edx, esi
pop ecx
call fcn.1003da9c
inc esi
add edi, 0xc
pop ecx
cmp esi, 0x10
jl 0x1003f761
push 0x640
lea eax, [ebp - 0x1140]
push ebx
push eax
call fcn.1003c587
add esp, 0xc
xor eax, eax
inc eax
mov dword [ebp - 0x1104], eax
mov dword [ebp - 0x1110], eax
push 0x10
mov dword [ebp - 0x1128], eax
mov dword [ebp - 0x1134], eax
mov dword [ebp - 0x1140], eax
pop eax
mov dword [ebp - 0x34], eax
lea edx, [ebp - 0xa18]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x48], edx
mov ecx, dword [edx + 4]
sub ecx, dword [edx]
sar ecx, 2
dec ecx
js 0x1003f800
add eax, ebx
mov dword [ebp - 0x44], eax
mov ebx, eax
push 4
mov esi, dword [ebp + eax*4 - 0x1140]
mov eax, dword [edx]
pop edx
lea edi, [eax + ecx*4]
mov eax, dword [edi]
sub edi, edx
add eax, dword [ebp - 0x34]
add esi, dword [ebp + eax*4 - 0x1180]
dec ecx
mov dword [ebp + ebx*4 - 0x1140], esi
jns 0x1003f7df
mov edx, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x34]
inc ebx
add edx, 0xc
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x48], edx
cmp ebx, 0x10
jl 0x1003f7be
add eax, 0x10
mov dword [ebp - 0x34], eax
push 0
pop ebx
cmp eax, 0x190
jl 0x1003f7b2
lea eax, [ebp - 0x128]
mov ebx, 0x100089d4
push eax
push ebx
call fcn.10050e4b
xor eax, eax
inc eax
mov esi, eax
pop ecx
pop ecx
cmp dword [ebp - 0x128], eax
jl 0x1003f874
lea eax, [ebp - 0x2c8]
push eax
push ebx
call fcn.10050e4b
mov eax, dword [ebp - 0x2c8]
shl eax, 6
push dword [ebp + eax - 0x1144]
push esi
push 0x10008e84
call fcn.10051040
add esp, 0x14
inc esi
cmp esi, dword [ebp - 0x128]
jle 0x1003f840
push fcn.1000e00a
push 0x10
push 0xc
lea eax, [ebp - 0xa18]
mov byte [ebp - 4], 7
push eax
call fcn.10051b6d
push 3
xor ebx, ebx
pop esi
mov dword [ebp - 0x10], ebx
jmp 0x1003f8a6
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x288]
mov dword [eax + ecx*4], ebx
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], esi
jl 0x1003f897
xor edx, edx
mov dword [ebp - 0x10], ebx
inc edx
jmp 0x1003f8c6
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x510]
mov dword [eax + ecx*4], 0xfb49a5c1
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], edx
jl 0x1003f8b3
push 2
mov dword [ebp - 0x24], ebx
pop edi
jmp 0x1003f8ea
inc dword [ebp - 0x1c]
lea ecx, [ebp - 0x664]
cmp dword [ebp - 0x1c], 2
lea edx, [ebp - 0x654]
push 3
pop esi
jle 0x1003f3ca
or edi, 0xffffffff
lea ecx, [ebp - 0x420]
mov dword [ebp - 4], edi
call fcn.1000e040
mov dword [ebp - 0x14], 0x9e57ad95
lea ecx, [ebp - 0x4a4]
push esi
call fcn.1000dfce
xor edx, edx
mov dword [ebp - 0x4c], 0xfff9
mov dword [ebp - 0x10], ebx
inc edx
jmp 0x1004007d
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0xa4], 0xc204e2db
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], edx
jl 0x1004006c
mov dword [ebp - 0x10], ebx
jmp 0x10040096
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x4a4]
mov dword [eax + ecx*4], edi
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], esi
jl 0x10040087
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x14], ebx
jl 0x10040188
mov dword [ebp - 0x28], 0x6b719d87
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x1c], ebx
jmp 0x100400c3
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x94], ebx
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 2
jl 0x100400b6
mov dword [ebp - 0x94], ebx
cmp dword [ebp - 0x94], ebx
jl 0x1004017f
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x44], 0xaf9d66de
mov eax, dword [ebp - 0x94]
cmp dword [ebp + eax*4 - 0xa4], ebx
jne 0x10040169
mov eax, dword [ebp - 0x94]
xor ecx, ecx
mov eax, dword [ebp + eax*4 - 0xa4]
test eax, eax
setne cl
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x94]
mov eax, dword [ebp + eax*4 - 0xa4]
cmp dword [ebp - 0x34], eax
jl 0x1004012e
mov eax, ebx
cmp dword [ebp - 0x14], ebx
je 0x10040130
mov eax, edx
neg eax
mov dword [ebp - 0x44], eax
jne 0x1004013e
mov ecx, ebx
cmp dword [ebp - 0x30], ebx
je 0x10040140
mov ecx, edx
xor eax, eax
cmp ecx, edi
setg al
imul eax, eax, 6
cmp eax, dword [ebp - 0x94]
jne 0x10040155
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x94]
mov ecx, ebx
mov eax, dword [ebp + eax*4 - 0xa4]
cmp dword [ebp - 0x14], ebx
je 0x1004016b
mov ecx, edx
mov eax, dword [ebp - 0x4a4]
mov dword [eax], ecx
dec dword [ebp - 0x94]
jns 0x100400db
dec dword [ebp - 0x14]
jns 0x100400a7
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x1004019c
push 0xafb
call dword [sym.imp.USER32.dll_GetDC]
lea ecx, [ebp - 0x4a4]
call fcn.1000e040
xor edi, edi
inc edi
or eax, 0xffffffff
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x34], 0x3bed
mov dword [ebp - 0x40], 0xacd4a797
mov dword [ebp - 0x28], 0xfffffff6
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x14], ebx
jmp 0x100401de
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x890], 0xfddf34ff
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], esi
jl 0x100401cd
mov eax, dword [ebp - 0x1c]
mov ecx, 0x4ce34aaf
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x40]
sub ecx, eax
add ecx, dword [ebp - 0x1c]
jne 0x10040201
mov eax, dword [ebp - 0x40]
mov eax, dword [ebp - 0x1c]
xor edx, edx
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
cmp eax, ecx
mov eax, dword [ebp - 0x1c]
setne dl
cmp edx, 0xffff
sbb ecx, ecx
xor edx, edx
neg ecx
cmp ecx, eax
setge dl
imul edx, dword [ebp - 0x1c]
sub edx, 0xfffffff6
neg edx
sbb edx, edx
inc edx
imul eax, edx, 0xae8e
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
dec eax
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x888], eax
mov dword [ebp - 0x44], 0x1681
cmp dword [ebp - 0x44], 0xaef
jge 0x100402fd
lea eax, [ebp - 0x2e8]
push eax
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x2d8]
push eax
lea eax, [ebp - 0x2e0]
push eax
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x130]
push eax
push 0x100090dc
call fcn.10050e4b
mov ecx, dword [ebp - 0x130]
add esp, 0x1c
sub ecx, dword [ebp - 0x228]
mov esi, dword [ebp - 0x2d8]
imul esi, ecx
test esi, esi
jns 0x100402b8
neg esi
mov eax, dword [ebp - 0x2e0]
sub eax, dword [ebp - 0x130]
mov edx, dword [ebp - 0x270]
imul eax, edx
test eax, eax
jns 0x100402d3
neg eax
imul edx, ecx
test edx, edx
jns 0x100402dc
neg edx
imul ecx, dword [ebp - 0x2e8], 3
add ecx, edx
add ecx, eax
mov eax, 0x100089f0
cmp ecx, esi
mov ecx, 0x100089f4
cmovg eax, ecx
push eax
call fcn.100511a7
pop ecx
or esi, 0xffffffff
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x44], 0x2691
cmp dword [ebp - 0x44], 0x662
jge 0x1004038a
lea eax, [ebp - 0x88]
push eax
push 0x100089d8
call fcn.10050e4b
pop ecx
pop ecx
mov esi, ebx
mov edi, ebx
jmp 0x10040355
dec eax
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x2f8]
push eax
push 0x100089d4
call fcn.10050e4b
xor eax, eax
inc eax
pop ecx
pop ecx
cmp dword [ebp - 0x2f8], eax
jne 0x10040354
inc esi
jmp 0x10040355
inc edi
mov eax, dword [ebp - 0x88]
test eax, eax
jne 0x1004032c
dec eax
mov dword [ebp - 0x88], eax
cmp edi, esi
jg 0x10040377
sub esi, edi
mov eax, esi
push 3
cdq
pop ecx
idiv ecx
lea esi, [edi + eax]
push esi
push 0x100089dc
call fcn.10051040
xor edi, edi
pop ecx
inc edi
or esi, 0xffffffff
pop ecx
push 4
mov dword [ebp - 0x1c], 2
mov dword [ebp - 0x14], ebx
pop ecx
jmp 0x100403aa
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x8bc], 6
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], ecx
jl 0x10040399
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x100403cd
push 0x7d9
push 0xd1b
push 0xd22
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov dword [ebp - 0x8b0], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x34], eax
imul eax, dword [ebp - 0x34], 0x2d8c
push 3
sub eax, dword [ebp - 0x1c]
cmp eax, esi
mov eax, 0xfff7
pop esi
setle cl
cmp eax, ecx
lea ecx, [ebp - 0x714]
push esi
sbb eax, eax
inc eax
mov dword [ebp - 0x1c], eax
call fcn.1000dfce
mov dword [ebp - 0x10], ebx
jmp 0x10040424
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x714]
mov dword [eax + ecx*4], 0xfdf99ff6
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], esi
jl 0x10040411
push 4
mov dword [ebp - 0x10], ebx
pop ecx
jmp 0x1004043e
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x5e4], edi
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], ecx
jl 0x10040431
mov dword [ebp - 0x5d8], 2
cmp dword [ebp - 0x5d8], ebx
jl 0x10040472
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x1004046a
push 0x37c
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
dec dword [ebp - 0x5d8]
jns 0x10040455
lea ecx, [ebp - 0x714]
call fcn.1000e040
mov dword [ebp - 0x38], 0x2c03342e
or eax, 0xffffffff
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x4c], 0x3b6182ea
mov dword [ebp - 0x4c], 0xfffffff9
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], 0xa519d814
mov dword [ebp - 0x28], 0xfffffffa
mov dword [ebp - 0x48], 6
mov dword [ebp - 0x3c], 2
push 4
mov dword [ebp - 0x14], ebx
pop ecx
cmp dword [ebp - 0x14], ecx
jge 0x100404db
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x32c], 0x9841
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], ecx
jl 0x100404c2
or eax, 0xffffffff
mov dword [ebp - 0x2c], ebx
cmp dword [ebp - 0x2c], esi
jg 0x10040740
jmp 0x100404ef
push 2
pop edi
or eax, 0xffffffff
mov dword [ebp - 0x44], 0x6a205b29
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x594]
push edi
call fcn.1000dfce
xor edx, edx
mov dword [ebp - 0x14], ebx
inc edx
cmp dword [ebp - 0x14], edi
jge 0x10040778