Function at 0x421acc
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]
cmp eax, 0
sete dl
cmp ecx, 0
sete dh
mov dword [0x476554], 0x122e
and dh, dl
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov byte [ebp - 0x15], dh
mov eax, 0xffffffff
mov cl, byte [ebp - 0x15]
test cl, 1
mov dword [ebp - 0x1c], eax
jne 0x421b7c
jmp 0x421b2d
xor eax, eax
mov ecx, dword [ebp - 0x20]
mov dword [0x476554], ecx
mov dword [0x476558], 0x671
mov dword [ebp - 0x1c], eax
jmp 0x421b7c
mov dword [0x476554], 0xc01
mov ecx, dword fs:[0x18]
xor eax, eax
mov dword [0x476554], 0x1973
mov ecx, dword [ecx + 0x30]
mov ecx, dword [ecx + 0xc]
mov edx, ecx
add edx, 0x14
mov dword [0x476558], 0x177a
mov ecx, dword [ecx + 0x14]
mov dword [0x476554], 0x1eb7
cmp ecx, edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x1c], eax
jne 0x421b87
mov eax, dword [ebp - 0x1c]
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne cl
mov byte [ebp - 0x29], cl
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
jmp 0x421b9d
mov eax, dword [ebp - 0x30]
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 - 0x29]
and bh, bl
test bh, 1
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], esi
jne 0x421bce
jmp 0x421bef
mov dword [0x476554], 0xdfa
mov dword [0x476558], 0xa7
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff8
mov dword [ebp - 0x1c], eax
jmp 0x421b7c
mov eax, dword [ebp - 0x38]
mov cx, word [eax]
mov word [ebp - 0x42], cx
mov eax, 0xdfa
xor ecx, ecx
mov dx, word [ebp - 0x42]
shr dx, 1
movzx esi, dx
cmp dx, 0
mov edi, eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], eax
je 0x421cd5
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x3c]
mov si, word [edx + eax*2]
mov di, si
add di, 0xffbf
mov bx, si
add bx, 0x20
cmp di, 0x1a
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], ecx
mov word [ebp - 0x5e], si
mov word [ebp - 0x60], bx
jb 0x421c5e
mov ax, word [ebp - 0x5e]
mov word [ebp - 0x60], ax
mov ax, word [ebp - 0x60]
mov ecx, dword [ebp - 0x5c]
add ecx, 0x264a
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x58]
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 - 0x50]
cmp esi, edi
setb bh
and al, bh
test al, 1
mov eax, ecx
mov byte [ebp - 0x61], bl
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], esi
jne 0x421c24
mov al, byte [ebp - 0x61]
test al, 1
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x54], ecx
jne 0x421cb8
jmp 0x421cd5
mov eax, dword [ebp - 0x68]
mov dword [0x476554], eax
mov dword [0x476558], 0x671
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x1c], ecx
jmp 0x421b7c
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
mov esi, dword [ebp - 0x28]
cmp edx, esi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x30], edx
je 0x421b13
jmp 0x421b9d