Function at 0x1025d11c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x54
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, 0xffffffff
cmp eax, 0
sete bl
mov dword [0x10295214], 0x122e
cmp ecx, 0
sete bh
and bh, bl
test bh, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jne 0x1025d33e
jmp 0x1025d1d3
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov dword [0x10295214], ecx
mov dword [0x10295218], 0x671
mov dword [ebp - 0x18], eax
jmp 0x1025d33e
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff8
mov dword [0x10295214], 0xdfa
mov dword [0x10295218], 0xa7
mov dword [ebp - 0x18], eax
jmp 0x1025d33e
mov eax, dword [ebp - 0x24]
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 - 0x25]
and bh, bl
test bh, 1
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], esi
jne 0x1025d17e
jmp 0x1025d245
mov dword [0x10295214], 0xc01
mov ecx, dword fs:[0x18]
mov dword [0x10295214], 0x1973
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0xc]
mov ecx, eax
add ecx, 0x14
mov dword [0x10295218], 0x177a
mov eax, dword [eax + 0x14]
mov dword [0x10295214], 0x1eb7
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], eax
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
cmp ecx, edx
mov dword [ebp - 0x18], eax
je 0x1025d33e
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne cl
mov byte [ebp - 0x25], cl
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x24], eax
jmp 0x1025d1a2
mov eax, 0xdfa
xor ecx, ecx
mov edx, dword [ebp - 0x2c]
mov si, word [edx]
shr si, 1
movzx edi, si
cmp si, 0
mov ebx, eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x4c], eax
je 0x1025d320
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x44]
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 - 0x50], eax
mov dword [ebp - 0x54], ecx
mov word [ebp - 0x56], si
mov word [ebp - 0x58], bx
jb 0x1025d2ac
mov ax, word [ebp - 0x56]
mov word [ebp - 0x58], ax
mov ax, word [ebp - 0x58]
mov ecx, dword [ebp - 0x54]
add ecx, 0x264a
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x50]
cmp word [edx + esi*2], ax
sete bl
add esi, 1
cmp ax, 0
setne bh
mov al, bl
and al, bh
mov edi, dword [ebp - 0x48]
cmp esi, edi
setb bh
and al, bh
test al, 1
mov eax, ecx
mov byte [ebp - 0x59], bl
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], esi
jne 0x1025d272
mov al, byte [ebp - 0x59]
test al, 1
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x4c], ecx
jne 0x1025d306
jmp 0x1025d320
mov eax, dword [ebp - 0x60]
mov dword [0x10295214], eax
mov dword [0x10295218], 0x671
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x18], ecx
jmp 0x1025d33e
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
mov esi, dword [ebp - 0x38]
cmp edx, esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], edx
je 0x1025d161
jmp 0x1025d1a2
mov eax, dword [ebp - 0x18]
add esp, 0x54
pop esi
pop edi
pop ebx
pop ebp
ret