Function at 0x415260
Capabilities:
Access pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
jmp 0x4152cc
mov eax, 0x8f5854
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4152d4
sub eax, edx
mov eax, 0
sete al
push ebx
push esi
push edi
cmp eax, 0x1e
jge 0x415836
xor eax, eax
mov dword [0x8f5854], eax
mov dword [0x8f5858], eax
mov dword [0x8f585c], eax
mov dword [0x8f5860], eax
mov dword [0x8f5864], eax
mov dword [0x8f5868], eax
mov dword [0x8f586c], eax
mov dword [0x8f5870], eax
mov byte [0x8f5874], al
jmp 0x415386
jmp 0x4153ec
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call sub.ntdll.dll_RtlImageNtHeader
mov edi, eax
jmp 0x415461
test edi, edi
je 0x415cb1
jmp 0x4154cf
movzx ecx, word [edi + 0x14]
lea ebx, [ecx + edi + 0x18]
jmp 0x41553d
xor edx, edx
xor esi, esi
cmp dx, word [edi + 6]
jae 0x415cb1
jmp 0x415550
jmp 0x4155b6
mov edx, 0x3e
xor ecx, ecx
lea ecx, [ecx]
mov al, byte [ecx + 0x6e12b8]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ebp + ecx - 6], al
jns 0x4155dd
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 5
jl 0x4155c0
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 0x415613
test al, al
je 0x41560f
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x415613
add ecx, 2
add edx, 2
test al, al
jne 0x4155f3
xor eax, eax
jmp 0x415618
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 0x41563c
inc esi
cmp si, word [edi + 6]
jb 0x415550
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
jmp 0x4156a2
jmp 0x415708
jmp 0x41576e
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 0x4157e4
mov ecx, dword [ecx + 8]
push ecx
push eax
lea edi, [ebp - 0x28]
call fcn.0041ccf0
mov esi, 0x10
add esp, 8
cmp dword [eax + 0x18], esi
jb 0x415803
mov ecx, dword [eax + 4]
jmp 0x415806
lea ecx, [eax + 4]
mov edx, 0x8f5854
jmp 0x415810
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x415810
cmp dword [ebp - 0x10], esi
jb 0x415cb1
mov edx, dword [ebp - 0x24]
push edx
call fcn.005bb180
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
jmp 0x41589c
jmp 0x415902
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call sub.ntdll.dll_RtlImageNtHeader
mov edi, eax
jmp 0x415978
test edi, edi
je 0x415cb1
jmp 0x4159e6
movzx eax, word [edi + 0x14]
lea ebx, [eax + edi + 0x18]
jmp 0x415a54
xor ecx, ecx
xor esi, esi
cmp cx, word [edi + 6]
jae 0x415cb1
jmp 0x415ac8
mov edx, 0xfe
xor ecx, ecx
nop
mov al, byte [ecx + 0x6e12c0]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ebp + ecx - 6], al
jns 0x415aed
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 5
jl 0x415ad0
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 0x415b23
test al, al
je 0x415b1f
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x415b23
add ecx, 2
add edx, 2
test al, al
jne 0x415b03
xor eax, eax
jmp 0x415b28
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 0x415b4c
inc esi
cmp si, word [edi + 6]
jb 0x415a62
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 0x415bc2
mov ecx, dword [ecx + 8]
push ecx
push eax
lea edi, [ebp - 0x28]
call fcn.0041ccf0
mov esi, 0x10
add esp, 8
cmp dword [eax + 0x18], esi
jb 0x415be1
mov eax, dword [eax + 4]
jmp 0x415be4
add eax, 4
push eax
push 0x8f5854
call fcn.005dfac0
add esp, 8
test eax, eax
sete bl
cmp dword [ebp - 0x10], esi
jb 0x415c08
mov edx, dword [ebp - 0x24]
push edx
call fcn.005bb180
add esp, 4
test bl, bl
je 0x415c4b
mov ecx, 0x65d5abf1
lea eax, [ebp - 8]
call fcn.0041b3b0
mov edi, str.RELMQ_
sub edi, 0x18e348e2
lea esi, [ebp - 0x28]
mov ebx, eax
call fcn.0041b410
mov edi, ebx
push 0
mov ebx, eax
call fcn.00414c90
add esp, 4
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
push 0
call fcn.005e01d9
jmp 0x415cb1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret