Function at 0x10046383
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10068ca0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x29c
push esi
push edi
mov dword [ebp - 0x48], 0
mov dword [ebp - 0xe4], 1
mov dword [ebp - 0x64], 0xafa9b64f
mov dword [ebp - 0x1a8], 0
xor eax, eax
jne 0x1004647d
cmp dword [ebp - 0x48], 8
jbe 0x100463df
mov dword [ebp - 0x124], 1
jmp 0x100463e6
and dword [ebp - 0x124], 0
mov dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x124]
sub eax, dword [ebp - 0x48]
cmp dword [ebp - 0x64], eax
jge 0x10046413
mov dword [ebp - 0x12c], 1
jmp 0x1004641a
and dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x12c]
je 0x10046431
mov dword [ebp - 0x134], 1
jmp 0x10046438
and dword [ebp - 0x134], 0
cmp dword [ebp - 0x134], 0xfffffffa
jle 0x1004644d
mov dword [ebp - 0x1a0], 1
jmp 0x10046454
and dword [ebp - 0x1a0], 0
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x288], eax
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x64], eax
jl 0x1004647d
cmp dword [ebp - 0x64], 0
jne 0x1004647d
mov eax, 0xe52509e7
test eax, eax
jne 0x1004647d
and dword [ebp - 0x13c], 0
jmp 0x10046487
mov dword [ebp - 0x13c], 1
mov eax, dword [ebp - 0x48]
add eax, dword [ebp - 0x13c]
mov dword [ebp - 0x1a8], eax
mov byte [ebp - 0x2e], 0
movzx eax, byte [ebp - 0x2e]
test eax, eax
je 0x100464ad
push 0xa42
call dword [sym.imp.GDI32.dll_CloseEnhMetaFile]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1a4], eax
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x40], 0xfffffffe
mov dword [ebp - 0xe8], 6
mov dword [ebp - 0x6c], 0
jmp 0x100464de
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 3
jge 0x100464f4
mov eax, dword [ebp - 0x6c]
mov dword [ebp + eax*4 - 0x270], 0xfffffff9
jmp 0x100464d7
mov dword [ebp - 0x24], 0x1a
jmp 0x10046504
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffe2
je 0x100467b6
mov dword [ebp - 0x9c], 1
mov dword [ebp - 0x3c], 0xfffffff8
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x1b4], 0
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
cmp dword [ebp - 0x24], eax
jne 0x10046554
mov dword [ebp - 0x164], 1
jmp 0x1004655b
and dword [ebp - 0x164], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x244], eax
cmp dword [ebp - 0x40], 1
je 0x10046576
mov dword [ebp - 0x144], 1
jmp 0x1004657d
and dword [ebp - 0x144], 0
mov eax, dword [ebp - 0x144]
add eax, 0xc520
cmp eax, 0xc8d4
jge 0x1004659b
mov dword [ebp - 0x14c], 1
jmp 0x100465a2
and dword [ebp - 0x14c], 0
xor eax, eax
inc eax
sub eax, dword [ebp - 0x14c]
cmp eax, 0x6ec7
jle 0x100465be
mov dword [ebp - 0x154], 1
jmp 0x100465c5
and dword [ebp - 0x154], 0
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x154]
jg 0x100465dc
mov dword [ebp - 0x15c], 1
jmp 0x100465e3
and dword [ebp - 0x15c], 0
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x164], eax
jle 0x1004660a
push 9
pop eax
test eax, eax
je 0x1004660a
mov dword [ebp - 0x16c], 1
jmp 0x10046611
and dword [ebp - 0x16c], 0
mov eax, dword [ebp - 0x16c]
sub eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 0x78]
jle 0x1004662b
mov dword [ebp - 0x11c], 1
jmp 0x10046632
and dword [ebp - 0x11c], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x11c], eax
je 0x10046649
mov dword [ebp - 0x130], 1
jmp 0x10046650
and dword [ebp - 0x130], 0
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x40], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x270], 0
jne 0x10046679
push 7
pop eax
test eax, eax
jne 0x10046679
and dword [ebp - 0x1e4], 0
jmp 0x10046683
mov dword [ebp - 0x1e4], 1
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x248], eax
mov eax, 0xb6749efe
test eax, eax
je 0x100466a7
cmp dword [ebp - 0x78], 0
je 0x100466a7
mov dword [ebp - 0xe0], 1
jmp 0x100466ae
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x40], eax
jle 0x100466cb
mov dword [ebp - 0x170], 1
jmp 0x100466d2
and dword [ebp - 0x170], 0
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x270], 0x34a2c930
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0xe8], eax
cmp dword [ebp - 0xe8], 0x34a2c930
jne 0x10046707
mov dword [ebp - 0x138], 1
jmp 0x1004670e
and dword [ebp - 0x138], 0
cmp dword [ebp - 0x138], 9
jb 0x1004672a
cmp dword [ebp - 0x1b4], 0
je 0x10046725
jmp 0x100467b6
jmp 0x100467b1
mov dword [ebp - 0x3c], 0
jmp 0x1004673a
mov eax, dword [ebp - 0x3c]
dec eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xfffffffd
je 0x1004679d
push 3
lea ecx, [ebp - 0x230]
call fcn.10016d71
and dword [ebp - 4], 0
mov dword [ebp - 0x80], 0
jmp 0x10046761
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 3
jge 0x1004677a
push dword [ebp - 0x80]
lea ecx, [ebp - 0x230]
call fcn.10016e4d
or dword [eax], 0xffffffff
jmp 0x1004675a
push 1
lea ecx, [ebp - 0x230]
call fcn.10016e4d
mov eax, dword [eax]
mov dword [ebp - 0x40], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.10016f47
jmp 0x10046733
mov byte [ebp - 0x2f], 0
movzx eax, byte [ebp - 0x2f]
test eax, eax
je 0x100467b1
push 0
call dword [sym.imp.GDI32.dll_CreateBrushIndirect]
jmp 0x100464fd
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x10], 9
mov dword [ebp - 0xf8], 1
mov dword [ebp - 0x188], 0x43af7806
mov dword [ebp - 0xa0], 0x607800ff
mov dword [ebp - 0x74], 0
jmp 0x100467f1
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 2
jge 0x10046807
mov eax, dword [ebp - 0x74]
mov dword [ebp + eax*4 - 0xc0], 0xbd43
jmp 0x100467ea
mov dword [ebp - 0x10], 0
jmp 0x10046817
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xf
jl 0x10046b72
mov dword [ebp - 0x54], 0xab6ec79c
mov dword [ebp - 0x50], 0x2395e2de
mov dword [ebp - 0xa8], 0x90dfc1f7
mov dword [ebp - 0x1c0], 0xca0e2c23
push 3
lea ecx, [ebp - 0x1f8]
call fcn.10016d71
mov dword [ebp - 4], 1
mov dword [ebp - 0x5c], 0
jmp 0x10046867
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 3
jge 0x10046883
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x1f8]
call fcn.10016e4d
mov dword [eax], 0x5340
jmp 0x10046860
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x54]
cmp eax, dword [ebp - 0x10]
jge 0x100468a3
mov dword [ebp - 0xf0], 1
jmp 0x100468aa
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0xf0], eax
jl 0x100468c1
mov dword [ebp - 0x160], 1
jmp 0x100468c8
and dword [ebp - 0x160], 0
mov eax, dword [ebp - 0x54]
sub eax, dword [ebp - 0x160]
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], 0xe0d1
jne 0x100468ef
mov dword [ebp - 0x140], 1
jmp 0x100468f6
and dword [ebp - 0x140], 0
imul eax, dword [ebp - 0x140], 0xf1f1
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0xf748
je 0x10046918
mov dword [ebp - 0x100], 1
jmp 0x1004691f
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x188], eax
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x274], eax
push 2
pop eax
sub eax, 0x91ba
cmp dword [ebp - 0x10], eax
jg 0x10046948
cmp dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x50], eax
jge 0x1004695c
mov dword [ebp - 0x108], 1
jmp 0x10046963
and dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0
je 0x100469eb
mov dword [ebp - 0x254], 0x795c380a
push 4
lea ecx, [ebp - 0x280]
call fcn.10016d71
mov byte [ebp - 4], 2
mov dword [ebp - 0x60], 0
jmp 0x100469a3
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 4
jge 0x100469bf
push dword [ebp - 0x60]
lea ecx, [ebp - 0x280]
call fcn.10016e4d
mov dword [eax], 0x6d1d89e1
jmp 0x1004699c
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xc0]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0xc0], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x280]
call fcn.10016f47
jmp 0x10046a04
mov byte [ebp - 0x30], 0
movzx eax, byte [ebp - 0x30]
test eax, eax
je 0x10046a04
push 0
push 0x12d2
call dword [sym.imp.KERNEL32.dll_GetCPInfo]
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xc0], 0
je 0x10046a3c
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x290], eax
push 0
lea ecx, [ebp - 0x1f8]
call fcn.10016e4d
mov eax, dword [eax]
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0
push 0
lea ecx, [ebp - 0x1f8]
call fcn.10016e4d
mov eax, dword [eax]
sub eax, 0x4a384edd
jne 0x10046a5e
mov dword [ebp - 0x148], 1
jmp 0x10046a65
and dword [ebp - 0x148], 0
mov eax, dword [ebp - 0x54]
cmp dword [ebp - 0x148], eax
je 0x10046a7c
mov dword [ebp - 0x110], 1
jmp 0x10046a83
and dword [ebp - 0x110], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xc0]
imul eax, dword [ebp - 0x110]
cmp dword [ebp - 0x50], eax
jge 0x10046aa8
mov dword [ebp - 0x168], 1
jmp 0x10046aaf
and dword [ebp - 0x168], 0
cmp dword [ebp - 0x168], 0xc62e
jne 0x10046ac7
mov dword [ebp - 0x118], 1
jmp 0x10046ace
and dword [ebp - 0x118], 0
cmp dword [ebp - 0x118], 0xc7f
jge 0x10046ae6
mov dword [ebp - 0x1e8], 1
jmp 0x10046aed
and dword [ebp - 0x1e8], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xc0]
mov dword [ebp - 0x25c], eax
push 0
lea ecx, [ebp - 0x1f8]
call fcn.10016e4d
mov ecx, dword [ebp - 0x1c0]
cmp dword [eax], ecx
jl 0x10046b23
mov dword [ebp - 0x150], 1
jmp 0x10046b2a
and dword [ebp - 0x150], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xc0]
cmp dword [ebp - 0x150], eax
jge 0x10046b4b
mov dword [ebp - 0x120], 1
jmp 0x10046b52
and dword [ebp - 0x120], 0
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0xa0], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1f8]
call fcn.10016f47
jmp 0x10046810
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x240], 0xf665683c
mov dword [ebp - 0x23c], 0xf665683c
mov dword [ebp - 0x238], 0xf665683c
mov dword [ebp - 0x234], 0xf665683c
mov dword [ebp - 0x284], 0xc405b401
mov dword [ebp - 0x17c], 0x1867b8f5
mov dword [ebp - 0x90], 0xffff
mov dword [ebp - 0x198], 0x9d5fac12
mov dword [ebp - 0x70], 0
jmp 0x10046bdb
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 3
jge 0x10046bf1
mov eax, dword [ebp - 0x70]
mov dword [ebp + eax*4 - 0x29c], 0xc3707822
jmp 0x10046bd4
mov byte [ebp - 0x2d], 0
movzx eax, byte [ebp - 0x2d]
test eax, eax
je 0x10046c07
push 0x6d
push 0
call dword [sym.imp.KERNEL32.dll_WinExec]
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x17c], eax
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x240]
mov dword [ebp - 0x1ec], eax
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x1cc], eax
mov eax, dword [ebp - 0x90]
dec eax
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x1ec]
cmp eax, dword [ebp - 0x1cc]
jle 0x10046c58
mov dword [ebp - 0x128], 1
jmp 0x10046c5f
and dword [ebp - 0x128], 0
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x198], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x204], eax
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x8c], 0xfa72
mov dword [ebp - 0x4c], 0xe0091df8
mov dword [ebp - 0xdc], 8
push 1
lea ecx, [ebp - 0x224]
call fcn.10016d71
mov dword [ebp - 4], 3
mov dword [ebp - 0xf4], 0xffffffff
mov dword [ebp - 0x19c], 0x2018
cmp dword [ebp - 0x19c], 0xcd6
jge 0x100470c9
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x88]
push eax
push 0x100085e0
call fcn.1004f2db
add esp, 0x10
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.100537b0
mov esi, eax
mov edi, edx
push 0
push 6
push dword [ebp - 0x84]
push dword [ebp - 0x88]
call fcn.100537b0
mov dword [ebp - 0x1b0], esi
mov dword [ebp - 0x1ac], edi
mov dword [ebp - 0x1bc], eax
mov dword [ebp - 0x1b8], edx
mov eax, dword [ebp - 0x1ac]
cmp eax, dword [ebp - 0x1b8]
jl 0x10046d76
jg 0x10046d4a
mov eax, dword [ebp - 0x1b0]
cmp eax, dword [ebp - 0x1bc]
jb 0x10046d76
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.100537b0
push edx
push eax
push 0x100085f0
call fcn.1004ff5e
add esp, 0x1c
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x34]
jg 0x10046d9c
jl 0x10046d88
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x38]
jae 0x10046d9c
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x178], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x174], eax
jmp 0x10046dae
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x178], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x34]
jg 0x10046dec
jl 0x10046dd8
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x38]
jae 0x10046dec
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x180], eax
jmp 0x10046dfe
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0x20c], eax
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x208], eax
mov dword [ebp - 0x98], 0xa7640000
mov dword [ebp - 0x94], 0xde0b6b3
xorpd xmm0, xmm0
movlpd qword [ebp - 0xc8], xmm0
xorpd xmm0, xmm0
movlpd qword [ebp - 0xb8], xmm0
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x14], eax
jmp 0x10046e68
mov eax, dword [ebp - 0x18]
add eax, 1
mov ecx, dword [ebp - 0x14]
adc ecx, 0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.100537b0
mov esi, eax
mov edi, edx
push 0
push 6
push dword [ebp - 0x84]
push dword [ebp - 0x88]
call fcn.100537b0
mov dword [ebp - 0x1c8], esi
mov dword [ebp - 0x1c4], edi
mov dword [ebp - 0x1d4], eax
mov dword [ebp - 0x1d0], edx
mov eax, dword [ebp - 0x1c4]
cmp eax, dword [ebp - 0x1d0]
jg 0x10047008
jl 0x10046ed0
mov eax, dword [ebp - 0x1c8]
cmp eax, dword [ebp - 0x1d4]
jae 0x10047008
push 0
push 6
push dword [ebp - 0x84]
push dword [ebp - 0x88]
call fcn.100537b0
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push edx
push eax
call fcn.100673e0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.100537b0
mov esi, eax
mov edi, edx
push 0
push 6
push dword [ebp - 0x84]
push dword [ebp - 0x88]
call fcn.100537b0
mov dword [ebp - 0x1e0], esi
mov dword [ebp - 0x1dc], edi
mov dword [ebp - 0x200], eax
mov dword [ebp - 0x1fc], edx
mov eax, dword [ebp - 0x1dc]
cmp eax, dword [ebp - 0x1fc]
jg 0x10046f6a
jl 0x10046f58
mov eax, dword [ebp - 0x1e0]
cmp eax, dword [ebp - 0x200]
jae 0x10046f6a
mov eax, dword [ebp - 0x2c]
add eax, 1
mov ecx, dword [ebp - 0x28]
adc ecx, 0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x208]
jg 0x10046f87
jl 0x10046f82
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x20c]
jae 0x10046f87
jmp 0x10046e56
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.100537b0
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], edx
mov eax, dword [ebp - 0x214]
cmp eax, dword [ebp - 0x94]
jg 0x10047003
jl 0x10046fc2
mov eax, dword [ebp - 0x218]
cmp eax, dword [ebp - 0x98]
jae 0x10047003
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.100537b0
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xb4], eax
jmp 0x10046e56
mov eax, dword [ebp - 0xb0]
cmp eax, dword [ebp - 0x20]
jne 0x10047038
mov eax, dword [ebp - 0xac]
cmp eax, dword [ebp - 0x1c]
jne 0x10047038
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x18c], eax
jmp 0x10047050
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0xb0]
cmp eax, dword [ebp - 0x20]
jne 0x10047080
mov eax, dword [ebp - 0xac]
cmp eax, dword [ebp - 0x1c]
jne 0x10047080
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xd4], eax
jmp 0x10047098
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xd4], eax
push dword [ebp - 0x18c]
push dword [ebp - 0x190]
push dword [ebp - 0xd4]
push dword [ebp - 0xd8]
push dword [ebp - 0x94]
push dword [ebp - 0x98]
push 0x100085f0
call fcn.1004ff5e
add esp, 0x1c
mov dword [ebp - 0x68], 0
jmp 0x100470d9
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 1
jge 0x100470f2
push dword [ebp - 0x68]
lea ecx, [ebp - 0x224]
call fcn.10016e4d
or dword [eax], 0xffffffff
jmp 0x100470d2
cmp dword [ebp - 0x4c], 0x83d78398
jae 0x10047107
mov dword [ebp - 0x158], 1
jmp 0x1004710e
and dword [ebp - 0x158], 0
mov dword [ebp - 0x8c], 0xfb37
mov eax, dword [ebp - 0x8c]
cmp eax, dword [ebp - 0x158]
je 0x10047132
mov dword [ebp - 0xcc], 1
jmp 0x10047139
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x264], eax
cmp dword [ebp - 0x4c], 0x73672d71
jge 0x10047157
mov dword [ebp - 0xd0], 1
jmp 0x1004715e
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
cmp dword [ebp - 0xcc], eax
jl 0x10047184
mov dword [ebp - 0xec], 1
jmp 0x1004718b
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0x7c]
dec eax
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
imul eax, dword [ebp - 0xec]
mov dword [ebp - 0x4c], eax
mov esi, dword [ebp - 0x4c]
push 0
lea ecx, [ebp - 0x224]
call fcn.10016e4d
cmp esi, dword [eax]
jle 0x100471bf
mov dword [ebp - 0x210], 1
jmp 0x100471c6
and dword [ebp - 0x210], 0
push 0
lea ecx, [ebp - 0x224]
call fcn.10016e4d
cmp dword [ebp - 0x7c], 0
je 0x1004722c
mov dword [ebp - 0x250], 0x4292978d
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x260], 0x3fc2
mov dword [ebp - 0x58], 0
jmp 0x10047207
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 3
jge 0x1004721d
mov eax, dword [ebp - 0x58]
mov dword [ebp + eax*4 - 0x2a8], 0
jmp 0x10047200
mov eax, dword [ebp - 0xf4]
dec eax
mov dword [ebp - 0xf4], eax
jmp 0x10047242
mov dword [ebp - 0x1d8], 0x68993dd6
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x1d8], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call fcn.10016f47
xor eax, eax
jne 0x10047321
mov eax, dword [ebp - 0x44]
cmp dword [eax], 8
jbe 0x1004726d
mov dword [ebp - 0xfc], 1
jmp 0x10047274
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0x204]
mov dword [eax], 0
mov eax, dword [ebp - 0xa4]
mov dword [eax], 0
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0xfc]
sub ecx, dword [eax]
test ecx, ecx
jle 0x100472a7
mov dword [ebp - 0x104], 1
jmp 0x100472ae
and dword [ebp - 0x104], 0
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x104]
je 0x100472c7
mov dword [ebp - 0x10c], 1
jmp 0x100472ce
and dword [ebp - 0x10c], 0
cmp dword [ebp - 0x10c], 0xfffffffa
jle 0x100472e3
mov dword [ebp - 0x194], 1
jmp 0x100472ea
and dword [ebp - 0x194], 0
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
mov dword [ebp - 0x28c], eax
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0x44]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jl 0x10047321
mov eax, dword [ebp - 0xa4]
cmp dword [eax], 0
jne 0x10047321
mov eax, 0xe52509e7
test eax, eax
jne 0x10047321
and dword [ebp - 0x114], 0
jmp 0x1004732b
mov dword [ebp - 0x114], 1
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
add eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x1a4]
mov dword [ecx], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret