Function at 0x1004a951
Capabilities:
Create thread
Delete registry value
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2ec
push esi
push edi
mov dword [ebp - 0xc], 0x2e91a049
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0x54], 0
jmp 0x1004a97d
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 1
jge 0x1004a993
mov eax, dword [ebp - 0x54]
mov dword [ebp + eax*4 - 0x1d0], 1
jmp 0x1004a976
mov byte [ebp - 0x27], 0
movzx eax, byte [ebp - 0x27]
test eax, eax
je 0x1004a9a9
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov dword [ebp - 0xc], 0
jmp 0x1004a9b9
mov eax, dword [ebp - 0xc]
dec eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffec
jg 0x1004ad6e
mov dword [ebp - 0x10], 0x2124f84b
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0x168], 0x92357994
mov dword [ebp - 0x198], 0xffffffff
mov dword [ebp - 0xf0], 0x4384f3ac
mov dword [ebp - 0x7c], 0
jmp 0x1004aa02
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 2
jge 0x1004aa18
mov eax, dword [ebp - 0x7c]
mov dword [ebp + eax*4 - 0x1f4], 9
jmp 0x1004a9fb
mov dword [ebp - 0x10], 0xfffffff3
jmp 0x1004aa28
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x1004ad69
mov dword [ebp - 0x30], 0xe19f
mov dword [ebp - 0x8c], 0x1db95674
mov dword [ebp - 0x190], 0xfffffffa
mov eax, 0x8d5f
test eax, eax
je 0x1004ab7a
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0xc]
jne 0x1004aa71
cmp dword [ebp - 0x30], 0
jne 0x1004aa71
and dword [ebp - 0x134], 0
jmp 0x1004aa7b
mov dword [ebp - 0x134], 1
cmp dword [ebp - 0x134], 0xffffffff
jle 0x1004aa90
mov dword [ebp - 0x19c], 1
jmp 0x1004aa97
and dword [ebp - 0x19c], 0
cmp dword [ebp - 0x19c], 0xc3e1b8d8
jne 0x1004aaaf
mov dword [ebp - 0xb0], 1
jmp 0x1004aab6
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0xb0], eax
jge 0x1004aacd
mov dword [ebp - 0x158], 1
jmp 0x1004aad4
and dword [ebp - 0x158], 0
cmp dword [ebp - 0x158], 0xea1b1489
jbe 0x1004aaec
mov dword [ebp - 0xb8], 1
jmp 0x1004aaf3
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x168]
cmp dword [ebp - 0xc0], eax
jl 0x1004ab22
mov dword [ebp - 0x170], 1
jmp 0x1004ab29
and dword [ebp - 0x170], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x170], eax
jge 0x1004ab40
mov dword [ebp - 0xc8], 1
jmp 0x1004ab47
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0xc8], eax
jg 0x1004ab5e
mov dword [ebp - 0x178], 1
jmp 0x1004ab65
and dword [ebp - 0x178], 0
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
jne 0x1004ab89
cmp dword [ebp - 0xc], 0
jne 0x1004ab89
and dword [ebp - 0xd0], 0
jmp 0x1004ab93
mov dword [ebp - 0xd0], 1
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0xd0], eax
jne 0x1004abb3
cmp dword [ebp - 0x8c], 0
je 0x1004abb3
mov dword [ebp - 0x180], 1
jmp 0x1004abba
and dword [ebp - 0x180], 0
cmp dword [ebp - 0x180], 0xf7d5
jle 0x1004abd2
mov dword [ebp - 0xd8], 1
jmp 0x1004abd9
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0xd8]
cmp dword [ebp - 0x30], eax
je 0x1004abf3
mov dword [ebp - 0x188], 1
jmp 0x1004abfa
and dword [ebp - 0x188], 0
mov eax, dword [ebp - 0xc]
imul eax, dword [ebp - 0x188]
cmp eax, dword [ebp - 0x30]
jge 0x1004ac15
mov dword [ebp - 0xe0], 1
jmp 0x1004ac1c
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xe8]
imul eax, dword [ebp - 0xc]
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x198], eax
jge 0x1004ac5b
mov dword [ebp - 0x94], 1
jmp 0x1004ac62
and dword [ebp - 0x94], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x94]
mov dword [ebp + eax - 0x1f4], ecx
mov eax, dword [ebp - 0x94]
sub eax, 0x1cf0b513
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
sub eax, 0xffff
je 0x1004ac9f
mov dword [ebp - 0x1a0], 1
jmp 0x1004aca6
and dword [ebp - 0x1a0], 0
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x1a0], eax
jge 0x1004acbd
mov dword [ebp - 0xf8], 1
jmp 0x1004acc4
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0xf8], eax
jle 0x1004acdb
mov dword [ebp - 0x1a8], 1
jmp 0x1004ace2
and dword [ebp - 0x1a8], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x1a8], eax
jle 0x1004ad09
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x1f4], 0
je 0x1004ad09
mov dword [ebp - 0x1b0], 1
jmp 0x1004ad10
and dword [ebp - 0x1b0], 0
cmp dword [ebp - 0x1b0], 0xc33490ce
jne 0x1004ad28
mov dword [ebp - 0x104], 1
jmp 0x1004ad2f
and dword [ebp - 0x104], 0
cmp dword [ebp - 0x104], 0xffffffff
jbe 0x1004ad44
mov dword [ebp - 0x1cc], 1
jmp 0x1004ad4b
and dword [ebp - 0x1cc], 0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x260], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x30]
mov dword [ebp + eax - 0x1d0], ecx
jmp 0x1004aa21
jmp 0x1004a9b2
mov dword [ebp - 0x4c], 0x4504cd45
mov dword [ebp - 0x84], 0x1f7e2799
mov dword [ebp - 0x1d4], 0xfffffffe
mov dword [ebp - 0x164], 0xb7e280bf
mov dword [ebp - 0x5c], 0
jmp 0x1004ada3
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 3
jge 0x1004adb9
mov eax, dword [ebp - 0x5c]
mov dword [ebp + eax*4 - 0x27c], 5
jmp 0x1004ad9c
mov dword [ebp - 0x84], 0
jmp 0x1004add2
mov eax, dword [ebp - 0x84]
dec eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0xffffffe2
jg 0x1004b05c
mov dword [ebp - 0x38], 0xffffffff
mov dword [ebp - 0x64], 0
jmp 0x1004adf6
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 1
jge 0x1004ae0c
mov eax, dword [ebp - 0x64]
mov dword [ebp + eax*4 - 0x9c], 0x678e045
jmp 0x1004adef
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x27c]
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x38], 0xd
jmp 0x1004ae2f
mov eax, dword [ebp - 0x38]
dec eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffee
jne 0x1004b057
mov dword [ebp - 0x18], 0
jmp 0x1004ae49
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x1004ae5f
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0xa4], 0x48214d2f
jmp 0x1004ae42
mov dword [ebp - 0x18], 0
jmp 0x1004ae6f
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 4
jge 0x1004ae85
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x2a8], 1
jmp 0x1004ae68
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xa4], 0
je 0x1004b019
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xa4], 0
jae 0x1004aeb5
mov dword [ebp - 0x160], 1
jmp 0x1004aebc
and dword [ebp - 0x160], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x38]
cmp dword [ebp + eax - 0xa4], ecx
jl 0x1004aeda
mov dword [ebp - 0x10c], 1
jmp 0x1004aee1
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x160]
cmp eax, dword [ebp - 0x10c]
jge 0x1004aefb
mov dword [ebp - 0x1d8], 1
jmp 0x1004af02
and dword [ebp - 0x1d8], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xa4]
mov dword [ebp - 0x208], eax
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x210], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x9c]
mov dword [ebp - 0x218], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x9c], 2
jle 0x1004af50
mov dword [ebp - 0x114], 1
jmp 0x1004af57
and dword [ebp - 0x114], 0
cmp dword [ebp - 0x114], 0
jl 0x1004af6c
mov dword [ebp - 0x18c], 1
jmp 0x1004af73
and dword [ebp - 0x18c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xa4]
cmp dword [ebp - 0x18c], eax
jg 0x1004af94
mov dword [ebp - 0x90], 1
jmp 0x1004af9b
and dword [ebp - 0x90], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x90]
mov dword [ebp + eax - 0x9c], ecx
cmp dword [ebp - 0x90], 0xfffffffe
je 0x1004afc3
mov dword [ebp - 0x11c], 1
jmp 0x1004afca
and dword [ebp - 0x11c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xa4]
cmp dword [ebp - 0x11c], eax
jge 0x1004afeb
mov dword [ebp - 0x98], 1
jmp 0x1004aff2
and dword [ebp - 0x98], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x98]
mov dword [ebp + eax - 0x2a8], ecx
cmp dword [ebp - 0x98], 0
je 0x1004b019
mov dword [ebp - 0x16c], 1
jmp 0x1004b020
and dword [ebp - 0x16c], 0
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x16c], eax
jle 0x1004b037
mov dword [ebp - 0x124], 1
jmp 0x1004b03e
and dword [ebp - 0x124], 0
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x1d4], eax
cmp dword [ebp - 0x38], 0
je 0x1004b052
jmp 0x1004b057
jmp 0x1004ae28
jmp 0x1004adc5
push 0
push 0x71c9
lea eax, [ebp - 0x4c]
push eax
call fcn.10048be3
add esp, 0xc
mov dword [ebp - 0x78], 4
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x270], 6
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x204], 0x8a11015a
mov dword [ebp - 0x264], 0xe4f1f13b
mov dword [ebp - 0x20c], 6
mov dword [ebp - 0x238], 0xf97812a3
mov dword [ebp - 0x214], 0x4e1c2e93
mov dword [ebp - 0x23c], 0xffffffff
mov dword [ebp - 0x21c], 0x3af7806a
mov dword [ebp - 0x1c], 0
jmp 0x1004b0ea
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 4
jge 0x1004b100
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x2dc], 0
jmp 0x1004b0e3
mov dword [ebp - 0x1c], 0
jmp 0x1004b110
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 4
jge 0x1004b126
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x2ec], 0xfffffffd
jmp 0x1004b109
mov dword [ebp - 0x78], 3
jmp 0x1004b136
mov eax, dword [ebp - 0x78]
dec eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
jl 0x1004b185
mov dword [ebp - 0x244], 0x696a485b
mov dword [ebp - 0x1ac], 0
mov dword [ebp - 0x6c], 0
jmp 0x1004b160
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 1
jge 0x1004b176
mov eax, dword [ebp - 0x6c]
mov dword [ebp + eax*4 - 0x224], 1
jmp 0x1004b159
mov eax, dword [ebp - 0x1ac]
inc eax
mov dword [ebp - 0x1ac], eax
jmp 0x1004b12f
mov dword [ebp - 0x4c], 3
jmp 0x1004b195
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0x13
je 0x1004ba19
mov dword [ebp - 0x88], 0xea983111
mov dword [ebp - 0x40], 0xffffffff
mov dword [ebp - 0x74], 0xffffffff
mov dword [ebp - 0x40], 0
jmp 0x1004b1c7
mov eax, dword [ebp - 0x40]
dec eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0xffffffe4
jl 0x1004b4ff
mov dword [ebp - 4], 0xeec5
mov dword [ebp - 0x1c0], 0x74aa0d72
mov dword [ebp - 0x1bc], 0x74aa0d72
mov dword [ebp - 0x1b8], 0x74aa0d72
mov dword [ebp - 0x1b4], 0x74aa0d72
cmp dword [ebp - 0x40], 0xd1b9849b
jae 0x1004b215
mov dword [ebp - 0x12c], 1
jmp 0x1004b21c
and dword [ebp - 0x12c], 0
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x12c]
jne 0x1004b233
mov dword [ebp - 0x174], 1
jmp 0x1004b23a
and dword [ebp - 0x174], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0xa8], eax
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0xa8]
mov dword [ebp + eax - 0x1c0], ecx
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0x174]
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0xa8]
sub ecx, eax
cmp ecx, 0xeea5
je 0x1004b27d
mov dword [ebp - 0x194], 1
jmp 0x1004b284
and dword [ebp - 0x194], 0
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0x194], eax
jle 0x1004b4b1
mov dword [ebp - 0x14], 0xfffffffd
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x1c0]
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x234], eax
or eax, 0xffffffff
sub eax, 0x5922
imul eax, eax, 0xf2d
imul eax, dword [ebp - 4]
test eax, eax
jae 0x1004b2d8
mov dword [ebp - 0x13c], 1
jmp 0x1004b2df
and dword [ebp - 0x13c], 0
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x13c]
jl 0x1004b2f6
mov dword [ebp - 0x17c], 1
jmp 0x1004b2fd
and dword [ebp - 0x17c], 0
cmp dword [ebp - 0x17c], 0x7c71
jle 0x1004b315
mov dword [ebp - 0x144], 1
jmp 0x1004b31c
and dword [ebp - 0x144], 0
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x144]
jg 0x1004b35b
mov dword [ebp - 0x1a4], 0x1718bc69
mov dword [ebp - 0x14], 0
jmp 0x1004b341
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jg 0x1004b356
mov eax, dword [ebp - 0x1a4]
dec eax
mov dword [ebp - 0x1a4], eax
jmp 0x1004b33a
jmp 0x1004b3dd
mov dword [ebp - 0x14], 0
jmp 0x1004b36b
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jg 0x1004b3dd
mov dword [ebp - 4], 0
jmp 0x1004b381
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 3
jg 0x1004b3b7
mov dword [ebp - 0x80], 0xf19716e2
mov dword [ebp - 0x80], 0
jmp 0x1004b39e
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 3
jg 0x1004b3b5
mov eax, dword [ebp - 4]
cmp dword [ebp + eax*4 - 0x1c0], 0
je 0x1004b3b3
jmp 0x1004b3b5
jmp 0x1004b397
jmp 0x1004b37a
mov byte [ebp - 0x26], 0
movzx eax, byte [ebp - 0x26]
test eax, eax
je 0x1004b3db
push 0
push 0x129e
push 0
push 0
push 0x261a
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x1004b364
cmp dword [ebp - 0x74], 0
jne 0x1004b44d
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0x74], eax
jne 0x1004b3f7
mov dword [ebp - 0x14c], 1
jmp 0x1004b3fe
and dword [ebp - 0x14c], 0
cmp dword [ebp - 0x14c], 0xb8f3be
jle 0x1004b416
mov dword [ebp - 0x184], 1
jmp 0x1004b41d
and dword [ebp - 0x184], 0
cmp dword [ebp - 0x184], 0xffffffff
je 0x1004b432
mov dword [ebp - 0x154], 1
jmp 0x1004b439
and dword [ebp - 0x154], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x154], eax
je 0x1004b44d
and dword [ebp - 0x15c], 0
jmp 0x1004b457
mov dword [ebp - 0x15c], 1
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x1c0]
cmp eax, dword [ebp - 0x15c]
jg 0x1004b478
mov dword [ebp - 0xfc], 1
jmp 0x1004b47f
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0x74]
cmp dword [ebp - 0xfc], eax
jge 0x1004b496
mov dword [ebp - 0x100], 1
jmp 0x1004b49d
and dword [ebp - 0x100], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x100]
mov dword [ebp + eax - 0x1c0], ecx
jmp 0x1004b4d4
mov byte [ebp - 0x28], 0
movzx eax, byte [ebp - 0x28]
test eax, eax
je 0x1004b4cc
push 0xc57
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp dword [ebp - 0x74], 0
je 0x1004b4d4
jmp 0x1004b4ff
mov dword [ebp - 4], 0
jmp 0x1004b4e4
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 4
jge 0x1004b4fa
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x1c0], 0xffffffff
jmp 0x1004b4dd
jmp 0x1004b1c0
mov dword [ebp - 0x88], 0xfffffffd
jmp 0x1004b518
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0x16
jne 0x1004ba14
mov dword [ebp - 0x48], 0xeaa32b1c
mov dword [ebp - 8], 0
jmp 0x1004b53c
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 2
jge 0x1004b552
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x1c8], 0xfffffffe
jmp 0x1004b535
mov dword [ebp - 8], 0
jmp 0x1004b562
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 4
jge 0x1004b578
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x298], 5
jmp 0x1004b55b
mov dword [ebp - 8], 0
jmp 0x1004b588
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 3
jge 0x1004b59e
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x230], 0x7cec
jmp 0x1004b581
mov dword [ebp - 0x48], 0
jmp 0x1004b5ae
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 1
jg 0x1004b97a
mov dword [ebp - 0x20], 0xabbf9acf
mov dword [ebp - 0x24], 4
mov dword [ebp - 0x1e0], 1
mov dword [ebp - 0x1dc], 0x66969e96
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1f8], eax
mov eax, dword [ebp - 0x20]
sub eax, 0x52a5ae63
cmp eax, dword [ebp - 0x48]
jl 0x1004b5fc
mov dword [ebp - 0x108], 1
jmp 0x1004b603
and dword [ebp - 0x108], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x1c8]
cmp dword [ebp - 0x108], eax
jne 0x1004b624
mov dword [ebp - 0x110], 1
jmp 0x1004b62b
and dword [ebp - 0x110], 0
mov eax, dword [ebp - 0x20]
imul eax, dword [ebp - 0x110]
cmp eax, 0xc1464f16
je 0x1004b648
mov dword [ebp - 0x118], 1
jmp 0x1004b64f
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x118], eax
jle 0x1004b666
mov dword [ebp - 0x120], 1
jmp 0x1004b66d
and dword [ebp - 0x120], 0
mov eax, dword [ebp - 0x120]
sub eax, 0x47d1afd0
je 0x1004b696
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x1c8], 0
je 0x1004b696
mov dword [ebp - 0x128], 1
jmp 0x1004b69d
and dword [ebp - 0x128], 0
mov eax, dword [ebp - 0x128]
sub eax, dword [ebp - 0x48]
dec eax
je 0x1004b7f7
mov dword [ebp - 0x130], 1
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x130], 0xfffe
jne 0x1004b6e1
cmp dword [ebp - 0x20], 0
je 0x1004b6e1
mov dword [ebp - 0x138], 1
jmp 0x1004b6e8
and dword [ebp - 0x138], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x138], eax
jl 0x1004b70b
cmp dword [ebp - 0x20], 0
je 0x1004b70b
cmp dword [ebp - 0x20], 0
je 0x1004b70b
mov dword [ebp - 0x140], 1
jmp 0x1004b712
and dword [ebp - 0x140], 0
mov dword [ebp - 0x24], 0x5290ce96
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x140]
jg 0x1004b730
mov dword [ebp - 0x148], 1
jmp 0x1004b737
and dword [ebp - 0x148], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x1c8]
cmp dword [ebp - 0x148], eax
jle 0x1004b765
mov byte [ebp - 0x41], 0
movzx eax, byte [ebp - 0x41]
test eax, eax
je 0x1004b760
push 0
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x1004b7f5
mov dword [ebp - 0x50], 0x430688cd
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0x50], eax
jg 0x1004b780
mov dword [ebp - 0x150], 1
jmp 0x1004b787
and dword [ebp - 0x150], 0
cmp dword [ebp - 0x150], 2
ja 0x1004b79c
mov dword [ebp - 0xac], 1
jmp 0x1004b7a3
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0x20]
neg eax
cmp eax, 0x16c28cbd
jl 0x1004b7bb
mov dword [ebp - 0xb4], 1
jmp 0x1004b7c2
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0xb4]
jle 0x1004b7e2
mov dword [ebp - 0xbc], 1
jmp 0x1004b7e9
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0xbc]
sub eax, dword [ebp - 0x50]
mov dword [ebp - 0x50], eax
jmp 0x1004b870
mov dword [ebp - 0x240], 0xa227283a
mov dword [ebp - 0x26c], 1
mov dword [ebp - 0x25c], 8
mov dword [ebp - 0x258], 8
mov dword [ebp - 0x254], 8
mov dword [ebp - 0x250], 8
mov dword [ebp - 0xc4], 0x111919b1
mov dword [ebp - 0x58], 0
jmp 0x1004b84d
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 3
jge 0x1004b863
mov eax, dword [ebp - 0x58]
mov dword [ebp + eax*4 - 0x2b4], 0xade45a91
jmp 0x1004b846
mov eax, dword [ebp - 0xc4]
dec eax
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1fc], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x230], 0
je 0x1004b916
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x1c8], 0x4f7d9fd5
jl 0x1004b8ac
mov dword [ebp - 0xcc], 1
jmp 0x1004b8b3
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0x1dc]
cmp dword [ebp - 0xcc], eax
jge 0x1004b8cd
mov dword [ebp - 0xd4], 1
jmp 0x1004b8d4
and dword [ebp - 0xd4], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x230]
cmp dword [ebp - 0xd4], eax
je 0x1004b8f5
mov dword [ebp - 0xdc], 1
jmp 0x1004b8fc
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0x24]
imul eax, dword [ebp - 0xdc]
test eax, eax
je 0x1004b916
mov dword [ebp - 0xe4], 1
jmp 0x1004b91d
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x24], eax
jg 0x1004b93a
mov dword [ebp - 0xec], 1
jmp 0x1004b941
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0x1e0]
cmp eax, dword [ebp - 0xec]
jge 0x1004b95b
mov dword [ebp - 0xf4], 1
jmp 0x1004b962
and dword [ebp - 0xf4], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0xf4]
mov dword [ebp + eax - 0x298], ecx
jmp 0x1004b5a7
mov dword [ebp - 0x68], 1
mov dword [ebp - 0x60], 0
jmp 0x1004b991
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 3
jge 0x1004b9a7
mov eax, dword [ebp - 0x60]
mov dword [ebp + eax*4 - 0x2c0], 0x3244d513
jmp 0x1004b98a
mov byte [ebp - 0x25], 0
push 1
lea eax, [ebp - 0x25]
push eax
push 0xe38
call fcn.10048be3
add esp, 0xc
mov dword [ebp - 0x68], 0xffffffe6
jmp 0x1004b9ce
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0xffffffe7
jle 0x1004ba0f
mov dword [ebp - 0x70], 0x7dcd66a0
mov dword [ebp - 0x70], 2
jmp 0x1004b9eb
mov eax, dword [ebp - 0x70]
dec eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
jl 0x1004ba0d
mov byte [ebp - 0x29], 0
movzx eax, byte [ebp - 0x29]
test eax, eax
je 0x1004ba0b
push 0
push 0x48ea
call fcn.10049e3d
pop ecx
pop ecx
jmp 0x1004b9e4
jmp 0x1004b9c7
jmp 0x1004b50b
jmp 0x1004b18e
push 1
lea eax, [ebp - 0x2cc]
push eax
xor edx, edx
inc edx
xor ecx, ecx
call fcn.10048475
pop ecx
pop ecx
mov esi, eax
lea edi, [ebp - 0x288]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x288]
lea edi, [ebp - 0x1ec]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x200], 0x720e
mov byte [ebp - 0x39], 0
movzx eax, byte [ebp - 0x39]
test eax, eax
je 0x1004ba63
call fcn.10049e29
mov byte [ebp - 0x31], 0
push 1
lea eax, [ebp - 0x31]
push eax
call fcn.10049e3d
pop ecx
pop ecx
cmp dword [ebp - 0x1ec], 0
je 0x1004ba91
push 5
push dword [ebp - 0x1e4]
push dword [ebp - 0x1e8]
call dword [ebp - 0x1ec]
pop edi
pop esi
mov esp, ebp
pop ebp
ret