Function at 0x10008d90
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002cb25
mov eax, dword fs:[0]
push eax
sub esp, 0x194
mov eax, dword [0x1003800c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov cl, 0x2c
mov dword [ebp - 0x164], 0x70166f2c
mov dword [ebp - 0x160], 0x48484d60
xor eax, eax
mov dword [ebp - 0x15c], 0x45025e49
mov word [ebp - 0x158], 0x4542
mov byte [ebp - 0x156], 0
nop
xor byte [ebp + eax - 0x163], cl
inc eax
cmp eax, 0xd
jae 0x10008e05
mov cl, byte [ebp - 0x164]
jmp 0x10008df0
push 0xff
lea eax, [ebp - 0x144]
mov byte [ebp - 0x156], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
lea ecx, [ebp - 0x163]
add esp, 0xc
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10008e30
sub ecx, edx
lea eax, [ebp - 0x163]
push ecx
push eax
lea eax, [ebp - 0x144]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov al, 0x6f
mov byte [ebp - 0x160], 0x38
xor al, byte [ebp - 0x160]
mov dl, 0x56
mov ah, dl
mov byte [ebp - 0x15f], al
mov al, byte [ebp - 0x160]
mov cl, 0x51
xor cl, al
mov word [ebp - 0x14c], 0x72
xor dl, al
mov byte [ebp - 0x15e], cl
xor ah, al
mov byte [ebp - 0x15d], dl
mov ch, 0x5d
mov byte [ebp - 0x15c], ah
xor ch, al
mov byte [ebp - 0x159], 0
mov dh, 0x4a
mov byte [ebp - 0x15b], ch
mov ch, 0x33
mov byte [ebp - 0x167], 0
xor dh, al
mov byte [ebp - 0x14b], 0
push 0xff
mov al, 0x70
mov byte [ebp - 0x15a], dh
mov cl, 0x7b
mov byte [ebp - 0x159], 0
mov dl, 0x72
mov byte [ebp - 0x16c], ch
mov ah, 0x61
mov byte [ebp - 0x167], 0
xor al, ch
xor cl, ch
xor dl, ch
mov byte [ebp - 0x16b], al
xor ah, ch
mov byte [ebp - 0x16a], cl
push 0
push 0x10043320
mov byte [ebp - 0x169], dl
mov byte [ebp - 0x168], ah
call sub.VCRUNTIME140.dll_memset
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x144]
add esp, 0x18
push eax
push 0xff
push 0x10043320
lea eax, [ebp - 0x14b]
push eax
lea eax, [ebp - 0x15f]
push eax
lea eax, [ebp - 0x16b]
push eax
call esi
mov ecx, 0x10043320
mov dword [ebp - 0x34], 0
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x44], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10008f55
sub ecx, edx
push ecx
push 0x10043320
lea ecx, [ebp - 0x44]
call fcn.10002da0
mov dword [ebp - 4], 0
mov dh, 0x48
mov al, 4
mov word [ebp - 0x154], 0x1c
mov cl, 0x27
mov byte [ebp - 0x17a], 0
mov dl, 0x3b
mov byte [ebp - 0x173], 0
mov ah, 0x2d
mov byte [ebp - 0x153], 0
mov ch, 0x3a
mov byte [ebp - 0x180], dh
xor al, dh
mov byte [ebp - 0x17a], 0
xor cl, dh
mov byte [ebp - 0x17f], al
xor dl, dh
mov byte [ebp - 0x17e], cl
xor ah, dh
mov byte [ebp - 0x17d], dl
xor ch, dh
mov byte [ebp - 0x17c], ah
mov byte [ebp - 0x17b], ch
mov al, 0x51
mov ch, 0x12
mov byte [ebp - 0x173], 0
push 0xff
mov cl, 0x5a
mov byte [ebp - 0x178], ch
mov dl, 0x53
mov ah, 0x40
xor al, ch
xor cl, ch
xor dl, ch
mov byte [ebp - 0x177], al
xor ah, ch
mov byte [ebp - 0x176], cl
push 0
push 0x10043320
mov byte [ebp - 0x175], dl
mov byte [ebp - 0x174], ah
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x144]
push eax
push 0xff
push 0x10043320
lea eax, [ebp - 0x153]
push eax
lea eax, [ebp - 0x17f]
push eax
lea eax, [ebp - 0x177]
push eax
call esi
mov ecx, 0x10043320
mov dword [ebp - 0x1c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x2c], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10009062
sub ecx, edx
push ecx
push 0x10043320
lea ecx, [ebp - 0x2c]
call fcn.10002da0
push 0
push 0x2e0
push 0x1dc
push 0x94
push 0x36c
push 0
push 0x2c
push 0x12c
push 8
push 0x281dac8
mov byte [ebp - 4], 1
call fcn.10004ba0
add esp, 0x28
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100090c2
push 1
call fcn.1002b83e
add esp, 4
call fcn.10004bf0
mov edi, dword [0x281dac8]
mov ecx, 0x27f7ea0
mov dword [ebp - 0x148], eax
mov eax, dword [0x285fce0]
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x170], edi
call fcn.10004b90
push 0
push 8
push 0
push 0
push 0
push 0
push 0x4c
push 0x40
push 4
push 9
push 0x2860044
call fcn.10004b00
add esp, 0x2c
mov esi, eax
mov ecx, esi
call fcn.10004b90
xor ecx, ecx
test al, al
cmovne ecx, esi
cmp dword [0x1003a740], 1
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x14c], ecx
je 0x10009141
cmp dword [0x1003a744], 1
jne 0x10009840
cmp dword [edi + 0x58], 0x320
jle 0x100091ed
movaps xmm0, xmmword [0x10034d60]
xor ecx, ecx
movups xmmword [ebp - 0x1a0], xmm0
mov dword [ebp - 0x190], 0x544c0927
mov dword [ebp - 0x18c], 0x144c5c5c
mov dword [ebp - 0x188], 0x5c5c5a4c
mov byte [ebp - 0x184], 0
nop dword [eax]
nop word [eax + eax]
mov al, byte [ebp - 0x1a0]
xor byte [ebp + ecx - 0x19f], al
inc ecx
cmp ecx, 0x1b
jb 0x10009190
lea eax, [ebp - 0x19f]
mov byte [ebp - 0x184], 0
mov dword [ebp - 0x150], eax
mov eax, dword [0x28617d8]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x15c], 0x1db7350
push dword [ebp - 0x150]
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [ebp - 0x15c]
add esp, 0x10
push 0x64
call esi
mov dword [0x10039640], 0
mov eax, dword [ebp - 0x16c]
test eax, eax
je 0x10009840
cmp dword [eax + 0x1cc], 0xffffffff
jne 0x1000922a
cmp dword [eax + 0x1d0], 0xffffffff
jne 0x1000922a
mov eax, dword [edi + 0x314]
cmp dword [eax + 0x898], 0xffffffff
jne 0x1000922a
mov eax, dword [edi + 0x29c]
test eax, eax
je 0x1000922a
mov byte [eax + 0x24], 1
cmp dword [edi + 0x58], 0x320
jne 0x10009267
mov eax, dword [edi + 0x314]
cmp dword [eax + 0x898], 0xffffffff
jne 0x10009267
push 0x1f4
mov dword [edi + 0x98], 0
mov dword [edi + 0x9c], 0
mov dword [edi + 0xac], 0
call esi
cmp dword [edi + 0x98], 0
jne 0x100092d4
cmp dword [edi + 0x9c], 0
jne 0x100092d4
cmp dword [edi + 0xac], 0
jne 0x100092d4
push 3
mov dword [edi + 0x98], 0x66
call esi
push 0xc8
mov dword [edi + 0x9c], 0xcf
call esi
push 0xc8
mov dword [edi + 0xac], 0x100
call esi
push 0xc8
mov dword [edi + 0xac], 0x10000
call esi
push 0xc8
mov dword [edi + 0xac], 0
call esi
cmp dword [edi + 0x98], 0x66
jne 0x10009344
cmp dword [edi + 0x9c], 0xcf
jne 0x10009344
cmp dword [edi + 0xac], 0
jne 0x10009344
push 3
mov dword [edi + 0x98], 0x1e5
call esi
push 0xc8
mov dword [edi + 0x9c], 0x5a
call esi
push 0xc8
mov dword [edi + 0xac], 0x100
call esi
push 0xc8
mov dword [edi + 0xac], 0x10000
call esi
push 0xc8
mov dword [edi + 0xac], 0
call esi
cmp dword [edi + 0x98], 0x1e5
jne 0x100093b4
cmp dword [edi + 0x9c], 0x5a
jne 0x100093b4
cmp dword [edi + 0xac], 0
jne 0x100093b4
push 3
mov dword [edi + 0x98], 0xc8
call esi
push 0xc8
mov dword [edi + 0x9c], 0x85
call esi
push 0xc8
mov dword [edi + 0xac], 0x100
call esi
push 0xc8
mov dword [edi + 0xac], 0x10000
call esi
push 0xc8
mov dword [edi + 0xac], 0
call esi
mov eax, dword [edi + 0x314]
test eax, eax
je 0x10009840
cmp byte [eax + 0x8cc], 0
jne 0x10009441
cmp byte [eax + 0x8cd], 0
jne 0x10009441
cmp byte [eax + 0x8ce], 0
jne 0x10009441
cmp byte [eax + 0x8cf], 0
jne 0x10009441
cmp byte [eax + 0x8d0], 1
jne 0x10009441
push 3
mov dword [edi + 0x98], 0x1b8
call esi
push 0x1f4
mov dword [edi + 0x9c], 0x1d1
call esi
push 0xc8
mov dword [edi + 0xac], 0x100
call esi
push 0xc8
mov dword [edi + 0xac], 0x10000
call esi
push 0xc8
mov dword [edi + 0xac], 0
call esi
mov eax, dword [edi + 0x314]
cmp byte [eax + 0x8d0], 0
jne 0x100094c3
cmp dword [edi + 0x98], 0x1b8
jne 0x100094c3
cmp dword [edi + 0x9c], 0x1d1
jne 0x100094c3
cmp dword [edi + 0xac], 0
jne 0x100094c3
push 3
mov dword [edi + 0x98], 0x28f
call esi
push 0x1f4
mov dword [edi + 0x9c], 0x1a2
call esi
push 0xc8
mov dword [edi + 0xac], 0x100
call esi
push 0xc8
mov dword [edi + 0xac], 0x10000
call esi
push 0xc8
mov dword [edi + 0xac], 0
call esi
mov eax, dword [edi + 0x314]
cmp byte [eax + 0x8d0], 0
jne 0x10009840
cmp dword [eax + 0x8c0], 0
jne 0x10009840
cmp dword [eax + 0x898], 0xc
jne 0x10009840
cmp dword [edi + 0x98], 0x28f
jne 0x100097a9
cmp dword [edi + 0x9c], 0x1a2
jne 0x100097a9
cmp dword [edi + 0xac], 0
jne 0x100097a9
mov ecx, dword [0x1003a738]
cmp ecx, 1
jne 0x1000955a
push 3
mov dword [edi + 0x98], 0x29a
call esi
push 0x1f4
mov dword [edi + 0x9c], 0x153
call esi
mov eax, dword [edi + 0x314]
mov ecx, dword [0x1003a738]
mov byte [0x1003e527], 1
cmp ecx, 2
jne 0x1000959e
cmp dword [eax + 0x898], 0xc
jne 0x100097a9
push 3
mov dword [edi + 0x98], 0x28a
call esi
push 0x1f4
mov dword [edi + 0x9c], 0x16a
call esi
mov eax, dword [edi + 0x314]
mov ecx, dword [0x1003a738]
mov byte [0x1003e527], 1
cmp ecx, 3
jne 0x100095e1
cmp dword [eax + 0x898], 0xc
jne 0x100097a9
push ecx
mov dword [edi + 0x98], 0x284
call esi
push 0x1f4
mov dword [edi + 0x9c], 0x180
call esi
mov eax, dword [edi + 0x314]
mov ecx, dword [0x1003a738]
mov byte [0x1003e527], 1
cmp ecx, 4
jne 0x10009625
cmp dword [eax + 0x898], 0xc
jne 0x100097a9
push 3
mov dword [edi + 0x98], 0x285
call esi
push 0x1f4
mov dword [edi + 0x9c], 0x13e
call esi
mov eax, dword [edi + 0x314]
mov ecx, dword [0x1003a738]
mov byte [0x1003e527], 1
cmp ecx, 5
jne 0x10009669
cmp dword [eax + 0x898], 0xc
jne 0x100097a9
push 3
mov dword [edi + 0x98], 0x288
call esi
push 0x1f4
mov dword [edi + 0x9c], 0x12d
call esi
mov eax, dword [edi + 0x314]
mov ecx, dword [0x1003a738]
mov byte [0x1003e527], 1
cmp ecx, 6
jne 0x100096ad
cmp dword [eax + 0x898], 0xc
jne 0x100097a9
push 3
mov dword [edi + 0x98], 0x27e
call esi
push 0x1f4
mov dword [edi + 0x9c], 0x119
call esi
mov eax, dword [edi + 0x314]
mov ecx, dword [0x1003a738]
mov byte [0x1003e527], 1
cmp ecx, 7
jne 0x100096f1
cmp dword [eax + 0x898], 0xc
jne 0x100097a9
push 3
mov dword [edi + 0x98], 0x27e
call esi
push 0x1f4
mov dword [edi + 0x9c], 0x101
call esi
mov eax, dword [edi + 0x314]
mov ecx, dword [0x1003a738]
mov byte [0x1003e527], 1
cmp ecx, 8
jne 0x10009735
cmp dword [eax + 0x898], 0xc
jne 0x100097a9
push 3
mov dword [edi + 0x98], 0x27e
call esi
push 0x1f4
mov dword [edi + 0x9c], 0xed
call esi
mov eax, dword [edi + 0x314]
mov ecx, dword [0x1003a738]
mov byte [0x1003e527], 1
cmp ecx, 9
jne 0x10009775
cmp dword [eax + 0x898], 0xc
jne 0x100097a9
push 3
mov dword [edi + 0x98], 0x27e
call esi
push 0x1f4
mov dword [edi + 0x9c], 0xd9
call esi
mov eax, dword [edi + 0x314]
mov ecx, dword [0x1003a738]
mov byte [0x1003e527], 1
cmp ecx, 0xa
jne 0x100097a9
cmp dword [eax + 0x898], 0xc
jne 0x100097a9
push 3
mov dword [edi + 0x98], 0x27e
call esi
push 0x1f4
mov dword [edi + 0x9c], 0xc5
call esi
mov byte [0x1003e527], 1
mov eax, dword [edi + 0x314]
mov eax, dword [eax + 0x89c]
cmp eax, 1
je 0x100097e7
cmp eax, 2
je 0x100097e7
cmp eax, 3
je 0x100097e7
cmp eax, 4
je 0x100097e7
cmp eax, 5
je 0x100097e7
cmp eax, 6
je 0x100097e7
cmp eax, 7
je 0x100097e7
cmp eax, 8
je 0x100097e7
cmp eax, 9
je 0x100097e7
cmp eax, 0xa
jne 0x10009840
push 3
mov byte [0x1003e527], 0
mov dword [edi + 0x98], 0x258
call esi
push 0x1f4
mov dword [edi + 0x9c], 0x1f4
call esi
push 0xc8
mov dword [edi + 0xac], 0x100
call esi
push 0xc8
mov dword [edi + 0xac], 0x10000
call esi
push 0xfa
mov dword [edi + 0xac], 0
call esi
cmp dword [0x1003a740], 1
mov edx, dword [ebp - 0x14c]
jne 0x10009ae1
mov ecx, dword [ebp - 0x148]
test ecx, ecx
je 0x10009ae1
test edx, edx
je 0x10009ae1
test edi, edi
je 0x10009ae1
cmp dword [edx + 0x2e0], 1
jne 0x10009899
mov eax, dword [edi + 0x29c]
test eax, eax
je 0x10009899
mov byte [eax + 0x68], 2
mov eax, dword [edi + 0x29c]
mov byte [eax + 0x24], 1
mov byte [0x1003e527], 1
cmp dword [edx + 0x2e0], 7
jne 0x10009ae1
mov eax, dword [edi + 0x314]
test eax, eax
je 0x10009ae1
cmp dword [eax + 0x89c], 3
jne 0x1000992b
mov eax, dword [ecx + 0x1d0]
test eax, eax
je 0x1000992b
mov eax, dword [eax + 8]
test eax, eax
je 0x1000992b
mov dword [eax + 0x3c], 0xc1b09726
mov eax, dword [ecx + 0x1d0]
mov eax, dword [eax + 8]
mov dword [eax + 0x44], 0x43b581e1
mov eax, dword [ecx + 0x1d0]
mov eax, dword [eax + 8]
mov dword [eax + 0x64], 0xc1b09726
mov eax, dword [ecx + 0x1d0]
mov eax, dword [eax + 8]
mov dword [eax + 0x6c], 0x43b581e1
mov eax, dword [ecx + 0x1d0]
mov eax, dword [eax + 8]
mov dword [eax + 0xac], 0xc1b09726
mov eax, dword [ecx + 0x1d0]
mov eax, dword [eax + 8]
mov dword [eax + 0xb4], 0x43b581e1
mov eax, dword [edi + 0x314]
cmp dword [eax + 0x89c], 2
jne 0x100099a8
mov eax, dword [ecx + 0x1d0]
test eax, eax
je 0x100099a8
mov eax, dword [eax + 8]
test eax, eax
je 0x100099a8
mov dword [eax + 0x3c], 0xc0b5dd69
mov eax, dword [ecx + 0x1d0]
mov eax, dword [eax + 8]
mov dword [eax + 0x44], 0x41c8db1e
mov eax, dword [ecx + 0x1d0]
mov eax, dword [eax + 8]
mov dword [eax + 0x64], 0xc0b5dd69
mov eax, dword [ecx + 0x1d0]
mov eax, dword [eax + 8]
mov dword [eax + 0x6c], 0x41c8db1e
mov eax, dword [ecx + 0x1d0]
mov eax, dword [eax + 8]
mov dword [eax + 0xac], 0xc0b5dd69
mov eax, dword [ecx + 0x1d0]
mov eax, dword [eax + 8]
mov dword [eax + 0xb4], 0x41c8db1e
mov eax, dword [edi + 0x314]
cmp dword [eax + 0x89c], 1
jne 0x10009a25
mov eax, dword [ecx + 0x1d0]
test eax, eax
je 0x10009a25
mov eax, dword [eax + 8]
test eax, eax
je 0x10009a25
mov dword [eax + 0x3c], 0xc3b30ff4
mov eax, dword [ecx + 0x1d0]
mov eax, dword [eax + 8]
mov dword [eax + 0x44], 0x43021b47
mov eax, dword [ecx + 0x1d0]
mov eax, dword [eax + 8]
mov dword [eax + 0x64], 0xc3b30ff4
mov eax, dword [ecx + 0x1d0]
mov eax, dword [eax + 8]
mov dword [eax + 0x6c], 0x43021b47
mov eax, dword [ecx + 0x1d0]
mov eax, dword [eax + 8]
mov dword [eax + 0xac], 0xc3b30ff4
mov eax, dword [ecx + 0x1d0]
mov eax, dword [eax + 8]
mov dword [eax + 0xb4], 0x43021b47
mov eax, dword [edi + 0x29c]
cmp byte [eax + 0x24], 1
jne 0x10009a35
mov byte [eax + 0x24], 0
mov edx, 0x10
nop word [eax + eax]
mov eax, dword [edi + 0x29c]
test eax, eax
je 0x10009a51
mov byte [eax + 0x8b], 3
mov eax, dword [edi + 0x29c]
test eax, eax
je 0x10009a62
mov byte [eax + 0x8b], 3
mov eax, dword [edi + 0x29c]
test eax, eax
je 0x10009a73
mov byte [eax + 0x8b], 3
mov eax, dword [edi + 0x29c]
test eax, eax
je 0x10009a8a
mov byte [eax + 0x8b], 3
mov eax, dword [edi + 0x29c]
sub edx, 1
jne 0x10009a40
mov edx, 0x10
test eax, eax
je 0x10009a9c
mov byte [eax + 0x68], 2
mov eax, dword [edi + 0x29c]
test eax, eax
je 0x10009aaa
mov byte [eax + 0x68], 2
mov eax, dword [edi + 0x29c]
test eax, eax
je 0x10009ab8
mov byte [eax + 0x68], 2
mov eax, dword [edi + 0x29c]
test eax, eax
je 0x10009acc
mov byte [eax + 0x68], 2
mov eax, dword [edi + 0x29c]
sub edx, 1
jne 0x10009a94
mov edx, dword [ebp - 0x14c]
mov dword [ecx + 0x10e4], 0x100
cmp dword [0x1003a744], 1
jne 0x10009e44
test edi, edi
je 0x10009e44
test edx, edx
je 0x10009e44
cmp dword [edx + 0x2e0], 1
jne 0x10009b6d
cmp dword [edi + 0x29c], 0
je 0x10009b6d
push 4
push 0x28608bc
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10009b56
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x14]
push eax
push 0x40
push 4
push 0x28608bc
call esi
lea eax, [ebp - 0x14]
mov dword [0x28608bc], 0
push eax
push dword [ebp - 0x14]
push 4
push 0x28608bc
call esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [edi + 0x29c]
mov edx, dword [ebp - 0x14c]
mov byte [eax + 0x24], 1
mov byte [0x1003e527], 1
cmp dword [edx + 0x2e0], 7
mov ecx, dword [ebp - 0x148]
jne 0x10009e4a
mov eax, dword [edi + 0x314]
test eax, eax
je 0x10009e4a
cmp dword [eax + 0x89c], 3
jne 0x10009c09
test ecx, ecx
je 0x10009c09
mov eax, dword [ecx + 0x1d0]
test eax, eax
je 0x10009c09
mov eax, dword [eax + 8]
test eax, eax
je 0x10009c09
mov dword [eax + 0x3c], 0xc1b09726
mov eax, dword [ecx + 0x1d0]
mov eax, dword [eax + 8]
mov dword [eax + 0x44], 0x43b581e1
mov eax, dword [ecx + 0x1d0]
mov eax, dword [eax + 8]
mov dword [eax + 0x64], 0xc1b09726
mov eax, dword [ecx + 0x1d0]
mov eax, dword [eax + 8]
mov dword [eax + 0x6c], 0x43b581e1
mov eax, dword [ecx + 0x1d0]
mov eax, dword [eax + 8]
mov dword [eax + 0xac], 0xc1b09726
mov eax, dword [ecx + 0x1d0]
mov eax, dword [eax + 8]
mov dword [eax + 0xb4], 0x43b581e1
mov eax, dword [edi + 0x314]
cmp dword [eax + 0x89c], 2
jne 0x10009c8a
test ecx, ecx
je 0x10009c8a
mov eax, dword [ecx + 0x1d0]
test eax, eax
je 0x10009c8a
mov eax, dword [eax + 8]
test eax, eax
je 0x10009c8a
mov dword [eax + 0x3c], 0xc0b5dd69
mov eax, dword [ecx + 0x1d0]
mov eax, dword [eax + 8]
mov dword [eax + 0x44], 0x41c8db1e
mov eax, dword [ecx + 0x1d0]
mov eax, dword [eax + 8]
mov dword [eax + 0x64], 0xc0b5dd69
mov eax, dword [ecx + 0x1d0]
mov eax, dword [eax + 8]
mov dword [eax + 0x6c], 0x41c8db1e
mov eax, dword [ecx + 0x1d0]
mov eax, dword [eax + 8]
mov dword [eax + 0xac], 0xc0b5dd69
mov eax, dword [ecx + 0x1d0]
mov eax, dword [eax + 8]
mov dword [eax + 0xb4], 0x41c8db1e
mov eax, dword [edi + 0x314]
cmp dword [eax + 0x89c], 1
jne 0x10009d0b
test ecx, ecx
je 0x10009d0b
mov eax, dword [ecx + 0x1d0]
test eax, eax
je 0x10009d0b
mov eax, dword [eax + 8]
test eax, eax
je 0x10009d0b
mov dword [eax + 0x3c], 0xc3b30ff4
mov eax, dword [ecx + 0x1d0]
mov eax, dword [eax + 8]
mov dword [eax + 0x44], 0x43021b47
mov eax, dword [ecx + 0x1d0]
mov eax, dword [eax + 8]
mov dword [eax + 0x64], 0xc3b30ff4
mov eax, dword [ecx + 0x1d0]
mov eax, dword [eax + 8]
mov dword [eax + 0x6c], 0x43021b47
mov eax, dword [ecx + 0x1d0]
mov eax, dword [eax + 8]
mov dword [eax + 0xac], 0xc3b30ff4
mov eax, dword [ecx + 0x1d0]
mov eax, dword [eax + 8]
mov dword [eax + 0xb4], 0x43021b47
mov eax, dword [edi + 0x29c]
cmp byte [eax + 0x24], 1
jne 0x10009d1b
mov byte [eax + 0x24], 0
mov edx, 0x10
mov eax, dword [edi + 0x29c]
test eax, eax
je 0x10009d31
mov byte [eax + 0x8b], 3
mov eax, dword [edi + 0x29c]
test eax, eax
je 0x10009d42
mov byte [eax + 0x8b], 3
mov eax, dword [edi + 0x29c]
test eax, eax
je 0x10009d53
mov byte [eax + 0x8b], 3
mov eax, dword [edi + 0x29c]
test eax, eax
je 0x10009d64
mov byte [eax + 0x8b], 3
sub edx, 1
jne 0x10009d20
test ecx, ecx
je 0x10009e4a
movss xmm0, dword [0x10034824]
comiss xmm0, dword [ecx + 0xe8]
jb 0x10009e4a
mov eax, dword [0x281dac8]
push 4
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10009e44
mov eax, dword [ebp - 0x14]
push 4
push dword [eax + 0x12c]
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10009e44
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x12c]
cmp dword [eax + 0xc], 0
jle 0x10009e44
push 0x8c
call esi
mov ecx, 0x1b
mov esi, 0x100307a0
mov edi, 0x27f7e63
rep movsd dword es:[edi], dword [esi]
push 0x64
movsw word es:[edi], word [esi]
mov edi, dword [ebp - 0x170]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [edi + 0x29c]
mov byte [eax + 0x1f], 3
call esi
push 3
mov dword [edi + 0x98], 0x200
call esi
push 0xfa
mov dword [edi + 0x9c], 0x177
call esi
push 0x64
mov dword [edi + 0xac], 0x100
call esi
push 0x64
mov dword [edi + 0xac], 0x10000
call esi
push 0x64
mov dword [edi + 0xac], 0
call esi
mov ecx, dword [ebp - 0x148]
cmp dword [0x1003a740], 0
je 0x1000a108
cmp dword [0x1003a73c], 0
je 0x1000a108
test ecx, ecx
mov ecx, dword [ebp - 0x14c]
je 0x1000a10e
test edi, edi
je 0x1000a10e
cmp dword [ecx + 0x2e0], 7
jne 0x1000a10e
mov edx, dword [edi + 0x314]
test edx, edx
je 0x1000a10e
mov eax, dword [edx + 0x89c]
cmp eax, 1
je 0x10009ed1
cmp eax, 2
je 0x10009ed1
cmp eax, 3
je 0x10009ed1
cmp eax, 4
je 0x10009ed1
cmp eax, 5
je 0x10009ed1
cmp eax, 6
je 0x10009ed1
cmp eax, 7
je 0x10009ed1
cmp eax, 8
je 0x10009ed1
cmp eax, 9
je 0x10009ed1
cmp eax, 0xa
jne 0x1000a10e
mov edx, dword [edx + 0x7c]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x16c], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10009ee0
sub ecx, dword [ebp - 0x16c]
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x150], ecx
lea ecx, [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x150]
jne 0x10009fc2
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
sub eax, 4
mov dword [ebp - 0x154], edx
mov dword [ebp - 0x14], eax
jb 0x10009f48
mov edi, dword [ebp - 0x154]
mov eax, dword [ecx]
cmp eax, dword [edi]
mov edi, dword [ebp - 0x170]
jne 0x10009f4d
mov eax, dword [ebp - 0x14]
add ecx, 4
add dword [ebp - 0x154], 4
sub eax, 4
mov dword [ebp - 0x14], eax
jae 0x10009f21
cmp eax, 0xfffffffc
je 0x10009fae
mov esi, dword [ebp - 0x154]
mov al, byte [ecx]
cmp al, byte [esi]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
jne 0x10009fa7
cmp dword [ebp - 0x14], 0xfffffffd
je 0x10009fae
mov edi, dword [ebp - 0x154]
mov al, byte [ecx + 1]
cmp al, byte [edi + 1]
mov edi, dword [ebp - 0x170]
jne 0x10009fa7
cmp dword [ebp - 0x14], 0xfffffffe
je 0x10009fae
mov esi, dword [ebp - 0x154]
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
jne 0x10009fa7
cmp dword [ebp - 0x14], 0xffffffff
je 0x10009fae
mov al, byte [ecx + 3]
mov ecx, dword [ebp - 0x154]
cmp al, byte [ecx + 3]
je 0x10009fae
sbb eax, eax
or eax, 1
jmp 0x10009fb0
xor eax, eax
test eax, eax
jne 0x10009fbf
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x1000a108
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x150]
jne 0x1000a03d
sub eax, 4
mov dword [ebp - 0x14], eax
jb 0x10009ff7
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10009ffc
mov eax, dword [ebp - 0x14]
add ecx, 4
add edx, 4
sub eax, 4
mov dword [ebp - 0x14], eax
jae 0x10009fe0
cmp eax, 0xfffffffc
je 0x1000a033
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x1000a02c
cmp dword [ebp - 0x14], 0xfffffffd
je 0x1000a033
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x1000a02c
cmp dword [ebp - 0x14], 0xfffffffe
je 0x1000a033
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x1000a02c
cmp dword [ebp - 0x14], 0xffffffff
je 0x1000a033
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x1000a033
sbb eax, eax
or eax, 1
jmp 0x1000a035
xor eax, eax
test eax, eax
je 0x1000a108
mov eax, dword [0x281dac8]
push 4
push eax
mov dword [ebp - 0x150], eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1000a108
mov eax, dword [ebp - 0x150]
push 4
push dword [eax + 0x12c]
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1000a108
mov eax, dword [ebp - 0x150]
mov eax, dword [eax + 0x12c]
cmp dword [eax + 0xc], 0
jle 0x1000a108
push 0x8c
call esi
mov ecx, 0x1b
mov esi, 0x100307a0
mov edi, 0x27f7e63
rep movsd dword es:[edi], dword [esi]
push 0x64
movsw word es:[edi], word [esi]
mov edi, dword [ebp - 0x170]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [edi + 0x29c]
mov byte [eax + 0x1f], 3
call esi
push 3
mov dword [edi + 0x98], 0x200
call esi
push 0xfa
mov dword [edi + 0x9c], 0x177
call esi
push 0x64
mov dword [edi + 0xac], 0x100
call esi
push 0x64
mov dword [edi + 0xac], 0x10000
call esi
push 0x64
mov dword [edi + 0xac], 0
call esi
mov ecx, dword [ebp - 0x14c]
cmp dword [0x1003a744], 0
je 0x1000a3d8
cmp dword [0x1003a73c], 0
je 0x1000a3d8
cmp dword [ebp - 0x148], 0
je 0x1000a3d8
test ecx, ecx
je 0x1000a3d8
test edi, edi
je 0x1000a3d8
cmp dword [ecx + 0x2e0], 7
jne 0x1000a3d8
mov edx, dword [edi + 0x314]
test edx, edx
je 0x1000a3d8
mov eax, dword [edx + 0x89c]
cmp eax, 1
je 0x1000a19c
cmp eax, 2
je 0x1000a19c
cmp eax, 3
je 0x1000a19c
cmp eax, 4
je 0x1000a19c
cmp eax, 5
je 0x1000a19c
cmp eax, 6
je 0x1000a19c
cmp eax, 7
je 0x1000a19c
cmp eax, 8
je 0x1000a19c
cmp eax, 9
je 0x1000a19c
cmp eax, 0xa
jne 0x1000a3d8
mov edx, dword [edx + 0x7c]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x16c], eax
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000a1b0
sub ecx, dword [ebp - 0x16c]
cmp dword [ebp - 0x30], 0x10
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x150], ecx
lea ecx, [ebp - 0x44]
cmovae ecx, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x150]
jne 0x1000a292
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
sub eax, 4
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x14], eax
jb 0x1000a218
mov edi, dword [ebp - 0x148]
mov eax, dword [ecx]
cmp eax, dword [edi]
mov edi, dword [ebp - 0x170]
jne 0x1000a21d
mov eax, dword [ebp - 0x14]
add ecx, 4
add dword [ebp - 0x148], 4
sub eax, 4
mov dword [ebp - 0x14], eax
jae 0x1000a1f1
cmp eax, 0xfffffffc
je 0x1000a27e
mov esi, dword [ebp - 0x148]
mov al, byte [ecx]
cmp al, byte [esi]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
jne 0x1000a277
cmp dword [ebp - 0x14], 0xfffffffd
je 0x1000a27e
mov edi, dword [ebp - 0x148]
mov al, byte [ecx + 1]
cmp al, byte [edi + 1]
mov edi, dword [ebp - 0x170]
jne 0x1000a277
cmp dword [ebp - 0x14], 0xfffffffe
je 0x1000a27e
mov esi, dword [ebp - 0x148]
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
jne 0x1000a277
cmp dword [ebp - 0x14], 0xffffffff
je 0x1000a27e
mov al, byte [ecx + 3]
mov ecx, dword [ebp - 0x148]
cmp al, byte [ecx + 3]
je 0x1000a27e
sbb eax, eax
or eax, 1
jmp 0x1000a280
xor eax, eax
test eax, eax
jne 0x1000a28f
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x1000a3d8
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x30], 0x10
lea ecx, [ebp - 0x44]
cmovae ecx, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x150]
jne 0x1000a30d
sub eax, 4
mov dword [ebp - 0x14], eax
jb 0x1000a2c7
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1000a2cc
mov eax, dword [ebp - 0x14]
add ecx, 4
add edx, 4
sub eax, 4
mov dword [ebp - 0x14], eax
jae 0x1000a2b0
cmp eax, 0xfffffffc
je 0x1000a303
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x1000a2fc
cmp dword [ebp - 0x14], 0xfffffffd
je 0x1000a303
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x1000a2fc
cmp dword [ebp - 0x14], 0xfffffffe
je 0x1000a303
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x1000a2fc
cmp dword [ebp - 0x14], 0xffffffff
je 0x1000a303
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x1000a303
sbb eax, eax
or eax, 1
jmp 0x1000a305
xor eax, eax
test eax, eax
je 0x1000a3d8
mov eax, dword [0x281dac8]
push 4
push eax
mov dword [ebp - 0x150], eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1000a3d8
mov eax, dword [ebp - 0x150]
push 4
push dword [eax + 0x12c]
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1000a3d8
mov eax, dword [ebp - 0x150]
mov eax, dword [eax + 0x12c]
cmp dword [eax + 0xc], 0
jle 0x1000a3d8
push 0x8c
call esi
mov ecx, 0x1b
mov esi, 0x100307a0
mov edi, 0x27f7e63
rep movsd dword es:[edi], dword [esi]
push 0x64
movsw word es:[edi], word [esi]
mov edi, dword [ebp - 0x170]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [edi + 0x29c]
mov byte [eax + 0x1f], 3
call esi
push 3
mov dword [edi + 0x98], 0x200
call esi
push 0xfa
mov dword [edi + 0x9c], 0x177
call esi
push 0x64
mov dword [edi + 0xac], 0x100
call esi
push 0x64
mov dword [edi + 0xac], 0x10000
call esi
push 0x64
mov dword [edi + 0xac], 0
call esi
cmp dword [0x1003a740], 1
jne 0x1000a4e3
test edi, edi
je 0x1000a4e3
mov eax, dword [edi + 0x314]
test eax, eax
je 0x1000a4e3
cmp dword [edi + 0x29c], 0
je 0x1000a4e3
cmp dword [eax + 0x898], 0xc
jne 0x1000a4e3
cmp dword [eax + 0x4c], 1
jl 0x1000a4e3
cmp dword [eax + 0x54], 1
jl 0x1000a4e3
mov edi, dword [0x281dac8]
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1000a4e3
push 4
push dword [edi + 0x12c]
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1000a4e3
mov eax, dword [edi + 0x12c]
cmp dword [eax + 0xc], 0
jle 0x1000a4e3
push 0x8c
call esi
mov ecx, 0x1b
mov esi, 0x100307a0
mov edi, 0x27f7e63
rep movsd dword es:[edi], dword [esi]
push 0x64
movsw word es:[edi], word [esi]
mov esi, dword [ebp - 0x170]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esi + 0x29c]
mov byte [eax + 0x1f], 3
call edi
push 3
mov dword [esi + 0x98], 0x200
call edi
push 0xfa
mov dword [esi + 0x9c], 0x177
call edi
push 0x64
mov dword [esi + 0xac], 0x100
call edi
push 0x64
mov dword [esi + 0xac], 0x10000
call edi
push 0x64
mov dword [esi + 0xac], 0
call edi
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x1000a515
mov edx, dword [ebp - 0x2c]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000a50b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000a53d
push ecx
push edx
call fcn.1002b86e
add esp, 8
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x1000a54d
mov edx, dword [ebp - 0x44]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000a543
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000a543
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1002b86e
add esp, 8
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.1002b830
mov esp, ebp
pop ebp
ret