Function at 0x407820
Capabilities:
Access pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
jmp 0x40788c
mov eax, 0x8dff68
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407894
sub eax, edx
mov eax, 0
sete al
push ebx
push esi
push edi
cmp eax, 0x1e
jge 0x407df6
xor eax, eax
mov dword [0x8dff68], eax
mov dword [0x8dff6c], eax
mov dword [0x8dff70], eax
mov dword [0x8dff74], eax
mov dword [0x8dff78], eax
mov dword [0x8dff7c], eax
mov dword [0x8dff80], eax
mov dword [0x8dff84], eax
mov byte [0x8dff88], al
jmp 0x407946
jmp 0x4079ac
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call sub.ntdll.dll_RtlImageNtHeader
mov edi, eax
jmp 0x407a21
test edi, edi
je 0x408271
jmp 0x407a8f
movzx ecx, word [edi + 0x14]
lea ebx, [ecx + edi + 0x18]
jmp 0x407afd
xor edx, edx
xor esi, esi
cmp dx, word [edi + 6]
jae 0x408271
jmp 0x407b10
jmp 0x407b76
mov edx, 0x3e
xor ecx, ecx
lea ecx, [ecx]
mov al, byte [ecx + 0x6c91bc]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ebp + ecx - 6], al
jns 0x407b9d
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 5
jl 0x407b80
movzx eax, si
lea ecx, [eax + eax*4]
mov byte [ebp - 1], 0
lea edx, [ebp - 6]
lea ecx, [ebx + ecx*8]
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x407bd3
test al, al
je 0x407bcf
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x407bd3
add ecx, 2
add edx, 2
test al, al
jne 0x407bb3
xor eax, eax
jmp 0x407bd8
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete cl
xor eax, eax
mov dword [ebp - 6], eax
mov word [ebp - 2], ax
test cl, cl
jne 0x407bfc
inc esi
cmp si, word [edi + 6]
jb 0x407b10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
jmp 0x407c62
jmp 0x407cc8
jmp 0x407d2e
movzx eax, si
lea edx, [eax + eax*4]
mov eax, dword [ebx + edx*8 + 0xc]
add eax, dword [edi + 0x34]
lea ecx, [ebx + edx*8]
jmp 0x407da4
mov ecx, dword [ecx + 8]
push ecx
push eax
lea edi, [ebp - 0x28]
call fcn.00410190
mov esi, 0x10
add esp, 8
cmp dword [eax + 0x18], esi
jb 0x407dc3
mov ecx, dword [eax + 4]
jmp 0x407dc6
lea ecx, [eax + 4]
mov edx, 0x8dff68
jmp 0x407dd0
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x407dd0
cmp dword [ebp - 0x10], esi
jb 0x408271
mov edx, dword [ebp - 0x24]
push edx
call fcn.005c0a50
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
jmp 0x407e5c
jmp 0x407ec2
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call sub.ntdll.dll_RtlImageNtHeader
mov edi, eax
jmp 0x407f38
test edi, edi
je 0x408271
jmp 0x407fa6
movzx eax, word [edi + 0x14]
lea ebx, [eax + edi + 0x18]
jmp 0x408014
xor ecx, ecx
xor esi, esi
cmp cx, word [edi + 6]
jae 0x408271
jmp 0x408088
mov edx, 0xfe
xor ecx, ecx
nop
mov al, byte [ecx + str.eyv]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ebp + ecx - 6], al
jns 0x4080ad
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 5
jl 0x408090
movzx eax, si
lea ecx, [eax + eax*4]
mov byte [ebp - 1], 0
lea edx, [ebp - 6]
lea ecx, [ebx + ecx*8]
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x4080e3
test al, al
je 0x4080df
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x4080e3
add ecx, 2
add edx, 2
test al, al
jne 0x4080c3
xor eax, eax
jmp 0x4080e8
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete cl
xor eax, eax
mov dword [ebp - 6], eax
mov word [ebp - 2], ax
test cl, cl
jne 0x40810c
inc esi
cmp si, word [edi + 6]
jb 0x408022
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx eax, si
lea edx, [eax + eax*4]
mov eax, dword [ebx + edx*8 + 0xc]
add eax, dword [edi + 0x34]
lea ecx, [ebx + edx*8]
jmp 0x408182
mov ecx, dword [ecx + 8]
push ecx
push eax
lea edi, [ebp - 0x28]
call fcn.00410190
mov esi, 0x10
add esp, 8
cmp dword [eax + 0x18], esi
jb 0x4081a1
mov eax, dword [eax + 4]
jmp 0x4081a4
add eax, 4
push eax
push 0x8dff68
call fcn.005e5b90
add esp, 8
test eax, eax
sete bl
cmp dword [ebp - 0x10], esi
jb 0x4081c8
mov edx, dword [ebp - 0x24]
push edx
call fcn.005c0a50
add esp, 4
test bl, bl
je 0x40820b
mov ecx, 0x65d42af5
lea eax, [ebp - 8]
call fcn.0040e7a0
mov edi, str.RELMQ_
sub edi, 0x18e348e2
lea esi, [ebp - 0x28]
mov ebx, eax
call fcn.0040e800
mov edi, ebx
push 0
mov ebx, eax
call fcn.00406ef0
add esp, 4
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
push 0
call fcn.005ece6d
jmp 0x408271
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret