Function at 0x54a260
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x70
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, 0xffffffff
mov esi, dword [0x56e238]
mov edi, esi
add edi, 0xfffff82b
mov dword [0x56e234], edi
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], esi
mov dword [ebp - 0x1c], edx
jne 0x54a4ed
jmp 0x54a3af
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov dword [0x56e234], ecx
add eax, 0xfffffff8
mov dword [0x56e238], 0x14b5
mov dword [ebp - 0x1c], eax
jmp 0x54a4ed
mov eax, dword [ebp - 0x28]
mov dword [0x56e234], eax
mov dword [0x56e238], 0x14b5
jmp 0x54a4de
mov eax, dword [ebp - 0x2c]
mov ecx, 0xfffff472
mov edx, dword [ebp - 0x30]
mov esi, dword [edx]
mov edi, dword [ebp - 0x34]
cmp esi, edi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], esi
je 0x54a2d8
jmp 0x54a40f
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne cl
mov edx, dword [0x56e238]
add edx, 0xffffdfbd
mov esi, dword [ebp - 0x40]
mov byte [ebp - 0x41], cl
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], esi
jmp 0x54a40f
mov eax, dword [ebp - 0x48]
mov ecx, 0x5fe
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 - 0x50], eax
mov dword [ebp - 0x54], ecx
mov word [ebp - 0x56], si
mov word [ebp - 0x58], bx
jb 0x54a375
mov ax, word [ebp - 0x56]
mov word [ebp - 0x58], ax
mov ax, word [ebp - 0x58]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x50]
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 - 0x54]
mov al, bl
mov byte [ebp - 0x59], bl
mov dword [ebp - 0x60], esi
mov byte [ebp - 0x61], al
jne 0x54a4a0
jmp 0x54a47b
mov eax, dword [ebp - 0x18]
add eax, 0xffffff19
mov dword [0x56e238], eax
mov dword [0x56e234], 0x1807
mov ecx, dword fs:[0x18]
mov dword [0x56e234], 0x17d3
mov dword [0x56e238], 0xca9
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0xc]
mov ecx, eax
add ecx, 0x14
mov eax, dword [eax + 0x14]
mov dword [0x56e234], 0x1e4e
cmp eax, ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x40], eax
je 0x54a4de
jmp 0x54a311
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
mov edx, eax
add edx, 0x24
mov esi, dword [eax + 0x28]
mov edi, dword [eax + 0x10]
mov ebx, dword [ebp - 0x10]
cmp edi, ebx
sete bl
mov bh, byte [ebp - 0x41]
and bh, bl
test bh, 1
mov ebx, ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x24], ebx
jne 0x54a2b5
mov eax, dword [ebp - 0x6c]
mov cx, word [eax]
shr cx, 1
movzx edx, cx
cmp cx, 0
mov esi, dword [ebp - 0x68]
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x2c], esi
je 0x54a2ef
xor eax, eax
mov dword [ebp - 0x48], eax
jmp 0x54a339
mov eax, 0x1079
mov ecx, dword [ebp - 0x50]
add ecx, 1
mov edx, dword [ebp - 0x74]
cmp ecx, edx
mov bl, byte [ebp - 0x59]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x60], eax
mov byte [ebp - 0x61], bl
jb 0x54a339
mov al, byte [ebp - 0x61]
mov ecx, dword [ebp - 0x60]
test al, 1
mov edx, ecx
mov esi, dword [ebp - 0x70]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x7c], esi
jne 0x54a4bd
jmp 0x54a2ef
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x78]
mov dword [0x56e238], 0x14b5
add ecx, 0x2078
mov dword [0x56e234], ecx
mov dword [ebp - 0x1c], eax
jmp 0x54a4ed
xor eax, eax
mov dword [0x56e234], 0x1726
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
add esp, 0x70
pop esi
pop edi
pop ebx
pop ebp
ret