Function at 0x40da90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x54
mov dword [ebp - 0x1c], 0
mov eax, dword [0x4feb7c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], 0xb0a3ca82
mov eax, dword [ebp - 0x20]
mov ecx, eax
sub ecx, 0x45d27ee0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jg 0x40db91
jmp 0x40dacb
mov eax, dword [ebp - 0x24]
sub eax, 0xb0a3ca81
mov dword [ebp - 0x2c], eax
jg 0x40daf7
jmp 0x40dae1
mov eax, dword [ebp - 0x24]
sub eax, 0x97ef6e55
mov dword [ebp - 0x30], eax
je 0x40dc0a
jmp 0x40dba7
mov eax, dword [ebp - 0x24]
sub eax, 0xd5cc8798
mov dword [ebp - 0x34], eax
jg 0x40db23
jmp 0x40db0d
mov eax, dword [ebp - 0x24]
sub eax, 0xb0a3ca82
mov dword [ebp - 0x38], eax
je 0x40dbac
jmp 0x40dba7
mov eax, dword [ebp - 0x24]
sub eax, 0xf1c56d2d
mov dword [ebp - 0x3c], eax
jg 0x40db7b
jmp 0x40db39
mov eax, dword [ebp - 0x24]
sub eax, 0xd5cc8799
mov dword [ebp - 0x40], eax
je 0x40dbde
jmp 0x40db4f
mov eax, dword [ebp - 0x24]
sub eax, 0xd886a077
mov dword [ebp - 0x44], eax
je 0x40dd24
jmp 0x40db65
mov eax, dword [ebp - 0x24]
sub eax, 0xe17e19ac
mov dword [ebp - 0x48], eax
je 0x40dc94
jmp 0x40dba7
mov eax, dword [ebp - 0x24]
sub eax, 0xf1c56d2e
mov dword [ebp - 0x4c], eax
je 0x40dd2f
jmp 0x40dba7
mov eax, dword [ebp - 0x24]
sub eax, 0x45d27ee1
mov dword [ebp - 0x50], eax
je 0x40dbca
jmp 0x40dba7
jmp 0x40dd36
mov eax, 0xd5cc8799
mov ecx, 0x45d27ee1
mov edx, dword [ebp - 0x14]
cmp edx, 0
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x40dd36
mov eax, dword [0x4feb7c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], 0x97ef6e55
jmp 0x40dd36
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [0x4feb7c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], 0x97ef6e55
jmp 0x40dd36
mov eax, 0xf1c56d2e
mov ecx, 0xe17e19ac
mov dl, 1
mov esi, dword [0x4fffb0]
mov edi, dword [0x4fffac]
mov ebx, esi
sub ebx, 0xca7173a4
sub ebx, 1
add ebx, 0xca7173a4
imul esi, ebx
and esi, 1
cmp esi, 0
sete dh
cmp edi, 0xa
setl bl
mov bh, dh
xor bh, 1
mov dword [ebp - 0x54], eax
mov al, bl
xor al, 1
xor dl, 0
mov ah, bh
and ah, 0
and dh, dl
mov byte [ebp - 0x55], al
and al, 0
and bl, dl
or ah, dh
or al, bl
xor ah, al
mov al, byte [ebp - 0x55]
or bh, al
xor bh, 1
or dl, 0
and bh, dl
or ah, bh
test ah, 1
mov esi, dword [ebp - 0x54]
cmovne esi, ecx
mov dword [ebp - 0x20], esi
jmp 0x40dd36
mov eax, 0xf1c56d2e
mov ecx, 0xd886a077
mov dl, 1
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x10], esi
mov esi, dword [0x4fffb0]
mov edi, dword [0x4fffac]
mov ebx, esi
add ebx, 0xf794e15a
sub ebx, 1
sub ebx, 0xf794e15a
imul esi, ebx
and esi, 1
cmp esi, 0
sete dh
cmp edi, 0xa
setl bl
mov bh, dh
xor bh, 1
mov dword [ebp - 0x5c], eax
mov al, bl
xor al, 1
xor dl, 1
mov ah, bh
and ah, 1
and dh, dl
mov byte [ebp - 0x5d], al
and al, 1
and bl, dl
or ah, dh
or al, bl
xor ah, al
mov al, byte [ebp - 0x5d]
or bh, al
xor bh, 1
or dl, 1
and bh, dl
or ah, bh
test ah, 1
mov esi, dword [ebp - 0x5c]
cmovne esi, ecx
mov dword [ebp - 0x20], esi
jmp 0x40dd36
mov eax, dword [ebp - 0x10]
add esp, 0x54
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x20], 0xe17e19ac
jmp 0x40daaf