Function at 0x10031eb1
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10070b0c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14c
movzx eax, byte [ebp + 0x30]
test eax, eax
je 0x100324e5
lea eax, [ebp + 0x14]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0x104]
movzx eax, byte [eax]
test eax, eax
je 0x10031f28
push 0
push 0x6d4
push 0x1748
push 0x93e
call dword [sym.imp.GDI32.dll_SetDIBColorTable]
jmp 0x100324e0
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x30], eax
push 0
push 1
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0x5b6f
push 0
push 0x72e3
call fcn.1002db1d
add esp, 0x1c
mov dword [ebp - 0x18], 0xa9ac70c3
mov dword [ebp - 0x2c], 0xe8b0d193
mov dword [ebp - 0x118], 0x15466bc6
mov dword [ebp - 0x114], 0x15466bc6
mov dword [ebp - 0x110], 0x15466bc6
mov dword [ebp - 0x10c], 0x15466bc6
mov dword [ebp - 0x20], 0
cmp dword [ebp - 0x2c], 7
jge 0x10031fb5
mov dword [ebp - 0x90], 1
jmp 0x10031fbc
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x90]
sub eax, dword [ebp - 0x2c]
cmp eax, 1
jl 0x10031fd6
mov dword [ebp - 0xc0], 1
jmp 0x10031fdd
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0x18]
mov ecx, 0xecf7921e
sub ecx, dword [ebp - 0x2c]
imul eax, ecx
cmp eax, dword [ebp - 0x2c]
jge 0x10031ffc
mov dword [ebp - 0x94], 1
jmp 0x10032003
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x94]
mov dword [ebp - 0x5c], eax
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x5c]
mov dword [ebp + eax - 0x118], ecx
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], 0
jmp 0x10032035
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jg 0x100320aa
mov dword [ebp - 0x20], 0
jmp 0x1003204b
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
jg 0x100320a8
mov eax, dword [ebp - 0x18]
cmp dword [ebp + eax*4 - 0x118], 0
jne 0x1003206a
mov dword [ebp - 0x84], 1
jmp 0x10032071
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x84]
mov dword [ebp + eax*4 - 0x118], ecx
mov byte [ebp - 0x19], 0
push 1
push 1
push 0x538e
push 0x665f
lea eax, [ebp - 0x19]
push eax
push 0
push 0x5454
call fcn.1002db1d
add esp, 0x1c
jmp 0x10032044
jmp 0x1003202e
mov eax, dword [ebp - 0x30]
cmp dword [eax], 0
jne 0x100324e0
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x48], 4
mov dword [ebp - 0x64], 0x872d
mov dword [ebp - 0x128], 0x493e623b
mov dword [ebp - 0x124], 0x493e623b
mov dword [ebp - 0x120], 0x493e623b
mov dword [ebp - 0x11c], 0x493e623b
mov dword [ebp - 0x74], 0xa9f4f9a
mov dword [ebp - 0x24], 0x8a6ebbfa
push 1
lea ecx, [ebp - 0x134]
call fcn.100100d6
and dword [ebp - 4], 0
mov dword [ebp - 0x148], 5
mov dword [ebp - 0x108], 0xce519c81
mov dword [ebp - 0x3c], 0
jmp 0x10032136
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 1
jge 0x10032152
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x134]
call fcn.10010174
mov dword [eax], 0x5e04a276
jmp 0x1003212f
mov dword [ebp - 0x10], 0xffffffee
jmp 0x10032162
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xfffffffe
jle 0x1003245a
mov dword [ebp - 0x14], 0xfffffff9
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x80], 0x10320ba2
mov dword [ebp - 0xd0], 0x4f9f0102
mov dword [ebp - 0x38], 0
jmp 0x1003219b
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 4
jge 0x100321b1
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x144], 3
jmp 0x10032194
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0xe1c9
jg 0x100321d2
mov dword [ebp - 0x60], 1
jmp 0x100321d6
and dword [ebp - 0x60], 0
cmp dword [ebp - 0x14], 0x66e9
jge 0x100321e8
mov dword [ebp - 0x40], 1
jmp 0x100321ec
and dword [ebp - 0x40], 0
push 4
pop eax
imul eax, eax, 3
mov ecx, dword [ebp - 0x40]
mov dword [ebp + eax - 0x128], ecx
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x14]
cmp eax, 0xf4ea14c5
jb 0x10032215
mov dword [ebp - 0xa4], 1
jmp 0x1003221c
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0xa4]
jne 0x10032233
mov dword [ebp - 0xac], 1
jmp 0x1003223a
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x154], eax
cmp dword [ebp - 0x10], 0x5f40
jg 0x10032255
mov dword [ebp - 0x6c], 1
jmp 0x10032259
and dword [ebp - 0x6c], 0
cmp dword [ebp - 0x6c], 0xfffffffb
jne 0x1003226b
mov dword [ebp - 0x8c], 1
jmp 0x10032272
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x74], eax
jge 0x1003228f
mov dword [ebp - 0x9c], 1
jmp 0x10032296
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x9c], eax
jle 0x100322aa
mov dword [ebp - 0x7c], 1
jmp 0x100322ae
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x7c], eax
jg 0x100322bf
mov dword [ebp - 0x54], 1
jmp 0x100322c3
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x54], eax
jl 0x100322d4
mov dword [ebp - 0x58], 1
jmp 0x100322d8
and dword [ebp - 0x58], 0
cmp dword [ebp - 0x58], 0x9f90
jg 0x100322ea
mov dword [ebp - 0x68], 1
jmp 0x100322ee
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x68]
jle 0x100322ff
mov dword [ebp - 0x70], 1
jmp 0x10032303
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x1003231b
cmp dword [ebp - 0x10], 0
jne 0x1003231b
and dword [ebp - 0x78], 0
jmp 0x10032322
mov dword [ebp - 0x78], 1
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x34]
dec eax
mov dword [ebp - 0x34], eax
jne 0x10032439
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x80], 7
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x80], eax
jne 0x10032356
mov dword [ebp - 0x88], 1
jmp 0x1003235d
and dword [ebp - 0x88], 0
cmp dword [ebp - 0x88], 0xb883
je 0x10032372
mov dword [ebp - 0x44], 1
jmp 0x10032376
and dword [ebp - 0x44], 0
push 0
lea ecx, [ebp - 0x134]
call fcn.10010174
mov ecx, dword [ebp - 0x44]
mov dword [eax], ecx
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x44], eax
je 0x10032399
mov dword [ebp - 0x50], 1
jmp 0x1003239d
and dword [ebp - 0x50], 0
push 4
pop eax
imul eax, eax, 3
push 4
pop ecx
imul ecx, ecx, 0
mov edx, dword [ebp - 0x50]
sub edx, dword [ebp + ecx - 0x144]
push 4
pop ecx
imul ecx, ecx, 0
add edx, dword [ebp + ecx - 0x144]
cmp dword [ebp + eax - 0x128], edx
jne 0x100323d5
mov dword [ebp - 0xc8], 1
jmp 0x100323dc
and dword [ebp - 0xc8], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x144]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x150], eax
cmp dword [ebp - 0x24], 0x5c7d
jl 0x1003240c
mov dword [ebp - 0x98], 1
jmp 0x10032413
and dword [ebp - 0x98], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x144]
cmp dword [ebp - 0x98], eax
je 0x10032430
mov eax, 0x26dc
test eax, eax
jne 0x10032439
and dword [ebp - 0xfc], 0
jmp 0x10032443
mov dword [ebp - 0xfc], 1
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xd0], eax
jmp 0x1003215b
lea eax, [ebp - 0x108]
push eax
push 0
push 0
push 0x26af
push 0x2975
push 0x1065
call fcn.100390f0
add esp, 0x18
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x134]
call fcn.10010158
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x24]
and eax, 0x40
je 0x100324a8
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x30]
mov eax, dword [eax + 0x20]
mov dword [ecx], eax
jmp 0x100324e0
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x24]
and eax, 0x80
je 0x100324e0
push 0
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0xa0]
push eax
push 0
push 0x7539
push 0x807
push 0x6db7
push 0x59b9
call fcn.100329cc
add esp, 0x20
jmp 0x100325f5
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xb4], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xd8]
movzx eax, byte [eax]
test eax, eax
je 0x1003258d
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0x28]
mov dword [eax], 0
jmp 0x1003256b
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x28]
mov dword [ecx], eax
mov eax, dword [ebp - 0x28]
cmp dword [eax], 2
jge 0x1003258b
mov eax, dword [ebp - 0x28]
push dword [eax]
mov ecx, dword [ebp - 0xf8]
call fcn.10010174
mov dword [eax], 4
jmp 0x10032560
jmp 0x100325f5
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xdc]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0xe4]
mov ecx, dword [ebp - 0xa8]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret