Function at 0x10008960
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002ac75
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x10037040]
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, 0x58
mov dword [ebp - 0x170], 0x4621b58
mov dword [ebp - 0x16c], 0x3c3c3914
xor eax, eax
mov dword [ebp - 0x168], 0x31762a3d
mov word [ebp - 0x164], 0x3136
mov byte [ebp - 0x162], 0
nop
xor byte [ebp + eax - 0x16f], cl
inc eax
cmp eax, 0xd
jae 0x100089d5
mov cl, byte [ebp - 0x170]
jmp 0x100089c0
push 0xff
lea eax, [ebp - 0x148]
mov byte [ebp - 0x162], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
lea ecx, [ebp - 0x16f]
add esp, 0xc
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10008a00
sub ecx, edx
lea eax, [ebp - 0x16f]
push ecx
push eax
lea eax, [ebp - 0x148]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov al, 0xa
mov byte [ebp - 0x16c], 0x5d
xor al, byte [ebp - 0x16c]
mov dl, 0x33
mov ah, dl
mov byte [ebp - 0x16b], al
mov al, byte [ebp - 0x16c]
mov cl, 0x34
xor cl, al
mov word [ebp - 0x150], 0x3d
xor dl, al
mov byte [ebp - 0x16a], cl
xor ah, al
mov byte [ebp - 0x169], dl
mov ch, 0x38
mov byte [ebp - 0x168], ah
xor ch, al
mov byte [ebp - 0x165], 0
mov dh, 0x2f
mov byte [ebp - 0x167], ch
mov ch, 0x58
mov byte [ebp - 0x153], 0
xor dh, al
mov byte [ebp - 0x14f], 0
push 0xff
mov al, 0x1b
mov byte [ebp - 0x166], dh
mov cl, 0x10
mov byte [ebp - 0x165], 0
mov dl, 0x19
mov byte [ebp - 0x158], ch
mov ah, 0xa
mov byte [ebp - 0x153], 0
xor al, ch
xor cl, ch
xor dl, ch
mov byte [ebp - 0x157], al
xor ah, ch
mov byte [ebp - 0x156], cl
push 0
push 0x10041fa0
mov byte [ebp - 0x155], dl
mov byte [ebp - 0x154], ah
call sub.VCRUNTIME140.dll_memset
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x148]
add esp, 0x18
push eax
push 0xff
push 0x10041fa0
lea eax, [ebp - 0x14f]
push eax
lea eax, [ebp - 0x16b]
push eax
lea eax, [ebp - 0x157]
push eax
call esi
mov ecx, 0x10041fa0
mov dword [ebp - 0x38], 0
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x48], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10008b25
sub ecx, edx
push ecx
push 0x10041fa0
lea ecx, [ebp - 0x48]
call fcn.10002ba0
mov dword [ebp - 4], 0
mov dh, 0x11
mov al, 0x5d
mov word [ebp - 0x14c], 0x18
mov cl, 0x7e
mov byte [ebp - 0x15a], 0
mov dl, 0x62
mov byte [ebp - 0x13], 0
mov ah, 0x74
mov byte [ebp - 0x14b], 0
mov ch, 0x63
mov byte [ebp - 0x160], dh
xor al, dh
mov byte [ebp - 0x15a], 0
xor cl, dh
mov byte [ebp - 0x15f], al
xor dl, dh
mov byte [ebp - 0x15e], cl
xor ah, dh
mov byte [ebp - 0x15d], dl
xor ch, dh
mov byte [ebp - 0x15c], ah
mov byte [ebp - 0x15b], ch
mov al, 0x56
mov ch, 0x15
mov byte [ebp - 0x13], 0
push 0xff
mov cl, 0x5d
mov byte [ebp - 0x18], ch
mov dl, 0x54
mov ah, 0x47
xor al, ch
xor cl, ch
xor dl, ch
mov byte [ebp - 0x17], al
xor ah, ch
mov byte [ebp - 0x16], cl
push 0
push 0x10041fa0
mov byte [ebp - 0x15], dl
mov byte [ebp - 0x14], ah
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x148]
push eax
push 0xff
push 0x10041fa0
lea eax, [ebp - 0x14b]
push eax
lea eax, [ebp - 0x15f]
push eax
lea eax, [ebp - 0x17]
push eax
call esi
mov ecx, 0x10041fa0
mov dword [ebp - 0x20], 0
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x30], xmm0
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10008c20
sub ecx, edx
push ecx
push 0x10041fa0
lea ecx, [ebp - 0x30]
call fcn.10002ba0
push 0
push 0x2e4
push 0x1dc
push 0x94
push 0x370
push 0
push 0x3c
push 0x12c
push 8
push 0x28d70d8
mov byte [ebp - 4], 1
call fcn.10004bb0
add esp, 0x28
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10008c80
push 1
call fcn.1002990f
add esp, 4
call fcn.10004c00
mov edi, dword [0x28d70d8]
mov ecx, 0x28b12b8
mov dword [ebp - 0x150], eax
mov eax, dword [0x29192f0]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x160], edi
call fcn.10004ba0
push 0
push 8
push 0
push 0
push 0
push 0
push 0x4c
push 0x40
push 4
push 9
push 0x2919654
call fcn.10004b10
add esp, 0x2c
mov esi, eax
mov ecx, esi
call fcn.10004ba0
xor edx, edx
test al, al
cmovne edx, esi
cmp dword [0x10039710], 1
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x14c], edx
je 0x10008cfc
cmp dword [0x10039714], 1
jne 0x10009365
cmp dword [edi + 0x58], 0x320
jle 0x10008d0f
mov dword [0x1003860c], 0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10009365
cmp dword [eax + 0x1d0], 0xffffffff
jne 0x10008d49
cmp dword [eax + 0x1d4], 0xffffffff
jne 0x10008d49
mov eax, dword [edi + 0x314]
cmp dword [eax + 0x898], 0xffffffff
jne 0x10008d49
mov eax, dword [edi + 0x29c]
test eax, eax
je 0x10008d49
mov byte [eax + 0x24], 1
cmp dword [edi + 0x58], 0x320
jne 0x10008d86
mov eax, dword [edi + 0x314]
cmp dword [eax + 0x898], 0xffffffff
jne 0x10008d86
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 0x10008df3
cmp dword [edi + 0x9c], 0
jne 0x10008df3
cmp dword [edi + 0xac], 0
jne 0x10008df3
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 0x10008e63
cmp dword [edi + 0x9c], 0xcf
jne 0x10008e63
cmp dword [edi + 0xac], 0
jne 0x10008e63
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 0x10008ed3
cmp dword [edi + 0x9c], 0x5a
jne 0x10008ed3
cmp dword [edi + 0xac], 0
jne 0x10008ed3
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 0x1000935f
cmp byte [eax + 0x8cc], 0
jne 0x10008f60
cmp byte [eax + 0x8cd], 0
jne 0x10008f60
cmp byte [eax + 0x8ce], 0
jne 0x10008f60
cmp byte [eax + 0x8cf], 0
jne 0x10008f60
cmp byte [eax + 0x8d0], 1
jne 0x10008f60
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 0x10008fe2
cmp dword [edi + 0x98], 0x1b8
jne 0x10008fe2
cmp dword [edi + 0x9c], 0x1d1
jne 0x10008fe2
cmp dword [edi + 0xac], 0
jne 0x10008fe2
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 0x1000935f
cmp dword [eax + 0x8c0], 0
jne 0x1000935f
cmp dword [eax + 0x898], 0xc
jne 0x1000935f
cmp dword [edi + 0x98], 0x28f
jne 0x100092c8
cmp dword [edi + 0x9c], 0x1a2
jne 0x100092c8
cmp dword [edi + 0xac], 0
jne 0x100092c8
mov ecx, dword [0x10039708]
cmp ecx, 1
jne 0x10009079
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 [0x10039708]
mov byte [0x1003d957], 1
cmp ecx, 2
jne 0x100090bd
cmp dword [eax + 0x898], 0xc
jne 0x100092c8
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 [0x10039708]
mov byte [0x1003d957], 1
cmp ecx, 3
jne 0x10009100
cmp dword [eax + 0x898], 0xc
jne 0x100092c8
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 [0x10039708]
mov byte [0x1003d957], 1
cmp ecx, 4
jne 0x10009144
cmp dword [eax + 0x898], 0xc
jne 0x100092c8
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 [0x10039708]
mov byte [0x1003d957], 1
cmp ecx, 5
jne 0x10009188
cmp dword [eax + 0x898], 0xc
jne 0x100092c8
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 [0x10039708]
mov byte [0x1003d957], 1
cmp ecx, 6
jne 0x100091cc
cmp dword [eax + 0x898], 0xc
jne 0x100092c8
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 [0x10039708]
mov byte [0x1003d957], 1
cmp ecx, 7
jne 0x10009210
cmp dword [eax + 0x898], 0xc
jne 0x100092c8
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 [0x10039708]
mov byte [0x1003d957], 1
cmp ecx, 8
jne 0x10009254
cmp dword [eax + 0x898], 0xc
jne 0x100092c8
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 [0x10039708]
mov byte [0x1003d957], 1
cmp ecx, 9
jne 0x10009294
cmp dword [eax + 0x898], 0xc
jne 0x100092c8
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 [0x10039708]
mov byte [0x1003d957], 1
cmp ecx, 0xa
jne 0x100092c8
cmp dword [eax + 0x898], 0xc
jne 0x100092c8
push 3
mov dword [edi + 0x98], 0x27e
call esi
push 0x1f4
mov dword [edi + 0x9c], 0xc5
call esi
mov byte [0x1003d957], 1
mov eax, dword [edi + 0x314]
mov eax, dword [eax + 0x89c]
cmp eax, 1
je 0x10009306
cmp eax, 2
je 0x10009306
cmp eax, 3
je 0x10009306
cmp eax, 4
je 0x10009306
cmp eax, 5
je 0x10009306
cmp eax, 6
je 0x10009306
cmp eax, 7
je 0x10009306
cmp eax, 8
je 0x10009306
cmp eax, 9
je 0x10009306
cmp eax, 0xa
jne 0x1000935f
push 3
mov byte [0x1003d957], 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
mov edx, dword [ebp - 0x14c]
cmp dword [0x10039710], 1
jne 0x100095fb
mov ecx, dword [ebp - 0x150]
test ecx, ecx
je 0x100095fb
test edx, edx
je 0x100095fb
test edi, edi
je 0x100095fb
cmp dword [edx + 0x2e0], 1
jne 0x100093b8
mov eax, dword [edi + 0x29c]
test eax, eax
je 0x100093b8
mov byte [eax + 0x68], 2
mov eax, dword [edi + 0x29c]
mov byte [0x1003d957], 1
mov byte [eax + 0x24], 1
cmp dword [edx + 0x2e0], 7
jne 0x100095fb
mov eax, dword [edi + 0x314]
test eax, eax
je 0x100095fb
cmp dword [eax + 0x89c], 3
jne 0x1000944a
mov eax, dword [ecx + 0x1d0]
test eax, eax
je 0x1000944a
mov eax, dword [eax + 8]
test eax, eax
je 0x1000944a
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 0x100094c7
mov eax, dword [ecx + 0x1d0]
test eax, eax
je 0x100094c7
mov eax, dword [eax + 8]
test eax, eax
je 0x100094c7
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 0x10009544
mov eax, dword [ecx + 0x1d0]
test eax, eax
je 0x10009544
mov eax, dword [eax + 8]
test eax, eax
je 0x10009544
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 0x10009554
mov byte [eax + 0x24], 0
mov edx, 0x10
nop dword [eax]
mov eax, dword [edi + 0x29c]
test eax, eax
je 0x10009571
mov byte [eax + 0x8b], 3
mov eax, dword [edi + 0x29c]
test eax, eax
je 0x10009582
mov byte [eax + 0x8b], 3
mov eax, dword [edi + 0x29c]
test eax, eax
je 0x10009593
mov byte [eax + 0x8b], 3
mov eax, dword [edi + 0x29c]
test eax, eax
je 0x100095aa
mov byte [eax + 0x8b], 3
mov eax, dword [edi + 0x29c]
sub edx, 1
jne 0x10009560
mov edx, 0x10
test eax, eax
je 0x100095bc
mov byte [eax + 0x68], 2
mov eax, dword [edi + 0x29c]
test eax, eax
je 0x100095ca
mov byte [eax + 0x68], 2
mov eax, dword [edi + 0x29c]
test eax, eax
je 0x100095d8
mov byte [eax + 0x68], 2
mov eax, dword [edi + 0x29c]
test eax, eax
je 0x100095ec
mov byte [eax + 0x68], 2
mov eax, dword [edi + 0x29c]
sub edx, 1
jne 0x100095b4
mov dword [ecx + 0x10e8], 0x100
cmp dword [0x10039714], 1
jne 0x10009964
test edi, edi
je 0x10009964
mov eax, dword [ebp - 0x14c]
test eax, eax
je 0x10009964
cmp dword [eax + 0x2e0], 1
jne 0x1000968d
cmp dword [edi + 0x29c], 0
je 0x1000968d
push 4
push 0x2919ed4
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10009676
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x18]
push eax
push 0x40
push 4
push 0x2919ed4
call esi
lea eax, [ebp - 0x18]
mov dword [0x2919ed4], 0
push eax
push dword [ebp - 0x18]
push 4
push 0x2919ed4
call esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [edi + 0x29c]
mov byte [0x1003d957], 1
mov byte [eax + 0x24], 1
mov eax, dword [ebp - 0x14c]
cmp dword [eax + 0x2e0], 7
mov ecx, dword [ebp - 0x150]
jne 0x1000996a
mov eax, dword [edi + 0x314]
test eax, eax
je 0x1000996a
cmp dword [eax + 0x89c], 3
jne 0x10009729
test ecx, ecx
je 0x10009729
mov eax, dword [ecx + 0x1d0]
test eax, eax
je 0x10009729
mov eax, dword [eax + 8]
test eax, eax
je 0x10009729
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 0x100097aa
test ecx, ecx
je 0x100097aa
mov eax, dword [ecx + 0x1d0]
test eax, eax
je 0x100097aa
mov eax, dword [eax + 8]
test eax, eax
je 0x100097aa
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 0x1000982b
test ecx, ecx
je 0x1000982b
mov eax, dword [ecx + 0x1d0]
test eax, eax
je 0x1000982b
mov eax, dword [eax + 8]
test eax, eax
je 0x1000982b
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 0x1000983b
mov byte [eax + 0x24], 0
mov edx, 0x10
mov eax, dword [edi + 0x29c]
test eax, eax
je 0x10009851
mov byte [eax + 0x8b], 3
mov eax, dword [edi + 0x29c]
test eax, eax
je 0x10009862
mov byte [eax + 0x8b], 3
mov eax, dword [edi + 0x29c]
test eax, eax
je 0x10009873
mov byte [eax + 0x8b], 3
mov eax, dword [edi + 0x29c]
test eax, eax
je 0x10009884
mov byte [eax + 0x8b], 3
sub edx, 1
jne 0x10009840
test ecx, ecx
je 0x1000996a
movss xmm0, dword [0x100329ec]
comiss xmm0, dword [ecx + 0xe8]
jb 0x1000996a
mov eax, dword [0x28d70d8]
push 4
push eax
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10009964
mov eax, dword [ebp - 0x18]
push 4
push dword [eax + 0x12c]
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10009964
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x12c]
cmp dword [eax + 0xc], 0
jle 0x10009964
push 0x8c
call esi
mov ecx, 0x1b
mov esi, 0x1002ed18
mov edi, 0x28b127b
rep movsd dword es:[edi], dword [esi]
push 0x64
movsw word es:[edi], word [esi]
mov edi, dword [ebp - 0x160]
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 - 0x150]
cmp dword [0x10039710], 0
je 0x10009c1b
cmp dword [0x1003970c], 0
je 0x10009c1b
test ecx, ecx
mov ecx, dword [ebp - 0x14c]
je 0x10009c21
test edi, edi
je 0x10009c21
cmp dword [ecx + 0x2e0], 7
jne 0x10009c21
mov edx, dword [edi + 0x314]
test edx, edx
je 0x10009c21
mov eax, dword [edx + 0x89c]
cmp eax, 1
je 0x100099f1
cmp eax, 2
je 0x100099f1
cmp eax, 3
je 0x100099f1
cmp eax, 4
je 0x100099f1
cmp eax, 5
je 0x100099f1
cmp eax, 6
je 0x100099f1
cmp eax, 7
je 0x100099f1
cmp eax, 8
je 0x100099f1
cmp eax, 9
je 0x100099f1
cmp eax, 0xa
jne 0x10009c21
mov edx, dword [edx + 0x7c]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x18], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10009a00
sub ecx, dword [ebp - 0x18]
cmp dword [ebp - 0x1c], 0xf
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x30]
cmova ecx, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x18]
jne 0x10009ad0
sub eax, 4
mov dword [ebp - 0x158], edx
mov dword [ebp - 0x18], eax
jb 0x10009a59
mov esi, dword [ebp - 0x158]
mov eax, dword [ecx]
cmp eax, dword [esi]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
jne 0x10009a5e
mov eax, dword [ebp - 0x18]
add ecx, 4
add dword [ebp - 0x158], 4
sub eax, 4
mov dword [ebp - 0x18], eax
jae 0x10009a32
cmp eax, 0xfffffffc
je 0x10009abf
mov edi, dword [ebp - 0x158]
mov al, byte [ecx]
cmp al, byte [edi]
mov edi, dword [ebp - 0x160]
jne 0x10009ab8
cmp dword [ebp - 0x18], 0xfffffffd
je 0x10009abf
mov esi, dword [ebp - 0x158]
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
jne 0x10009ab8
cmp dword [ebp - 0x18], 0xfffffffe
je 0x10009abf
mov edi, dword [ebp - 0x158]
mov al, byte [ecx + 2]
cmp al, byte [edi + 2]
mov edi, dword [ebp - 0x160]
jne 0x10009ab8
cmp dword [ebp - 0x18], 0xffffffff
je 0x10009abf
mov al, byte [ecx + 3]
mov ecx, dword [ebp - 0x158]
cmp al, byte [ecx + 3]
je 0x10009abf
sbb eax, eax
or eax, 1
jmp 0x10009ac1
xor eax, eax
test eax, eax
jne 0x10009ad0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x10009c1b
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x18], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10009ad8
sub ecx, dword [ebp - 0x18]
cmp dword [ebp - 0x1c], 0xf
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x30]
cmova ecx, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x18]
jne 0x10009b5d
sub eax, 4
mov dword [ebp - 0x18], eax
jb 0x10009b17
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10009b1c
mov eax, dword [ebp - 0x18]
add ecx, 4
add edx, 4
sub eax, 4
mov dword [ebp - 0x18], eax
jae 0x10009b00
cmp eax, 0xfffffffc
je 0x10009b53
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10009b4c
cmp dword [ebp - 0x18], 0xfffffffd
je 0x10009b53
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10009b4c
cmp dword [ebp - 0x18], 0xfffffffe
je 0x10009b53
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10009b4c
cmp dword [ebp - 0x18], 0xffffffff
je 0x10009b53
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x10009b53
sbb eax, eax
or eax, 1
jmp 0x10009b55
xor eax, eax
test eax, eax
je 0x10009c1b
mov eax, dword [0x28d70d8]
push 4
push eax
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10009c1b
mov eax, dword [ebp - 0x18]
push 4
push dword [eax + 0x12c]
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10009c1b
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x12c]
cmp dword [eax + 0xc], 0
jle 0x10009c1b
push 0x8c
call esi
mov ecx, 0x1b
mov esi, 0x1002ed18
mov edi, 0x28b127b
rep movsd dword es:[edi], dword [esi]
push 0x64
movsw word es:[edi], word [esi]
mov edi, dword [ebp - 0x160]
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 [0x10039714], 0
je 0x10009eeb
cmp dword [0x1003970c], 0
je 0x10009eeb
cmp dword [ebp - 0x150], 0
je 0x10009eeb
test ecx, ecx
je 0x10009eeb
test edi, edi
je 0x10009eeb
cmp dword [ecx + 0x2e0], 7
jne 0x10009eeb
mov edx, dword [edi + 0x314]
test edx, edx
je 0x10009eeb
mov eax, dword [edx + 0x89c]
cmp eax, 1
je 0x10009caf
cmp eax, 2
je 0x10009caf
cmp eax, 3
je 0x10009caf
cmp eax, 4
je 0x10009caf
cmp eax, 5
je 0x10009caf
cmp eax, 6
je 0x10009caf
cmp eax, 7
je 0x10009caf
cmp eax, 8
je 0x10009caf
cmp eax, 9
je 0x10009caf
cmp eax, 0xa
jne 0x10009eeb
mov edx, dword [edx + 0x7c]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x18], eax
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10009cc0
sub ecx, dword [ebp - 0x18]
cmp dword [ebp - 0x34], 0xf
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x48]
cmova ecx, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x18]
jne 0x10009d9e
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
sub eax, 4
mov dword [ebp - 0x158], edx
mov dword [ebp - 0x18], eax
jb 0x10009d27
nop dword [eax + eax]
mov edi, dword [ebp - 0x158]
mov eax, dword [ecx]
cmp eax, dword [edi]
mov edi, dword [ebp - 0x160]
jne 0x10009d2c
mov eax, dword [ebp - 0x18]
add ecx, 4
add dword [ebp - 0x158], 4
sub eax, 4
mov dword [ebp - 0x18], eax
jae 0x10009d00
cmp eax, 0xfffffffc
je 0x10009d8d
mov esi, dword [ebp - 0x158]
mov al, byte [ecx]
cmp al, byte [esi]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
jne 0x10009d86
cmp dword [ebp - 0x18], 0xfffffffd
je 0x10009d8d
mov edi, dword [ebp - 0x158]
mov al, byte [ecx + 1]
cmp al, byte [edi + 1]
mov edi, dword [ebp - 0x160]
jne 0x10009d86
cmp dword [ebp - 0x18], 0xfffffffe
je 0x10009d8d
mov esi, dword [ebp - 0x158]
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
jne 0x10009d86
cmp dword [ebp - 0x18], 0xffffffff
je 0x10009d8d
mov al, byte [ecx + 3]
mov ecx, dword [ebp - 0x158]
cmp al, byte [ecx + 3]
je 0x10009d8d
sbb eax, eax
or eax, 1
jmp 0x10009d8f
xor eax, eax
test eax, eax
jne 0x10009d9e
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x10009eeb
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x18], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10009da6
sub ecx, dword [ebp - 0x18]
cmp dword [ebp - 0x34], 0xf
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x48]
cmova ecx, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x18]
jne 0x10009e2d
sub eax, 4
mov dword [ebp - 0x18], eax
jb 0x10009de7
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10009dec
mov eax, dword [ebp - 0x18]
add ecx, 4
add edx, 4
sub eax, 4
mov dword [ebp - 0x18], eax
jae 0x10009dd0
cmp eax, 0xfffffffc
je 0x10009e23
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10009e1c
cmp dword [ebp - 0x18], 0xfffffffd
je 0x10009e23
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10009e1c
cmp dword [ebp - 0x18], 0xfffffffe
je 0x10009e23
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10009e1c
cmp dword [ebp - 0x18], 0xffffffff
je 0x10009e23
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x10009e23
sbb eax, eax
or eax, 1
jmp 0x10009e25
xor eax, eax
test eax, eax
je 0x10009eeb
mov eax, dword [0x28d70d8]
push 4
push eax
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10009eeb
mov eax, dword [ebp - 0x18]
push 4
push dword [eax + 0x12c]
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10009eeb
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x12c]
cmp dword [eax + 0xc], 0
jle 0x10009eeb
push 0x8c
call esi
mov ecx, 0x1b
mov esi, 0x1002ed18
mov edi, 0x28b127b
rep movsd dword es:[edi], dword [esi]
push 0x64
movsw word es:[edi], word [esi]
mov edi, dword [ebp - 0x160]
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 [0x10039710], 1
jne 0x10009ff2
test edi, edi
je 0x10009ff2
mov eax, dword [edi + 0x314]
test eax, eax
je 0x10009ff2
cmp dword [edi + 0x29c], 0
je 0x10009ff2
cmp dword [eax + 0x898], 0xc
jne 0x10009ff2
cmp dword [eax + 0x4c], 1
jl 0x10009ff2
cmp dword [eax + 0x54], 1
jl 0x10009ff2
mov edi, dword [0x28d70d8]
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10009ff2
push 4
push dword [edi + 0x12c]
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10009ff2
mov eax, dword [edi + 0x12c]
cmp dword [eax + 0xc], 0
jle 0x10009ff2
push 0x8c
call esi
mov ecx, 0x1b
mov esi, 0x1002ed18
mov edi, 0x28b127b
rep movsd dword es:[edi], dword [esi]
push 0x64
movsw word es:[edi], word [esi]
mov esi, dword [ebp - 0x160]
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 - 0x1c]
cmp eax, 0xf
jbe 0x1000a024
mov edx, dword [ebp - 0x30]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000a01a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000a04c
push ecx
push edx
call fcn.1002993f
add esp, 8
mov eax, dword [ebp - 0x34]
cmp eax, 0xf
jbe 0x1000a05c
mov edx, dword [ebp - 0x48]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000a052
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000a052
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1002993f
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.10029901
mov esp, ebp
pop ebp
ret