Function at 0x1009c0b0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x5c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
cmp ecx, 0
sete dl
mov dword [0x100a3138], 0x7dc
cmp eax, 0
sete dh
and dl, dh
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov byte [ebp - 0x15], dl
mov eax, 0xffffffff
mov cl, byte [ebp - 0x15]
test cl, 1
mov dword [ebp - 0x1c], eax
jne 0x1009c179
jmp 0x1009c195
mov eax, dword [ebp - 0x20]
mov ecx, eax
add ecx, 0x24
mov edx, dword [eax + 0x28]
mov esi, dword [eax + 0x10]
mov edi, dword [ebp - 0x10]
cmp esi, edi
sete bl
mov bh, byte [ebp - 0x21]
and bh, bl
test bh, 1
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], esi
jne 0x1009c202
jmp 0x1009c14c
mov eax, dword [ebp - 0x38]
add eax, 0x1fc6
mov dword [0x100a3134], eax
mov dword [0x100a3138], 0x1605
jmp 0x1009c184
mov eax, 0x19ef
xor ecx, ecx
mov edx, dword [ebp - 0x2c]
mov si, word [edx]
shr si, 1
movzx edi, si
cmp si, 0
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x44], eax
je 0x1009c2e1
jmp 0x1009c226
mov eax, dword [ebp - 0x1c]
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov dword [0x100a3138], 0x1ca5
mov dword [ebp - 0x1c], eax
jmp 0x1009c179
mov dword [0x100a3134], 0x61a
mov dword [0x100a3138], 0x1b54
mov ecx, dword fs:[0x18]
mov dword [0x100a3134], 0x1677
mov eax, dword [ecx + 0x30]
add eax, 0xc
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax]
mov edx, ecx
add edx, 0x14
mov ecx, dword [ecx + 0x14]
mov dword [0x100a3134], 0x1435
cmp ecx, edx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x50], ecx
je 0x1009c184
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne cl
mov byte [ebp - 0x21], cl
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x20], eax
jmp 0x1009c0fe
mov dword [0x100a3134], 0x19ef
mov dword [0x100a3138], 0x1605
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff8
mov dword [ebp - 0x1c], eax
jmp 0x1009c179
mov eax, dword [ebp - 0x3c]
mov ecx, 0x1e8f
mov edx, dword [ebp - 0x30]
mov si, word [edx + eax*2]
mov di, si
add di, 0xffbf
mov bx, si
add bx, 0x20
cmp di, 0x1a
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], ecx
mov word [ebp - 0x5a], si
mov word [ebp - 0x5c], bx
jb 0x1009c262
mov ax, word [ebp - 0x5a]
mov word [ebp - 0x5c], ax
mov ax, word [ebp - 0x5c]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x54]
cmp word [ecx + edx*2], ax
sete bl
cmp ax, 0
sete bh
mov al, bl
xor al, 1
or bh, al
test bh, 1
mov esi, dword [ebp - 0x58]
mov byte [ebp - 0x5d], bl
mov dword [ebp - 0x64], esi
jne 0x1009c2b2
mov eax, dword [ebp - 0x54]
add eax, 1
mov dword [ebp - 0x68], eax
mov eax, 0x257f
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x40]
cmp ecx, edx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x64], eax
jb 0x1009c226
mov eax, dword [ebp - 0x64]
mov cl, byte [ebp - 0x5d]
test cl, 1
mov dword [ebp - 0x44], eax
jne 0x1009c2c2
jmp 0x1009c2e1
mov dword [0x100a3138], 0x1605
mov dword [0x100a3134], 0x22b5
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1c], eax
jmp 0x1009c179
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
mov esi, dword [ebp - 0x4c]
cmp edx, esi
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x20], edx
je 0x1009c133
jmp 0x1009c0fe