Function at 0x40d070
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 [0x4f8cdc]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], 0xd344b151
mov eax, dword [ebp - 0x20]
mov ecx, eax
sub ecx, 0x6feaf800
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jg 0x40d171
jmp 0x40d0ab
mov eax, dword [ebp - 0x24]
sub eax, 0xacd88242
mov dword [ebp - 0x2c], eax
jg 0x40d0d7
jmp 0x40d0c1
mov eax, dword [ebp - 0x24]
sub eax, 0x89992ffb
mov dword [ebp - 0x30], eax
je 0x40d274
jmp 0x40d187
mov eax, dword [ebp - 0x24]
sub eax, 0xd344b150
mov dword [ebp - 0x34], eax
jg 0x40d103
jmp 0x40d0ed
mov eax, dword [ebp - 0x24]
sub eax, 0xacd88243
mov dword [ebp - 0x38], eax
je 0x40d1be
jmp 0x40d187
mov eax, dword [ebp - 0x24]
sub eax, 0xdfca526a
mov dword [ebp - 0x3c], eax
jg 0x40d12f
jmp 0x40d119
mov eax, dword [ebp - 0x24]
sub eax, 0xd344b151
mov dword [ebp - 0x40], eax
je 0x40d18c
jmp 0x40d187
mov eax, dword [ebp - 0x24]
sub eax, 0xdfca526b
mov dword [ebp - 0x44], eax
je 0x40d304
jmp 0x40d145
mov eax, dword [ebp - 0x24]
sub eax, 0x6c07b32
mov dword [ebp - 0x48], eax
je 0x40d1ea
jmp 0x40d15b
mov eax, dword [ebp - 0x24]
sub eax, 0xf705e28
mov dword [ebp - 0x4c], eax
je 0x40d1aa
jmp 0x40d187
mov eax, dword [ebp - 0x24]
sub eax, 0x6feaf801
mov dword [ebp - 0x50], eax
je 0x40d30f
jmp 0x40d187
jmp 0x40d316
mov eax, 0xacd88243
mov ecx, 0xf705e28
mov edx, dword [ebp - 0x14]
cmp edx, 0
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x40d316
mov eax, dword [0x4f8cdc]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], 0x6c07b32
jmp 0x40d316
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 [0x4f8cdc], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], 0x6c07b32
jmp 0x40d316
mov eax, 0x6feaf801
mov ecx, 0x89992ffb
mov dl, 1
mov esi, dword [0x4fa118]
mov edi, dword [0x4fa114]
mov ebx, esi
sub ebx, 0xa5df82ca
sub ebx, 1
add ebx, 0xa5df82ca
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, 1
mov ah, bh
and ah, 1
and dh, dl
mov byte [ebp - 0x55], al
and al, 1
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, 1
and bh, dl
or ah, bh
test ah, 1
mov esi, dword [ebp - 0x54]
cmovne esi, ecx
mov dword [ebp - 0x20], esi
jmp 0x40d316
mov eax, 0x6feaf801
mov ecx, 0xdfca526b
mov dl, 1
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x10], esi
mov esi, dword [0x4fa118]
mov edi, dword [0x4fa114]
mov ebx, esi
sub ebx, 0x95284d64
sub ebx, 1
add ebx, 0x95284d64
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 0x40d316
mov eax, dword [ebp - 0x10]
add esp, 0x54
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x20], 0x89992ffb
jmp 0x40d08f