Function at 0x10197d39
Capabilities:
Access peb ldr_data

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]
mov edx, 0xffffffff
mov esi, dword [0x101b0dd4]
cmp eax, 0
sete bl
cmp ecx, 0
sete bh
add esi, 0xffffe12b
mov dword [0x101b0dd8], esi
and bh, bl
test bh, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jne 0x10197f99
jmp 0x10197ddc
mov eax, 0xecb
mov ecx, dword [ebp - 0x10]
cmp ecx, 0
setne dl
mov esi, dword [ebp - 0x1c]
mov byte [ebp - 0x1d], dl
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], esi
jmp 0x10197e4b
mov eax, 0x1825
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov edx, dword [ebp - 0x30]
cmp ecx, edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], eax
jb 0x10197eb9
jmp 0x10197f26
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff8
mov dword [ebp - 0x18], eax
jmp 0x10197f99
mov dword [0x101b0dd8], 0x1957
mov dword [0x101b0dd4], 0x25c8
mov ecx, dword fs:[0x18]
mov eax, 0xecb
mov dword [0x101b0dd4], 2
mov dword [0x101b0dd8], 0x18e9
mov ecx, dword [ecx + 0x30]
mov dword [0x101b0dd4], 0x2d67
mov ecx, dword [ecx + 0xc]
mov edx, ecx
add edx, 0x14
mov dword [0x101b0dd8], 0xecb
mov ecx, dword [ecx + 0x14]
cmp ecx, edx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x44], eax
je 0x10197f87
jmp 0x10197d86
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov dx, word [eax + 0x24]
mov esi, dword [eax + 0x28]
mov dword [0x101b0dd4], 0x21e
mov edi, dword [eax + 0x10]
mov ebx, dword [ebp - 0x10]
cmp edi, ebx
sete bl
mov bh, byte [ebp - 0x1d]
and bh, bl
test bh, 1
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x48], ecx
mov word [ebp - 0x4a], dx
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], edi
jne 0x10197dcc
xor eax, eax
mov cx, word [ebp - 0x4a]
shr cx, 1
mov dword [0x101b0dd4], 0x2728
movzx edx, cx
cmp cx, 0
mov esi, dword [ebp - 0x48]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x58], esi
je 0x10197f5f
mov eax, dword [ebp - 0x34]
mov ecx, 0x1eba
mov edx, dword [ebp - 0x50]
mov si, word [edx + eax*2]
mov di, si
add di, 0xffbf
mov bx, si
add bx, 0x20
cmp di, 0x1a
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x5c], ecx
mov word [ebp - 0x5e], si
mov word [ebp - 0x60], bx
jb 0x10197ef5
mov ax, word [ebp - 0x5e]
mov word [ebp - 0x60], ax
mov ax, word [ebp - 0x60]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x2c]
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 - 0x5c]
mov byte [ebp - 0x61], bl
mov dword [ebp - 0x38], esi
jne 0x10197f26
jmp 0x10197da8
mov eax, dword [ebp - 0x38]
mov dword [0x101b0dd4], 0x1dce
mov dword [0x101b0dd8], eax
mov cl, byte [ebp - 0x61]
test cl, 1
mov edx, eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x58], edx
jne 0x10197f4a
jmp 0x10197f5f
mov eax, dword [ebp - 0x68]
add eax, 0x130
mov dword [0x101b0dd4], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x18], eax
jmp 0x10197f99
mov eax, dword [ebp - 0x58]
mov dword [0x101b0dd4], 0x247b
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx]
mov esi, dword [ebp - 0x40]
cmp edx, esi
mov edi, eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x44], eax
jne 0x10197e4b
mov eax, dword [ebp - 0x44]
xor ecx, ecx
add eax, 0x2214
mov dword [0x101b0dd4], eax
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret