Function at 0x140005070
Capabilities:
Enumerate pe sections
Packed with generic packer
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x80
mov rax, qword [rcx + 0x18]
mov rbx, r9
mov rsi, r8
mov ebp, edx
mov rdi, rcx
test byte [rax + 4], 1
jne 0x140005353
mov r14, qword [rcx + 0x38]
test r14, r14
je 0x140034ba4
mov ecx, dword [r14 + 0x28]
mov eax, dword [rdi + 0xc]
and ecx, 0x80000000
or eax, ecx
mov dword [r14 + 0x28], eax
test r14, r14
je 0x140034bb5
mov ecx, dword [r14 + 0x28]
mov eax, ecx
and eax, 0x42000000
mov qword [r14], rdi
cmp eax, 0x40000000
je 0x140005324
mov rdi, qword [r14 + 0x88]
cmp ebp, 1
ja 0x140005353
mov qword [rsp + 0xb8], r12
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x70], r15
test rdi, rdi
jne 0x140005364
mov rcx, qword [r14 + 8]
mov rdx, qword [rcx + 0x40]
call fcn.1400259e8
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x140034bf1
mov edi, dword [rcx + 0x150]
xor r12b, r12b
mov r8d, dword [rcx + 0x154]
mov eax, edi
xor r11d, r11d
add rax, rdx
mov dword [rsp + 0x58], r8d
mov qword [rsp + 0x50], rax
mov rax, qword [r14 + 0xc0]
mov byte [rsp + 0xb0], r12b
mov byte [rsp + 0x5c], 0
mov ebp, dword [rax + 0x10]
mov r10d, dword [rax + 0x20]
add rbp, rdx
mov r8d, dword [rax + 0x60]
add r10, rdx
mov edi, dword [rax + 0x18]
mov qword [rsp + 0x48], r10
test r8d, r8d
jne 0x1400054c5
mov r15, r11
movzx eax, byte [rdi + rdx + 0x22]
movzx r8d, byte [rdi + rdx + 0x23]
shl eax, 8
or r8d, eax
mov dword [rsp + 0x34], r8d
lea r9d, [r8 - 1]
movzx r13d, byte [r10 + r9*4]
movzx eax, byte [r10 + r9*4 + 1]
shl r13w, 8
or r13w, ax
mov word [rsp + 0xc8], r13w
test r12b, r12b
jne 0x140034c17
mov ecx, dword [r14 + 0x28]
mov edx, dword [r14 + 0x74]
and ecx, 0x2000
test dl, 1
je 0x140034cff
mov r9d, dword [r14 + 0x7c]
test ecx, ecx
mov eax, 0x10
mov dword [rsp + 0x3c], r9d
cmovne r11w, ax
mov word [rsp + 0x30], r11w
test al, dl
je 0x1400054e4
test byte [rbp + 0x11], 0x14
je 0x1400054e4
mov rax, qword [r14 + 8]
mov r13d, 1
mov r12d, r13d
test dword [rax + 0x1e8], 0x10000000
jne 0x1400054ea
mov eax, dword [r14 + 0x50]
mov dword [rsp + 0x38], eax
test eax, eax
js 0x140034c4a
mov eax, dword [rsp + 0xd0]
test eax, eax
je 0x140005272
mov ebp, eax
mov edi, 0xffff
nop dword [rax]
mov eax, dword [r14 + 0x28]
and eax, 0x42000000
cmp eax, 0x40000000
je 0x140034c55
test r12, r12
je 0x1400052a3
test r15, r15
jne 0x140005296
mov word [rbx], di
xor r13d, r13d
add rsi, 4
add rbx, 2
sub rbp, 1
jne 0x140005240
mov eax, r13d
mov r13, qword [rsp + 0x78]
mov r12, qword [rsp + 0xb8]
mov r15, qword [rsp + 0x70]
add rsp, 0x80
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov eax, dword [rsi]
movzx ecx, byte [rax + r15 + 4]
cmp r9d, ecx
jl 0x14000525e
mov r9d, dword [rsi]
cmp r9d, r8d
jae 0x140034c9e
movzx edi, byte [r10 + r9*4]
movzx eax, byte [r10 + r9*4 + 1]
shl edi, 8
or edi, eax
cmp byte [rsp + 0xb0], 0
jne 0x140034c72
imul edi, dword [rsp + 0x38]
mov eax, 0xfff0
add edi, 0x8000
sar edi, 0xc
and di, ax
cmp dword [0x1400c1308], 0
movzx r9d, di
mov word [rbx], di
jne 0x140005307
mov rcx, qword [r14 + 8]
test dword [rcx + 0x1e8], 0x10000000
jne 0x140034cab
mov edi, 0xffff
test r9w, r9w
je 0x14000531a
add r9w, r11w
mov word [rbx], r9w
mov r9d, dword [rsp + 0x3c]
jmp 0x140005264
mov rax, qword [r14 + 8]
test dword [rax + 0x1e8], 0x10000000
jne 0x1400050d9
mov eax, dword [rsp + 0xd0]
test eax, eax
je 0x140005353
mov ecx, eax
mov rdi, rbx
mov eax, 0xffff
movzx eax, ax
rep stosw word [rdi], ax
xor eax, eax
add rsp, 0x80
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov r9d, dword [rsp + 0xd0]
lea rdx, [rsi + 0x18]
xor r10d, r10d
lea r11, [0x140000000]
bt ecx, 0xd
mov eax, 0x10
movzx r8d, r10w
cmovb r8w, ax
add rbx, 0xc
cmp r9d, 7
jbe 0x1400054b1
mov eax, dword [rdx + 4]
movzx ecx, byte [rax + rdi + 2]
test cl, cl
je 0x1400054f2
movzx eax, cx
shl ax, 4
add ax, r8w
mov word [rbx + 2], ax
mov eax, dword [rdx]
movzx ecx, byte [rax + rdi + 2]
test cl, cl
je 0x1400054fc
movzx eax, cx
shl ax, 4
add ax, r8w
mov word [rbx], ax
mov eax, dword [rdx - 4]
movzx ecx, byte [rax + rdi + 2]
test cl, cl
je 0x140005505
movzx eax, cx
shl ax, 4
add ax, r8w
mov word [rbx - 2], ax
mov eax, dword [rdx - 8]
movzx ecx, byte [rax + rdi + 2]
test cl, cl
je 0x140034bbf
movzx eax, cx
shl ax, 4
add ax, r8w
mov word [rbx - 4], ax
mov eax, dword [rdx - 0xc]
movzx ecx, byte [rax + rdi + 2]
test cl, cl
je 0x140034bc9
movzx eax, cx
shl ax, 4
add ax, r8w
mov word [rbx - 6], ax
mov eax, dword [rdx - 0x10]
movzx ecx, byte [rax + rdi + 2]
test cl, cl
je 0x140034bd3
movzx eax, cx
shl ax, 4
add ax, r8w
mov word [rbx - 8], ax
mov eax, dword [rdx - 0x14]
movzx ecx, byte [rax + rdi + 2]
test cl, cl
je 0x140034bdd
movzx eax, cx
shl ax, 4
add ax, r8w
mov word [rbx - 0xa], ax
mov eax, dword [rdx - 0x18]
movzx ecx, byte [rax + rdi + 2]
test cl, cl
je 0x140034be7
movzx eax, cx
shl ax, 4
add ax, r8w
mov word [rbx - 0xc], ax
cmp r9d, 8
jbe 0x1400054a7
add rbx, 0x10
add rdx, 0x20
add r9d, 0xfffffff8
jmp 0x140005390
mov eax, 1
jmp 0x140005275
mov eax, r9d
mov ecx, dword [r11 + rax*4 + 0x5510]
add rcx, r11
jmp rcx
mov ecx, dword [rcx + 0x280]
mov eax, dword [rax + 0x64]
add rcx, 4
cmp rcx, rax
ja 0x140005177
lea r15, [rdx + r8]
jmp 0x14000517a
mov r13d, 1
xor r12d, r12d
jmp 0x14000521b
mov word [rbx + 2], r10w
jmp case.0x1400054bf.7
mov word [rbx], r10w
jmp case.0x1400054bf.6
mov word [rbx - 2], r10w
jmp case.0x1400054bf.5
mov rax, qword [rsp + 0x88]
cmp qword [rsp + 0x80], rax
ja 0x140036e7e
jmp 0x140035b31
xor eax, eax
jmp 0x140035c1d
mov qword [rsp + 0x48], rax
mov rdi, qword [rsp + 0x30]
xor eax, eax
mov rcx, qword [rsp + 0x48]
rep stosb byte [rdi], al
jmp 0x1400327c6
test eax, eax
je 0x1400322ad
jmp 0x140032328
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x38]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jg 0x140033097
jmp 0x140034a24
xor eax, eax
jmp 0x140035c1d
cmp qword [rsp + 0x40], 0
je 0x1400339f2
jmp 0x1400345c2
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x38]
mov qword [rsp + 0xa0], rax
mov dword [rsp + 0x48], 0
jmp 0x140036809
cmp qword [rsp + 0x30], 0
je 0x140033879
jmp 0x14003603d
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x28]
add rax, 0x28
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x88]
mov rax, qword [rax]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x24], eax
jge 0x1400379d8
jmp 0x140035b63
mov ecx, 0xc1
call qword [0x1400acf41]
xor eax, eax
jmp 0x140032627
jmp 0x140032de8
cmp qword [rsp + 0x30], 0
je 0x140031a60
jmp 0x14003626d
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x38]
and eax, 1
test eax, eax
jne 0x140033b52
jmp 0x140032392
mov rax, qword [rsp + 0x70]
movsxd rax, dword [rax + 0x3c]
add rax, 0x108
mov rdx, rax
mov rcx, qword [rsp + 0x108]
call fcn.1400362fe
jmp 0x140034ea3
xor eax, eax
jmp 0x140035c1d
cmp qword [rsp + 0x30], 0
jne 0x140034978
jmp 0x140032cc7
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140032af5
jmp 0x14003761e
cmp qword [rsp + 0x40], 0
je 0x140035e3d
jmp 0x140034c0f
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x14]
mov rcx, qword [rsp + 0x28]
add eax, dword [rcx + 0x10]
mov eax, eax
mov edx, eax
mov rcx, qword [rsp + 0x78]
call fcn.1400362fe
jmp 0x140031bbf
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x50]
and al, 0x50
add eax, dword [rcx + 0x10]
mov eax, eax
mov qword [rsp + 0x80], rax
jmp 0x140031a45
xor eax, eax
jmp 0x140032627
lea rcx, [rsp + 0xb0]
call qword [0x1400adeca]
jmp 0x140037ac3
jmp 0x1400329a0
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx + 0xc]
or al, 0x48
mov edx, dword [rsp + 0x38]
add rdx, rcx
mov rcx, rdx
mov r9d, 4
mov r8d, 0x1000
mov edx, eax
call qword [0x1400af093]
mov qword [rsp + 0x30], rax
jmp 0x140032de8
mov ecx, 0xc1
call qword [0x1400ae276]
xor eax, eax
jmp 0x140032627
xor eax, eax
jmp 0x140032627
cmp qword [rsp + 0x40], rax
jne 0x1400360c1
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx + 0xc]
mov rdx, qword [rsp + 0x38]
add rdx, rcx
mov rcx, rdx
mov r9d, 4
mov r8d, 0x1000
mov edx, eax
mov rax, qword [rsp + 0x40]
call qword [rax]
mov qword [rsp + 0x30], rax
jmp 0x140032853
mov rax, qword [rsp + 0x70]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x100]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp dword [rax], 0x4550
jne 0x140034cbc
jmp 0x1400375c9
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx + 0x14]
mov rdx, qword [rsp + 0x70]
add rdx, rcx
mov rcx, rdx
jmp 0x140035a1f
jmp 0x1400327c6
invalid
add byte [rax], al
jo 0x140034ba7
test byte [rcx + rbp*8], ah
add dword [rax], eax
add byte [rcx - 0x3a], ah
test byte [rdx + rbp*8], ah
add dword [rax], eax
add byte [rcx + rbp*8 + 0x7b], dh
adc dword [rax], eax
add byte [rax - 0x77], cl
test byte [rax + rsi*8], ah
add al, byte [rax]
add byte [rax - 0x73], cl
mov word [rax + rbp*4], fs
add al, byte [rax]
invalid
jnp 0x140034c04
add byte [rax], al
add al, ch
invalid
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
and al, 0x28
mov ecx, dword [rcx + 0xc]
mov rdx, qword [rsp + 0x38]
add rdx, rcx
mov rcx, rdx
mov r9d, 4
mov r8d, 0x1000
mov rdx, rax
mov rax, qword [rsp + 0x40]
call qword [rax]
mov qword [rsp + 0x30], rax
jmp 0x140033891
invalid
enter 0xfffffffffffff0ff, 0xf
rol dword [rcx + 0x15c], 0xff
enter 0x48c3, 0xffffffffffffff8b
and al, 0x50
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x10], 0
je 0x1400351be
jmp 0x140033629
mov bl, 0xe9
invalid
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x30], rax
mov edx, 0x40
mov rcx, qword [rsp + 0x108]
call fcn.1400362fe
jmp 0x1400360d9
add dword [rax], eax
add al, ch
pop rax
invalid
mov ecx, 0xc1
call qword [0x1400af423]
xor eax, eax
jmp 0x140032627
add byte [rax], al
add byte [rax - 0x39], cl
test byte [rax + rcx*4], ah
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax - 0x39], cl
and al, 0x58
add byte [rax], al
add byte [rax], al
jmp 0x140034c87
test eax, eax
jne 0x14003477f
jmp 0x140033cea
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0xc]
add rax, qword [rsp + 0xa0]
mov qword [rsp + 0x80], rax
jmp 0x140031a45
mov rdi, qword [rsp + 0x30]
mov rsi, rcx
mov ecx, eax
rep movsb byte [rdi], byte [rsi]
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x30]
and rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x28]
mov dword [rcx + 8], eax
jmp 0x1400327c6
jmp 0x140037306
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x10], 0
jne 0x140033206
jmp 0x140031d63
add rsp, 0x58
pop rdi
pop rsi
ret
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0xb4]
mov edx, eax
mov rcx, qword [rsp + 0x88]
call fcn.140035e74
jmp 0x140033da2
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx + 0xc]
mov rdx, qword [rsp + 0x38]
add rdx, rcx
mov rcx, rdx
mov r9d, 4
mov r8d, 0x1000
mov rdx, rax
call qword [0x1400b15d4]
mov qword [rsp + 0x30], rax
jmp 0x1400329a0
lea rcx, [rsp + 0xb0]
mov rax, qword [rsp + 0x30]
call qword [rax + 0x60]
jmp 0x140037ac3
test eax, eax
jne 0x140032ea2
jmp 0x1400336ca
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x30]
and rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x28]
mov dword [rcx + 8], eax
movsxd rax, dword [rsp + 0x20]
jmp 0x140031a81
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x48], eax
jae 0x1400323c7
jmp 0x140034c62
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
jmp 0x140037306
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x50]
add rax, 0x28
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x48], eax
jb 0x140034c62
jmp 0x1400323c7
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 4]
cmp eax, 0x8664
jne 0x1400327fc
jmp 0x140032a88
mov ecx, 0xc1
call qword [0x1400b1dea]
xor eax, eax
jmp 0x140032627
mov eax, 1
jmp 0x140035c1d
mov eax, dword [rsp + 0xb4]
mov rcx, qword [rsp + 0x38]
mov ecx, dword [rcx + 0x50]
mov edx, eax
call fcn.140035e74
jmp 0x140035c44