Function at 0x413540
Capabilities:
Access pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
jmp 0x4135ac
mov eax, 0x8f26a8
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4135b4
sub eax, edx
mov eax, 0
sete al
push ebx
push esi
push edi
cmp eax, 0x1e
jge 0x413b16
xor eax, eax
mov dword [0x8f26a8], eax
mov dword [0x8f26ac], eax
mov dword [0x8f26b0], eax
mov dword [0x8f26b4], eax
mov dword [0x8f26b8], eax
mov dword [0x8f26bc], eax
mov dword [0x8f26c0], eax
mov dword [0x8f26c4], eax
mov byte [0x8f26c8], al
jmp 0x413666
jmp 0x4136cc
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call sub.ntdll.dll_RtlImageNtHeader
mov edi, eax
jmp 0x413741
test edi, edi
je 0x413f91
jmp 0x4137af
movzx ecx, word [edi + 0x14]
lea ebx, [ecx + edi + 0x18]
jmp 0x41381d
xor edx, edx
xor esi, esi
cmp dx, word [edi + 6]
jae 0x413f91
jmp 0x413830
jmp 0x413896
mov edx, 0x3e
xor ecx, ecx
lea ecx, [ecx]
mov al, byte [ecx + 0x6ddfd4]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ebp + ecx - 6], al
jns 0x4138bd
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 5
jl 0x4138a0
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 0x4138f3
test al, al
je 0x4138ef
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x4138f3
add ecx, 2
add edx, 2
test al, al
jne 0x4138d3
xor eax, eax
jmp 0x4138f8
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 0x41391c
inc esi
cmp si, word [edi + 6]
jb 0x413830
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
jmp 0x413982
jmp 0x4139e8
jmp 0x413a4e
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 0x413ac4
mov ecx, dword [ecx + 8]
push ecx
push eax
lea edi, [ebp - 0x28]
call fcn.0041b770
mov esi, 0x10
add esp, 8
cmp dword [eax + 0x18], esi
jb 0x413ae3
mov ecx, dword [eax + 4]
jmp 0x413ae6
lea ecx, [eax + 4]
mov edx, 0x8f26a8
jmp 0x413af0
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x413af0
cmp dword [ebp - 0x10], esi
jb 0x413f91
mov edx, dword [ebp - 0x24]
push edx
call fcn.005b91d0
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
jmp 0x413b7c
jmp 0x413be2
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call sub.ntdll.dll_RtlImageNtHeader
mov edi, eax
jmp 0x413c58
test edi, edi
je 0x413f91
jmp 0x413cc6
movzx eax, word [edi + 0x14]
lea ebx, [eax + edi + 0x18]
jmp 0x413d34
xor ecx, ecx
xor esi, esi
cmp cx, word [edi + 6]
jae 0x413f91
jmp 0x413da8
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 0x413dcd
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 5
jl 0x413db0
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 0x413e03
test al, al
je 0x413dff
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x413e03
add ecx, 2
add edx, 2
test al, al
jne 0x413de3
xor eax, eax
jmp 0x413e08
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 0x413e2c
inc esi
cmp si, word [edi + 6]
jb 0x413d42
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 0x413ea2
mov ecx, dword [ecx + 8]
push ecx
push eax
lea edi, [ebp - 0x28]
call fcn.0041b770
mov esi, 0x10
add esp, 8
cmp dword [eax + 0x18], esi
jb 0x413ec1
mov eax, dword [eax + 4]
jmp 0x413ec4
add eax, 4
push eax
push 0x8f26a8
call fcn.005ddae0
add esp, 8
test eax, eax
sete bl
cmp dword [ebp - 0x10], esi
jb 0x413ee8
mov edx, dword [ebp - 0x24]
push edx
call fcn.005b91d0
add esp, 4
test bl, bl
je 0x413f2b
mov ecx, 0x65d5790d
lea eax, [ebp - 8]
call fcn.00419e30
mov edi, str.RELMQ_
sub edi, 0x18e348e2
lea esi, [ebp - 0x28]
mov ebx, eax
call fcn.00419e90
mov edi, ebx
push 0
mov ebx, eax
call fcn.00412f70
add esp, 4
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
push 0
call fcn.005e5500
jmp 0x413f91
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret