Function at 0x101c5654
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x58
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [0x1021a80c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov eax, 0xffffffff
mov ecx, dword [ebp - 0x10]
cmp ecx, 0
sete dl
mov esi, dword [ebp - 0x14]
cmp esi, 0
sete dh
mov edi, dword [ebp - 0x18]
add edi, 0xfffff404
mov dword [0x1021a808], edi
and dh, dl
test dh, 1
mov dword [ebp - 0x1c], eax
jne 0x101c58aa
jmp 0x101c56e6
mov dword [0x1021a80c], 0x2016
xor eax, eax
mov dword [ebp - 0x1c], eax
jmp 0x101c58aa
mov eax, 0x1d54
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov edx, dword [ebp - 0x24]
cmp ecx, edx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], eax
jb 0x101c57e1
jmp 0x101c584e
mov dword [0x1021a80c], 0x1c78
mov dword [0x1021a808], 0x7e4
mov ecx, dword fs:[0x18]
mov dword [0x1021a808], 0x2201
mov dword [ebp - 0x30], ecx
mov dword [0x1021a80c], 0x2254
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x30]
mov dword [0x1021a808], 0xfffff9d6
mov ecx, dword [ecx + 0xc]
mov edx, ecx
add edx, 0x14
mov ecx, dword [ecx + 0x14]
mov dword [0x1021a80c], 0xe68
cmp ecx, edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], ecx
je 0x101c56ae
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne cl
mov byte [ebp - 0x39], cl
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
jmp 0x101c5764
mov eax, dword [ebp - 0x40]
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 - 0x39]
and bh, bl
test bh, 1
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x50], esi
jne 0x101c5795
jmp 0x101c57af
mov eax, dword [ebp - 0x44]
add eax, 0xfffffff8
mov dword [0x1021a808], 0x1514
mov dword [ebp - 0x1c], eax
jmp 0x101c58aa
mov eax, 0x18d7
xor ecx, ecx
mov edx, dword [ebp - 0x48]
mov si, word [edx]
mov dword [0x1021a80c], 0x10be
shr si, 1
movzx edi, si
cmp si, 0
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x54], eax
je 0x101c587a
mov eax, dword [ebp - 0x28]
mov ecx, 0x1cc4
mov edx, dword [ebp - 0x4c]
mov si, word [edx + eax*2]
mov di, si
add di, 0xffbf
mov bx, si
add bx, 0x20
cmp di, 0x1a
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x58], ecx
mov word [ebp - 0x5a], si
mov word [ebp - 0x5c], bx
jb 0x101c581d
mov ax, word [ebp - 0x5a]
mov word [ebp - 0x5c], ax
mov ax, word [ebp - 0x5c]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
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 - 0x2c], esi
jne 0x101c584e
jmp 0x101c56c2
mov eax, dword [ebp - 0x2c]
mov ecx, 0x1f0d
mov dword [0x1021a80c], eax
mov dl, byte [ebp - 0x5d]
test dl, 1
mov dword [ebp - 0x54], ecx
jne 0x101c5868
jmp 0x101c587a
mov dword [0x1021a808], 0x19d9
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x1c], eax
jmp 0x101c58aa
mov eax, dword [ebp - 0x54]
mov dword [0x1021a80c], 0x1a05
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx]
mov esi, dword [ebp - 0x34]
cmp edx, esi
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x40], edx
jne 0x101c5764
mov eax, dword [ebp - 0x64]
mov dword [0x1021a808], eax
jmp 0x101c56ae
mov eax, dword [ebp - 0x1c]
add esp, 0x58
pop esi
pop edi
pop ebx
pop ebp
ret