Function at 0x10027df0
Capabilities:
Contain obfuscated stackstrings
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004ed50
mov eax, dword fs:[0]
push eax
sub esp, 0x550
mov eax, dword [0x1006500c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x554], edx
cmp dword [edx + 0x10], 0
mov dword [ebp - 0x548], eax
mov dword [ebp - 0x55c], ecx
je 0x10029493
mov edi, dword [eax]
mov edx, dword [eax + 4]
cmp edi, edx
je 0x10029493
sub edx, edi
mov eax, 0x4ec4ec4f
imul edx
xor ecx, ecx
sar edx, 5
mov esi, edx
shr esi, 0x1f
add esi, edx
je 0x10029493
lea eax, [edi + 0x64]
nop dword [eax]
cmp byte [eax], 0
jne 0x10027e82
inc ecx
add eax, 0x68
cmp ecx, esi
jb 0x10027e70
jmp 0x10029493
mov esi, dword [ebp - 0x554]
lea eax, [ebp - 0x48]
push esi
push eax
call fcn.1002a480
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x24], xmm0
mov dword [ebp - 0x24], 0
mov word [ebp - 0x20], 0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x24]
call fcn.1001c040
xorps xmm0, xmm0
lea eax, [ebp - 0x24]
movlpd qword [ebp - 0x50], xmm0
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x24]
mov byte [ebp - 0x4c], 0
test eax, eax
jne 0x10027edb
xor al, al
jmp 0x10027ef9
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10027ef3
cmp eax, 0x80
je 0x10027ef3
xor al, al
jmp 0x10027ef9
mov byte [ebp - 0x20], 1
mov al, 1
mov byte [ebp - 0x539], al
mov byte [ebp - 0x4c], al
mov byte [ebp - 4], 2
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x53a]
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x53a], 0
push eax
push esi
call fcn.10029b10
test al, al
jne 0x10027f63
cmp byte [ebp - 0x53a], al
je 0x10027f63
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x10027f5c
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor al, al
mov dword [ebp - 0x54c], 0
mov byte [ebp - 0x53a], al
mov eax, dword [ebp - 0x548]
mov ecx, dword [eax + 4]
mov esi, dword [eax]
sub ecx, esi
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10029380
xor ecx, ecx
mov dword [ebp - 0x544], ecx
cmp byte [ecx + esi + 0x64], 0
lea edi, [ecx + esi]
je 0x10028336
mov esi, dword [ebp - 0x1c]
xor ecx, ecx
mov dword [ebp - 0x540], ecx
mov eax, 0x4ec4ec4f
mov ecx, dword [ebp - 0x18]
sub ecx, esi
mov dword [ebp - 0x550], 0
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10028044
xor eax, eax
mov dword [ebp - 0x558], eax
add esi, eax
mov ecx, edi
cmp dword [edi + 0x14], 8
jb 0x10027ff0
mov ecx, dword [edi]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x10027ffa
mov eax, dword [esi]
push ecx
push eax
call fcn.1003eadf
add esp, 8
test eax, eax
je 0x10028046
mov ecx, dword [ebp - 0x18]
mov eax, 0x4ec4ec4f
mov esi, dword [ebp - 0x1c]
sub ecx, esi
inc dword [ebp - 0x540]
add dword [ebp - 0x558], 0x68
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x540], eax
mov eax, dword [ebp - 0x558]
jb 0x10027fe4
mov esi, dword [ebp - 0x550]
jmp 0x10028046
xor esi, esi
test esi, esi
jne 0x1002814a
xor eax, eax
mov dword [ebp - 0x140], esi
mov dword [ebp - 0x13c], esi
mov dword [ebp - 0x140], esi
mov dword [ebp - 0x13c], 7
mov word [ebp - 0x150], ax
mov byte [ebp - 4], 4
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], 7
mov word [ebp - 0x138], ax
mov byte [ebp - 4], 5
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], 7
mov word [ebp - 0x120], ax
mov byte [ebp - 4], 6
xorps xmm0, xmm0
movlpd qword [ebp - 0x108], xmm0
movlpd qword [ebp - 0x100], xmm0
movlpd qword [ebp - 0xf8], xmm0
mov dword [ebp - 0xf0], eax
mov byte [ebp - 0xec], al
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x150]
mov eax, dword [ebp - 0x18]
push ecx
cmp dword [ebp - 0x14], eax
je 0x10028111
mov ecx, eax
call fcn.10027c40
mov edx, dword [ebp - 0x18]
add edx, 0x68
mov dword [ebp - 0x18], edx
jmp 0x1002811d
push eax
lea ecx, [ebp - 0x1c]
call fcn.1002bd20
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
mov eax, 0x4ec4ec4f
sub edx, ecx
imul edx
lea esi, [ecx - 0x68]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x68
add esi, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x150]
call fcn.10027b10
push esi
lea ecx, [ebp - 0xe8]
call fcn.1000232e
mov byte [ebp - 4], 8
lea eax, [esi + 0x18]
push eax
lea ecx, [ebp - 0xd0]
call fcn.1000232e
mov byte [ebp - 4], 9
lea eax, [esi + 0x30]
push eax
lea ecx, [ebp - 0xb8]
call fcn.1000232e
mov byte [ebp - 4], 0xa
mov eax, dword [esi + 0x48]
mov dword [ebp - 0xa0], eax
mov eax, dword [esi + 0x4c]
mov dword [ebp - 0x9c], eax
mov eax, dword [esi + 0x50]
mov dword [ebp - 0x98], eax
mov eax, dword [esi + 0x54]
mov dword [ebp - 0x94], eax
mov eax, dword [esi + 0x58]
mov dword [ebp - 0x90], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x8c], eax
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x88], eax
mov al, byte [esi + 0x64]
mov byte [ebp - 0x84], al
mov byte [ebp - 4], 0xb
mov ecx, esi
push edi
call fcn.10029530
cmp dword [ebp - 0xd4], 8
lea ecx, [ebp - 0xe8]
mov edi, esi
cmovae ecx, dword [ebp - 0xe8]
cmp dword [esi + 0x14], 8
jb 0x100281f2
mov edi, dword [esi]
mov edx, dword [esi + 0x10]
cmp edx, dword [ebp - 0xd8]
jne 0x1002830c
test edx, edx
je 0x10028225
sub edi, ecx
nop word [eax + eax]
mov ax, word [ecx + edi]
cmp ax, word [ecx]
jne 0x1002830c
add ecx, 2
sub edx, 1
jne 0x10028210
cmp dword [ebp - 0xbc], 8
lea ecx, [ebp - 0xd0]
lea edi, [esi + 0x18]
cmovae ecx, dword [ebp - 0xd0]
cmp dword [esi + 0x2c], 8
jb 0x10028245
mov edi, dword [esi + 0x18]
mov edx, dword [esi + 0x28]
cmp edx, dword [ebp - 0xc0]
jne 0x1002830c
test edx, edx
je 0x10028275
sub edi, ecx
nop word [eax + eax]
mov ax, word [ecx + edi]
cmp ax, word [ecx]
jne 0x1002830c
add ecx, 2
sub edx, 1
jne 0x10028260
mov eax, dword [esi + 0x48]
cmp eax, dword [ebp - 0xa0]
jne 0x1002830c
mov eax, dword [esi + 0x4c]
cmp eax, dword [ebp - 0x9c]
jne 0x1002830c
mov eax, dword [esi + 0x50]
cmp eax, dword [ebp - 0x98]
jne 0x1002830c
mov eax, dword [esi + 0x54]
cmp eax, dword [ebp - 0x94]
jne 0x1002830c
mov eax, dword [esi + 0x58]
cmp eax, dword [ebp - 0x90]
jne 0x1002830c
mov eax, dword [esi + 0x5c]
cmp eax, dword [ebp - 0x8c]
jne 0x1002830c
cmp dword [ebp - 0xa4], 8
lea ecx, [ebp - 0xb8]
lea edi, [esi + 0x30]
cmovae ecx, dword [ebp - 0xb8]
cmp dword [esi + 0x44], 8
jb 0x100282df
mov edi, dword [esi + 0x30]
mov edx, dword [esi + 0x40]
cmp edx, dword [ebp - 0xa8]
jne 0x1002830c
test edx, edx
je 0x10028301
sub edi, ecx
mov ax, word [ecx + edi]
cmp ax, word [ecx]
jne 0x1002830c
add ecx, 2
sub edx, 1
jne 0x100282f0
mov eax, dword [esi + 0x60]
cmp eax, dword [ebp - 0x88]
je 0x10028317
mov byte [ebp - 0x53a], 1
mov byte [esi + 0x64], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xe8]
call fcn.10027b10
mov eax, dword [ebp - 0x548]
mov ecx, dword [ebp - 0x544]
mov esi, dword [eax]
jmp 0x1002833c
mov eax, dword [ebp - 0x548]
mov edi, dword [ebp - 0x54c]
add ecx, 0x68
mov dword [ebp - 0x544], ecx
inc edi
mov ecx, dword [eax + 4]
mov eax, 0x4ec4ec4f
sub ecx, esi
mov dword [ebp - 0x54c], edi
imul ecx
mov ecx, dword [ebp - 0x544]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x10027fa1
cmp byte [ebp - 0x53a], 0
je 0x10029380
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x18]
je 0x10029380
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
movq qword [ebp - 0x30], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 0xc
mov eax, 0x4ec4ec4f
mov esi, dword [ebp - 0x18]
mov ecx, esi
mov edi, dword [ebp - 0x1c]
sub ecx, edi
imul ecx
mov ecx, dword [ebp - 0x28]
sub ecx, dword [ebp - 0x30]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x550], eax
mov eax, 0x10624dd3
imul ecx
mov ecx, dword [ebp - 0x550]
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jbe 0x10028414
cmp ecx, 0x418937
ja 0x100294b2
push ecx
lea ecx, [ebp - 0x30]
call fcn.1002b4f0
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov ecx, esi
mov dword [ebp - 0x540], 0
sub ecx, edi
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x100286e6
xor ecx, ecx
mov dword [ebp - 0x548], ecx
mov eax, dword [ecx + edi + 0x60]
lea esi, [ecx + edi]
mov dword [ebp - 0x550], esi
cmp eax, 1
je 0x10028461
cmp eax, 2
je 0x10028461
cmp eax, 3
jne 0x100286ac
push 0x280
xorps xmm0, xmm0
mov dword [ebp - 0x538], 0
lea eax, [ebp - 0x534]
movlpd qword [ebp - 0x16c], xmm0
push 0
push eax
movlpd qword [ebp - 0x164], xmm0
movlpd qword [ebp - 0x15c], xmm0
mov dword [ebp - 0x154], 0
call fcn.10038450
push 0x100
lea eax, [ebp - 0x2b4]
push 0
push eax
call fcn.10038450
push 0x48
lea eax, [ebp - 0x1b4]
push 0
push eax
call fcn.10038450
mov eax, dword [ebp - 0x2c]
add esp, 0x24
cmp dword [ebp - 0x28], eax
je 0x100284f4
mov ecx, 0xfa
lea esi, [ebp - 0x538]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x550]
add edx, 0x3e8
mov dword [ebp - 0x2c], edx
jmp 0x10028507
lea ecx, [ebp - 0x538]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.1002bb40
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
mov eax, 0x10624dd3
sub edx, ecx
add ecx, 0xfffffc18
imul edx
push 0x280
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x3e8
add eax, ecx
push 0
mov dword [ebp - 0x544], eax
lea edi, [eax + 4]
mov dword [eax], 0x23ab45db
push edi
call fcn.10038450
mov eax, dword [ebp - 0x544]
push 0x100
add eax, 0x284
push 0
push eax
mov dword [ebp - 0x54c], eax
call fcn.10038450
mov eax, dword [ebp - 0x544]
push 0x48
add eax, 0x384
push 0
push eax
mov dword [ebp - 0x558], eax
call fcn.10038450
add esp, 0x24
cmp dword [esi + 0x10], 0x13f
ja 0x100285b2
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x10028596
mov ecx, dword [esi]
sub edi, ecx
nop dword [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edi + ecx - 2], ax
test ax, ax
jne 0x100285a0
jmp 0x100285cb
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x100285bc
mov eax, dword [esi]
push 0x13e
push eax
push edi
call fcn.1003bc1c
add esp, 0xc
cmp dword [esi + 0x28], 0x7f
ja 0x100285f6
cmp dword [esi + 0x2c], 8
lea ecx, [esi + 0x18]
jb 0x100285dc
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x54c]
sub edx, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x100285e4
jmp 0x10028612
cmp dword [esi + 0x2c], 8
lea eax, [esi + 0x18]
jb 0x10028601
mov eax, dword [eax]
push 0x7e
push eax
push dword [ebp - 0x54c]
call fcn.1003bc1c
add esp, 0xc
cmp dword [esi + 0x40], 0x23
ja 0x10028642
cmp dword [esi + 0x44], 8
lea ecx, [esi + 0x30]
jb 0x10028623
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x558]
sub edx, ecx
nop dword [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x10028630
jmp 0x1002865e
cmp dword [esi + 0x44], 8
lea eax, [esi + 0x30]
jb 0x1002864d
mov eax, dword [eax]
push 0x23
push eax
push dword [ebp - 0x558]
call fcn.1003bc1c
add esp, 0xc
mov ecx, dword [ebp - 0x544]
mov eax, dword [esi + 0x48]
mov dword [ecx + 0x3cc], eax
mov eax, dword [esi + 0x4c]
mov dword [ecx + 0x3d0], eax
mov eax, dword [esi + 0x50]
mov dword [ecx + 0x3d4], eax
mov eax, dword [esi + 0x54]
mov dword [ecx + 0x3d8], eax
mov eax, dword [esi + 0x58]
mov dword [ecx + 0x3dc], eax
mov eax, dword [esi + 0x5c]
mov dword [ecx + 0x3e0], eax
mov eax, dword [esi + 0x60]
mov dword [ecx + 0x3e4], eax
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x548]
mov esi, dword [ebp - 0x540]
add ecx, 0x68
mov dword [ebp - 0x548], ecx
mov eax, 0x4ec4ec4f
mov ecx, dword [ebp - 0x18]
inc esi
sub ecx, edi
mov dword [ebp - 0x540], esi
imul ecx
mov ecx, dword [ebp - 0x548]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x10028441
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x2c]
jne 0x10028858
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x10028756
mov ecx, dword [ebp - 0x28]
mov eax, 0x10624dd3
sub ecx, esi
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x3e8
mov eax, esi
cmp ecx, 0x1000
jb 0x10028737
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100294b7
push ecx
push esi
call fcn.10036357
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x100287cf
mov edi, dword [ebp - 0x18]
cmp esi, edi
je 0x10028779
mov ecx, esi
call fcn.10027b10
add esi, 0x68
cmp esi, edi
jne 0x10028768
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov eax, 0x4ec4ec4f
sub ecx, esi
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x68
mov eax, esi
cmp ecx, 0x1000
jb 0x100287b0
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100294bc
push ecx
push esi
call fcn.10036357
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 1
cmp byte [ebp - 0x539], 0
je 0x100287ee
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x100287ea
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [ebp - 0x20], 0
mov dword [ebp - 0x50], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x1002880e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x24], 0
mov word [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x10029483
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10029479
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100294c1
jmp 0x10029479
xorps xmm0, xmm0
mov dword [ebp - 0x54], 0
lea ecx, [ebp - 0x5c]
movq qword [ebp - 0x5c], xmm0
call fcn.10014e91
mov byte [ebp - 4], 0xd
mov ecx, 1
movaps xmm2, xmmword [0x1005a310]
xor eax, eax
mov dword [ebp - 0x80], 0x2d2d4352
mov dword [ebp - 0x7c], 0x35343332
mov dword [ebp - 0x78], 0x61534350
mov dword [ebp - 0x74], 0x2d302e32
mov dword [ebp - 0x70], 0x2d736843
mov dword [ebp - 0x6c], 0x61435243
mov dword [ebp - 0x68], 0x38313031
mov dword [ebp - 0x64], 0x35313032
movd xmm3, ecx
nop dword [eax]
movd xmm0, eax
pshufd xmm1, xmm0, 0
movups xmm0, xmmword [ebp + eax*4 - 0x80]
paddd xmm1, xmm2
pslld xmm0, xmm3
paddd xmm1, xmm0
movups xmmword [ebp + eax*4 - 0x80], xmm1
add eax, 4
cmp eax, 8
jl 0x100288c0
mov ecx, dword [ebp - 0x2c]
mov eax, 0x10624dd3
mov esi, dword [ebp - 0x30]
sub ecx, esi
imul ecx
lea ecx, [ebp - 0x5c]
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x3e8
push ecx
lea ecx, [ebp - 0x80]
push eax
push esi
call fcn.1002fd10
test al, al
jne 0x10028a90
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x5c]
call fcn.10014df3
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x1002898c
mov ecx, dword [ebp - 0x28]
mov eax, 0x10624dd3
sub ecx, esi
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x3e8
mov eax, esi
cmp ecx, 0x1000
jb 0x1002896d
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100294c6
push ecx
push esi
call fcn.10036357
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x10028a07
mov edi, dword [ebp - 0x18]
cmp esi, edi
je 0x100289b1
nop
mov ecx, esi
call fcn.10027b10
add esi, 0x68
cmp esi, edi
jne 0x100289a0
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov eax, 0x4ec4ec4f
sub ecx, esi
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x68
mov eax, esi
cmp ecx, 0x1000
jb 0x100289e8
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100294cb
push ecx
push esi
call fcn.10036357
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 1
cmp byte [ebp - 0x539], 0
je 0x10028a26
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x10028a22
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [ebp - 0x20], 0
mov dword [ebp - 0x50], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x10028a46
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x24], 0
mov word [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x10029483
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10029479
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100294d0
jmp 0x10029479
lea ecx, [ebp - 0x5c]
call fcn.10014c65
test al, al
je 0x10028c10
mov byte [ebp - 4], 0xc
call fcn.10014df3
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x10028b0d
mov ecx, dword [ebp - 0x28]
mov eax, 0x10624dd3
sub ecx, esi
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x3e8
mov eax, esi
cmp ecx, 0x1000
jb 0x10028aee
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100294d5
push ecx
push esi
call fcn.10036357
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x10028b87
mov edi, dword [ebp - 0x18]
cmp esi, edi
je 0x10028b31
nop
mov ecx, esi
call fcn.10027b10
add esi, 0x68
cmp esi, edi
jne 0x10028b20
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov eax, 0x4ec4ec4f
sub ecx, esi
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x68
mov eax, esi
cmp ecx, 0x1000
jb 0x10028b68
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100294da
push ecx
push esi
call fcn.10036357
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 1
cmp byte [ebp - 0x539], 0
je 0x10028ba6
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x10028ba2
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [ebp - 0x20], 0
mov dword [ebp - 0x50], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x10028bc6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x24], 0
mov word [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x10029483
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10029479
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100294df
jmp 0x10029479
mov edx, dword [ebp - 0x554]
mov ecx, edx
cmp dword [edx + 0x14], 8
jb 0x10028c20
mov ecx, dword [edx]
push ecx
push 0x80
push 4
push ecx
push 0
mov edx, 0x40000000
call fcn.10019cb0
mov esi, eax
add esp, 0x14
mov dword [ebp - 0x540], esi
cmp esi, 0xffffffff
je 0x10028c4d
test esi, esi
jne 0x10028e18
push 0x10059354
call fcn.1003dd45
mov esi, eax
add esp, 4
mov eax, dword [ebp - 0x554]
mov edi, eax
mov dword [ebp - 0x54c], esi
cmp dword [eax + 0x14], 8
jb 0x10028c72
mov edi, dword [eax]
mov eax, dword [eax + 0x10]
test esi, esi
je 0x10028e12
test eax, eax
je 0x10028e12
push 0x100
lea eax, [ebp - 0x250]
push 0
push eax
call fcn.10038450
mov ecx, 0x10059354
mov dword [ebp - 0x550], 0x100
lea edx, [esi*2 + 0x10059354]
add esp, 0xc
cmp edx, ecx
je 0x10028cde
nop word [eax + eax]
movzx eax, word [ecx]
cmp ax, word [ebp - 0x550]
jae 0x10028d17
movzx eax, al
add ecx, 2
mov byte [ebp + eax - 0x250], 1
cmp ecx, edx
jne 0x10028cc0
mov esi, dword [ebp - 0x554]
or ecx, 0xffffffff
mov edx, 0x100
mov eax, dword [esi + 0x10]
dec eax
cmp eax, ecx
cmovb ecx, eax
lea ecx, [edi + ecx*2]
movzx eax, word [ecx]
cmp ax, dx
jae 0x10028d0a
cmp byte [ebp + eax - 0x250], 0
jne 0x10028d73
cmp ecx, edi
je 0x10028e12
sub ecx, 2
jmp 0x10028cf8
mov edx, dword [ebp - 0x554]
or ecx, 0xffffffff
mov eax, dword [edx + 0x10]
dec eax
cmp eax, ecx
cmovb ecx, eax
lea ecx, [edi + ecx*2]
nop dword [eax]
mov edx, esi
mov eax, 0x10059354
test esi, esi
je 0x10028d53
movzx esi, word [ecx]
nop
cmp word [eax], si
je 0x10028d5c
add eax, 2
sub edx, 1
jne 0x10028d40
mov esi, dword [ebp - 0x54c]
cmp ecx, edi
je 0x10028d68
sub ecx, 2
jmp 0x10028d30
mov esi, dword [ebp - 0x554]
sub ecx, edi
sar ecx, 1
jmp 0x10028d77
mov esi, dword [ebp - 0x554]
or ecx, 0xffffffff
jmp 0x10028d77
sub ecx, edi
sar ecx, 1
cmp ecx, 0xffffffff
je 0x10028e12
push ecx
push 0
lea eax, [ebp - 0x78]
mov ecx, esi
push eax
call fcn.1000c223
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x78]
call fcn.10018450
cmp dword [esi + 0x14], 8
jb 0x10028da2
mov esi, dword [esi]
push ecx
push 0x80
push 4
push ecx
push 0
mov edx, 0x40000000
mov ecx, esi
call fcn.10019cb0
add esp, 0x14
mov esi, eax
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x64]
cmp edx, 8
jb 0x10028dfc
mov ecx, dword [ebp - 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10028df2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100294e4
push edx
push ecx
call fcn.10036357
add esp, 8
xor eax, eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], ax
jmp 0x10028e18
mov esi, dword [ebp - 0x540]
cmp esi, 0xffffffff
je 0x10029206
test esi, esi
je 0x10029206
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x60], 0
call fcn.10014f59
push 0
mov edx, dword [eax]
lea eax, [ebp - 0x60]
push eax
call fcn.10014c5f
push eax
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call edi
lea ecx, [ebp - 0x5c]
call fcn.10014c5f
cmp dword [ebp - 0x60], eax
jne 0x1002908e
mov edx, dword [ebp - 0x55c]
lea eax, [ebp - 0x1c]
cmp edx, eax
je 0x10028eab
mov ecx, dword [edx]
mov eax, dword [ebp - 0x1c]
mov dword [edx], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [edx + 4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], ecx
mov ecx, dword [edx + 8]
mov dword [edx + 8], eax
mov dword [ebp - 0x14], ecx
mov esi, dword [edx]
xor ecx, ecx
mov dword [ebp - 0x544], ecx
mov eax, 0x4ec4ec4f
mov ecx, dword [edx + 4]
sub ecx, esi
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10028f04
xor edi, edi
nop
mov eax, dword [ebp - 0x55c]
lea edi, [edi + 0x68]
inc dword [ebp - 0x544]
mov byte [esi + edi - 4], 0
mov ecx, dword [eax + 4]
mov esi, dword [eax]
sub ecx, esi
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x544], eax
jb 0x10028ed0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x5c]
call fcn.10014df3
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x10028f74
mov ecx, dword [ebp - 0x28]
mov eax, 0x10624dd3
sub ecx, esi
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x3e8
mov eax, esi
cmp ecx, 0x1000
jb 0x10028f55
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100294e9
push ecx
push esi
call fcn.10036357
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x10028fed
mov edi, dword [ebp - 0x18]
cmp esi, edi
je 0x10028f97
mov ecx, esi
call fcn.10027b10
add esi, 0x68
cmp esi, edi
jne 0x10028f86
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov eax, 0x4ec4ec4f
sub ecx, esi
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x68
mov eax, esi
cmp ecx, 0x1000
jb 0x10028fce
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100294ee
push ecx
push esi
call fcn.10036357
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 1
cmp byte [ebp - 0x539], 0
je 0x1002900c
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x10029008
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [ebp - 0x20], 0
mov dword [ebp - 0x50], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x1002902c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x24], 0
mov word [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x10029073
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10029069
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100294f3
push edx
push ecx
call fcn.10036357
add esp, 8
xor eax, eax
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
mov al, 1
mov dword [ebp - 0x34], 7
jmp 0x10029495
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x5c]
call fcn.10014df3
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x100290fe
mov ecx, dword [ebp - 0x28]
mov eax, 0x10624dd3
sub ecx, esi
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x3e8
mov eax, esi
cmp ecx, 0x1000
jb 0x100290df
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100294f8
push ecx
push esi
call fcn.10036357
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x10029181
mov edi, dword [ebp - 0x18]
cmp esi, edi
je 0x10029125
mov ecx, esi
call fcn.10027b10
add esi, 0x68
cmp esi, edi
jne 0x10029114
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov eax, 0x4ec4ec4f
sub ecx, esi
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x68
mov eax, esi
cmp ecx, 0x1000
jb 0x1002915c
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100294fd
push ecx
push esi
call fcn.10036357
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 1
cmp byte [ebp - 0x539], 0
je 0x100291a0
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x1002919c
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [ebp - 0x20], 0
mov dword [ebp - 0x50], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x100291bc
push eax
call edi
mov dword [ebp - 0x24], 0
mov word [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x10029483
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10029479
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10029502
jmp 0x10029479
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x5c]
call fcn.10014df3
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x10029276
mov ecx, dword [ebp - 0x28]
mov eax, 0x10624dd3
sub ecx, esi
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x3e8
mov eax, esi
cmp ecx, 0x1000
jb 0x10029257
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10029507
push ecx
push esi
call fcn.10036357
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x100292f7
mov edi, dword [ebp - 0x18]
cmp esi, edi
je 0x100292a1
nop dword [eax]
mov ecx, esi
call fcn.10027b10
add esi, 0x68
cmp esi, edi
jne 0x10029290
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov eax, 0x4ec4ec4f
sub ecx, esi
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x68
mov eax, esi
cmp ecx, 0x1000
jb 0x100292d8
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002950c
push ecx
push esi
call fcn.10036357
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 1
cmp byte [ebp - 0x539], 0
je 0x10029316
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x10029312
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [ebp - 0x20], 0
mov dword [ebp - 0x50], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x10029336
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x24], 0
mov word [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x10029483
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10029479
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10029511
jmp 0x10029479
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x100293fd
mov edi, dword [ebp - 0x18]
cmp esi, edi
je 0x100293a7
mov ecx, esi
call fcn.10027b10
add esi, 0x68
cmp esi, edi
jne 0x10029396
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov eax, 0x4ec4ec4f
sub ecx, esi
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x68
mov eax, esi
cmp ecx, 0x1000
jb 0x100293de
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10029516
push ecx
push esi
call fcn.10036357
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 1
cmp byte [ebp - 0x539], 0
je 0x1002941c
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x10029418
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [ebp - 0x20], 0
mov dword [ebp - 0x50], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x1002943c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x24], 0
mov word [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x10029483
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10029479
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002951b
push edx
push ecx
call fcn.10036357
add esp, 8
xor eax, eax
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
mov dword [ebp - 0x38], eax
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10036316
mov esp, ebp
pop ebp
ret 0xc
call fcn.10002890
call fcn.1003df6b
call fcn.1003df6b
call fcn.1003df6b
call fcn.1003df6b
call fcn.1003df6b
call fcn.1003df6b
call fcn.1003df6b
call fcn.1003df6b
call fcn.1003df6b
call fcn.1003df6b
call fcn.1003df6b
call fcn.1003df6b
call fcn.1003df6b
call fcn.1003df6b
call fcn.1003df6b
call fcn.1003df6b
call fcn.1003df6b
call fcn.1003df6b
call fcn.1003df6b
call fcn.1003df6b
call fcn.1003df6b
int3