Function at 0x100df254
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, 0xffffffff
mov dword [0x101392dc], 0x122e
cmp ecx, 0
sete bl
cmp eax, 0
sete bh
and bl, bh
test bl, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jne 0x100df47a
jmp 0x100df345
mov eax, dword [ebp - 0x1c]
mov dword [0x101392dc], eax
mov dword [0x101392e0], 0x671
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x18], ecx
jmp 0x100df47a
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
add eax, 0x264a
mov edx, ecx
add edx, 1
mov esi, dword [ebp - 0x2c]
mov di, word [esi + ecx*2]
mov bx, di
add bx, 0xffbf
mov si, di
add si, 0x20
cmp bx, 0x1a
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x34], edx
mov word [ebp - 0x36], di
mov word [ebp - 0x38], si
jb 0x100df303
mov ax, word [ebp - 0x36]
mov word [ebp - 0x38], ax
mov ax, word [ebp - 0x38]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x30]
cmp word [ecx + edx*2], ax
sete bl
cmp ax, 0
setne bh
mov al, bl
and al, bh
mov esi, dword [ebp - 0x34]
mov edi, dword [ebp - 0x3c]
cmp esi, edi
setb bh
and al, bh
test al, 1
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 0x3d], bl
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], eax
jne 0x100df2b9
jmp 0x100df436
mov dword [0x101392dc], 0xc01
mov ecx, dword fs:[0x18]
xor eax, eax
mov dword [0x101392dc], 0x1973
mov ecx, dword [ecx + 0x30]
mov ecx, dword [ecx + 0xc]
mov edx, ecx
add edx, 0x14
mov dword [0x101392e0], 0x177a
mov ecx, dword [ecx + 0x14]
mov dword [0x101392dc], 0x1eb7
cmp ecx, edx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x18], eax
je 0x100df47a
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne cl
mov byte [ebp - 0x49], cl
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x50], eax
jmp 0x100df3ae
mov eax, dword [ebp - 0x50]
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 - 0x49]
and bh, bl
test bh, 1
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x20], esi
jne 0x100df3df
jmp 0x100df400
mov dword [0x101392dc], 0xdfa
mov eax, dword [ebp - 0x54]
add eax, 0xfffffff8
mov dword [0x101392e0], 0xa7
mov dword [ebp - 0x18], eax
jmp 0x100df47a
mov eax, dword [ebp - 0x58]
mov cx, word [eax]
mov word [ebp - 0x5a], cx
mov eax, 0xdfa
xor ecx, ecx
mov dx, word [ebp - 0x5a]
shr dx, 1
movzx esi, dx
cmp dx, 0
mov edi, eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x60], eax
je 0x100df449
jmp 0x100df2b9
mov al, byte [ebp - 0x3d]
test al, 1
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x60], ecx
jne 0x100df29c
jmp 0x100df449
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx]
mov esi, dword [ebp - 0x48]
cmp edx, esi
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x50], edx
jne 0x100df3ae
xor eax, eax
mov ecx, dword [ebp - 0x64]
mov dword [0x101392dc], ecx
mov dword [0x101392e0], 0x671
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add esp, 0x58
pop esi
pop edi
pop ebx
pop ebp
ret