Function at 0x1023e340
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 dword [0x1025a114], 0x1d0f
mov edx, dword [0x1025a118]
add edx, 0x1308
mov dword [0x1025a118], edx
cmp ecx, 0
sete bl
cmp eax, 0
sete bh
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x16], bh
mov eax, 0xffffffff
mov cl, byte [ebp - 0x15]
mov dl, byte [ebp - 0x16]
and cl, dl
test cl, 1
mov dword [ebp - 0x1c], eax
jne 0x1023e57a
jmp 0x1023e3dc
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x1023e4d9
mov eax, 0x40c8
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
jmp 0x1023e44a
mov eax, dword [ebp - 0x30]
mov cl, byte [ebp - 0x31]
mov dword [0x1025a114], eax
test cl, 1
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
jne 0x1023e574
jmp 0x1023e3ad
mov dword [0x1025a118], 0x533
mov dword [0x1025a114], 0x10ed
mov ecx, dword fs:[0x18]
mov eax, 0x2546
mov dword [0x1025a114], 0xb3f
mov dword [0x1025a118], 0x25b1
mov ecx, dword [ecx + 0x30]
mov dword [0x1025a118], 0x714
mov ecx, dword [ecx + 0xc]
add ecx, 0x14
mov dword [0x1025a114], 0x1d7f
mov edx, dword [ebp - 0x10]
cmp edx, 0
setne bl
mov esi, ecx
mov byte [ebp - 0x3d], bl
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], esi
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
xor edx, edx
mov eax, dword [eax]
mov esi, dword [ebp - 0x44]
cmp eax, esi
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x3c], edx
je 0x1023e574
mov eax, dword [ebp - 0x24]
mov cx, word [eax + 0x24]
mov edx, dword [eax + 0x28]
mov esi, dword [ebp - 0x48]
mov dword [0x1025a114], esi
mov edi, dword [eax + 0x10]
mov ebx, dword [ebp - 0x10]
cmp edi, ebx
sete al
mov ah, byte [ebp - 0x3d]
and ah, al
test ah, 1
mov esi, dword [ebp - 0x24]
mov word [ebp - 0x4a], cx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x38], edi
jne 0x1023e4a2
jmp 0x1023e4b2
mov eax, dword [ebp - 0x54]
add eax, 0xfffffff8
mov dword [ebp - 0x1c], eax
jmp 0x1023e57a
mov dword [0x1025a118], 0x2296
mov ax, word [ebp - 0x4a]
shr ax, 1
movzx ecx, ax
cmp ax, 0
mov dword [ebp - 0x58], ecx
je 0x1023e3ad
jmp 0x1023e3a3
mov eax, dword [ebp - 0x20]
mov ecx, 0x1c00
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 - 0x5c], eax
mov dword [ebp - 0x60], ecx
mov word [ebp - 0x62], si
mov word [ebp - 0x64], bx
jb 0x1023e515
mov ax, word [ebp - 0x62]
mov word [ebp - 0x64], ax
mov ax, word [ebp - 0x64]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x5c]
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 al, bl
mov esi, dword [ebp - 0x60]
mov byte [ebp - 0x65], bl
mov byte [ebp - 0x31], al
mov dword [ebp - 0x30], esi
jne 0x1023e3c0
mov eax, 0x16c1
mov ecx, dword [ebp - 0x5c]
add ecx, 1
mov edx, dword [ebp - 0x58]
cmp ecx, edx
mov bl, byte [ebp - 0x65]
mov byte [ebp - 0x31], bl
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x20], ecx
jb 0x1023e4d9
jmp 0x1023e3c0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret