joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7a1b246e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
mov al, byte [esi + 0xc]
mov cl, byte [esi]
mov dx, word [esi + 0xe]
push edi
mov byte [ebp - 1], al
push 0x20
pop eax
sub eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov al, 1
shl al, cl
dec al
mov byte [ebp - 3], al
mov ecx, dword [ebp - 8]
mov ebx, dword [ebp + 8]
shr ebx, cl
mov cl, byte [esi]
and bl, al
xor eax, eax
inc eax
shl eax, cl
mov byte [ebp - 2], bl
cmp dx, ax
jne 0x7a1b24c8
push edx
mov ecx, esi
call fcn.7a1b2363
mov ecx, esi
call fcn.7a1af177
movzx dx, bl
jmp 0x7a1b256a
mov cl, byte [ebp - 1]
movzx eax, bl
mov ebx, eax
movzx edi, dx
shl eax, cl
shl ebx, 0xc
add ebx, edi
xor eax, edi
lea edi, [esi + eax*2 + 0x4020]
mov ax, word [edi]
jmp 0x7a1b2502
movzx ecx, ax
mov ecx, dword [esi + ecx*4 + 0x20]
mov dword [ebp - 0xc], ecx
and ecx, 0xfffff
cmp ebx, ecx
je 0x7a1b2545
mov eax, dword [ebp - 0xc]
shr eax, 0x14
test ax, ax
jne 0x7a1b24e8
push edx
mov ecx, esi
call fcn.7a1b2363
xor eax, eax
mov ax, word [esi + 2]
cmp ax, 0xfff
jae 0x7a1b2549
movzx ecx, word [edi]
inc eax
movzx edx, ax
shl ecx, 0x14
add ecx, ebx
mov dword [esi + edx*4 + 0x20], ecx
mov word [edi], ax
mov cl, byte [esi + 1]
mov word [esi + 2], ax
xor eax, eax
inc eax
shl eax, cl
cmp edx, eax
jl 0x7a1b2565
inc cl
mov byte [esi + 1], cl
jmp 0x7a1b2565
mov edx, eax
jmp 0x7a1b256a
cmp byte [esi + 0xd], 0
jne 0x7a1b2565
mov cl, byte [esi]
xor eax, eax
inc eax
shl eax, cl
mov ecx, esi
push eax
call fcn.7a1b2363
mov ecx, esi
call fcn.7a1af177
movzx dx, byte [ebp - 2]
mov ecx, dword [ebp + 0xc]
sub dword [ebp + 0x10], ecx
cmp dword [ebp + 0x10], ecx
jl 0x7a1b2580
shl dword [ebp + 8], cl
mov al, byte [ebp - 3]
jmp 0x7a1b2497
pop edi
mov word [esi + 0xe], dx
pop esi
mov al, 1
pop ebx
leave
ret 0xc

Function at 0x7a1ba413
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
xor eax, eax
inc eax
xor ecx, ecx
cmp dword [esi + 0xc], ecx
push edi
mov edi, dword [esi + 0x20]
mov dword [ebp - 4], eax
mov dword [esi + 0x18], ebx
je 0x7a1ba438
mov dl, byte [esi + 0x1c]
mov byte [ebx], dl
cmp dword [ebp + 0x10], ecx
jne 0x7a1ba460
push 0xc
push esi
mov dx, 0x10
call fcn.7a1ba097
push 0xc
push esi
mov dx, 0x10
call fcn.7a1ba097
cmp dword [esi + 0xc], 0
je 0x7a1ba4b9
inc dword [esi + 0x18]
jmp 0x7a1ba4b9
cmp dword [esi + 0x14], eax
jne 0x7a1ba474
push 0xc
push esi
mov dx, 0x10
mov dword [esi + 0x14], ecx
call fcn.7a1ba097
mov edx, dword [esi + 4]
mov ecx, dword [ebp + 0x10]
mov eax, edi
call fcn.7a1b9f54
test eax, eax
jle 0x7a1ba49f
mov ebx, eax
push dword [ebp - 4]
movzx eax, word [edi]
push esi
call fcn.7a1ba0f2
xor dword [ebp - 4], 1
inc edi
inc edi
dec ebx
jne 0x7a1ba487
mov ebx, dword [ebp + 0xc]
push 0xc
push esi
mov dx, 0x10
call fcn.7a1ba097
cmp dword [esi + 0xc], 0
je 0x7a1ba4b9
mov eax, dword [esi + 0x18]
mov al, byte [eax]
mov byte [esi + 0x1c], al
mov eax, dword [esi + 0x18]
pop edi
pop esi
sub eax, ebx
pop ebx
leave
ret 0xc
Function at 0x7a1ba4c5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
mov edx, dword [esi + 4]
push edi
mov edi, dword [esi + 0x20]
xor ebx, ebx
mov eax, edi
inc ebx
call fcn.7a1b9f54
mov ecx, dword [ebp + 0xc]
and dword [esi + 0xc], 0
test eax, eax
mov dword [esi + 0x18], ecx
jle 0x7a1ba506
mov dword [ebp + 8], eax
movzx eax, word [edi]
push ebx
push esi
call fcn.7a1ba0f2
inc edi
inc edi
xor ebx, 1
dec dword [ebp + 8]
jne 0x7a1ba4f2
cmp dword [esi + 0xc], 0
je 0x7a1ba50f
inc dword [esi + 0x18]
mov eax, dword [esi + 0x18]
sub eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x7a1c857a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test edx, edx
mov eax, ecx
jne 0x7a1c8585
xor eax, eax
ret 4
push esi
mov esi, dword [esp + 8]
cmp esi, 8
not eax
jb 0x7a1c8676
push ebx
push edi
mov edi, esi
shr edi, 3
xor ecx, ecx
mov cl, byte [edx]
mov ebx, eax
shr ebx, 8
sub esi, 8
xor ecx, eax
and ecx, 0xff
mov eax, dword [ecx*4 + 0x7a204a60]
xor eax, ebx
xor ecx, ecx
mov cl, byte [edx + 1]
inc edx
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x7a204a60]
shr eax, 8
xor ecx, eax
xor eax, eax
mov al, byte [edx + 1]
inc edx
xor eax, ecx
and eax, 0xff
mov eax, dword [eax*4 + 0x7a204a60]
shr ecx, 8
xor eax, ecx
xor ecx, ecx
mov cl, byte [edx + 1]
inc edx
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x7a204a60]
shr eax, 8
xor ecx, eax
xor eax, eax
mov al, byte [edx + 1]
inc edx
xor eax, ecx
and eax, 0xff
mov eax, dword [eax*4 + 0x7a204a60]
shr ecx, 8
xor eax, ecx
xor ecx, ecx
mov cl, byte [edx + 1]
inc edx
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x7a204a60]
shr eax, 8
xor ecx, eax
xor eax, eax
mov al, byte [edx + 1]
inc edx
xor eax, ecx
and eax, 0xff
mov eax, dword [eax*4 + 0x7a204a60]
shr ecx, 8
xor eax, ecx
xor ecx, ecx
mov cl, byte [edx + 1]
inc edx
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x7a204a60]
shr eax, 8
xor eax, ecx
inc edx
dec edi
jne 0x7a1c859c
pop edi
pop ebx
test esi, esi
je 0x7a1c8696
xor ecx, ecx
mov cl, byte [edx]
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x7a204a60]
shr eax, 8
xor eax, ecx
inc edx
dec esi
jne 0x7a1c867a
not eax
pop esi
ret 4
Function at 0x7a1cbcd0
Capabilities:
Check for software breakpoints

Disassembly:
cmp dword [esi + 0x14], 0xcc
je 0x7a1cbcf3
mov eax, dword [esi + 0x1a8]
push esi
call dword [eax]
mov dword [esi + 0x8c], 0
mov dword [esi + 0x14], 0xcc
mov ecx, dword [esi + 0x1a8]
mov eax, dword [ecx + 8]
test eax, eax
je 0x7a1cbd19
mov eax, dword [esi]
push esi
mov dword [eax + 0x14], 0x30
call dword [eax]
mov edx, dword [esi + 0x1a8]
mov eax, dword [edx + 8]
test eax, eax
jne 0x7a1cbd00
mov edx, dword [esi + 0x44]
xor eax, eax
test edx, edx
setne al
add eax, 0xcd
mov dword [esi + 0x14], eax
mov eax, 1
ret

Function at 0x7a1cbdb9
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x7a1cbdeb
push esi
call fcn.7a1d0e56
mov eax, dword [esi + 0x40]
test eax, eax
je 0x7a1cbde4
mov dword [esi + 0x14], 0xcf
mov eax, 1
pop esi
ret 4
mov dword [esi + 0x14], 0xcb
mov ecx, dword [esi + 0x14]
cmp ecx, 0xcb
jne 0x7a1cbe6a
mov eax, dword [esi + 0x1b8]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x7a1cbe55
lea ebx, [ebx]
mov eax, dword [esi + 8]
test eax, eax
je 0x7a1cbe0f
push esi
call dword [eax]
mov ecx, dword [esi + 0x1b8]
push esi
call dword [ecx]
test eax, eax
je 0x7a1cbe4f
cmp eax, 2
je 0x7a1cbe55
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x7a1cbe05
cmp eax, 3
je 0x7a1cbe32
cmp eax, 1
jne 0x7a1cbe05
mov eax, dword [ecx + 4]
inc eax
mov edx, eax
mov dword [ecx + 4], eax
mov eax, dword [ecx + 8]
cmp edx, eax
jl 0x7a1cbe05
mov edx, dword [esi + 0x144]
add edx, eax
mov dword [ecx + 8], edx
jmp 0x7a1cbe05
xor eax, eax
pop esi
ret 4
mov eax, dword [esi + 0x94]
mov dword [esi + 0x9c], eax
call fcn.7a1cbcd0
pop esi
ret 4
cmp ecx, 0xcc
je 0x7a1cbe81
mov eax, dword [esi]
mov dword [eax + 0x14], 0x14
push esi
mov dword [eax + 0x18], ecx
call dword [eax]
call fcn.7a1cbcd0
pop esi
ret 4
Function at 0x7a1cfba9
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x10]
mov eax, dword [ebx + 8]
push esi
mov esi, dword [esp + 0x10]
push edi
xor edi, edi
xor edx, edx
cmp eax, edi
je 0x7a1cfbda
mov ecx, dword [esi + 0x28]
mov eax, 3
cmp ecx, eax
jne 0x7a1cfbda
cmp dword [esi + 0x24], eax
jne 0x7a1cfbda
mov dword [ebx + 0xc], 1
jmp 0x7a1cfbe0
mov eax, dword [esi + 0x24]
mov dword [ebx + 0xc], eax
mov eax, dword [ebx]
add eax, 0xfffffffe
cmp eax, 5
ja case.default.0x7a1cfbef
push ebp
jmp dword [eax*4 + 0x7a20745c]
mov edx, dword [ebx + 0xc]
mov ecx, dword [esi + 4]
shl edx, 2
push edx
push 1
push esi
call dword [ecx]
mov edx, eax
cmp dword [ebx + 0xc], edi
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], edi
jle 0x7a1cfcf8
mov dword [esp + 0x18], edi
mov edi, dword [esi + 0xdc]
mov ebp, dword [esp + 0x18]
mov eax, dword [edi + ebp + 0xc]
add edi, ebp
mov ebp, dword [esi + 4]
push eax
push eax
mov eax, dword [edi + 0x20]
push eax
call fcn.7a1d1e90
mov ecx, dword [edi + 8]
mov edx, dword [edi + 0x1c]
push eax
push ecx
push edx
call fcn.7a1d1e90
push eax
push 0
push 1
push esi
call dword [ebp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
mov dword [edx + ecx*4], eax
mov eax, dword [ebx + 0xc]
inc ecx
add edi, 0x54
cmp ecx, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edi
jl 0x7a1cfc1c
pop ebp
pop edi
pop esi
mov dword [ebx + 0x10], edx
pop ebx
pop ecx
ret 8
mov ecx, dword [ebx + 0xc]
mov eax, dword [esi + 4]
shl ecx, 2
push ecx
push 1
push esi
call dword [eax]
mov edx, eax
cmp dword [ebx + 0xc], edi
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], edi
jle 0x7a1cfcf8
mov dword [esp + 0x18], edi
mov edi, dword [esi + 0xdc]
mov ebp, dword [esp + 0x18]
mov eax, dword [edi + ebp + 8]
mov edx, dword [edi + ebp + 0x1c]
add edi, ebp
mov ebp, dword [esi + 4]
push eax
push eax
push edx
call fcn.7a1d1e90
mov ecx, dword [edi + 0x20]
push eax
mov eax, dword [edi + 0xc]
push eax
push ecx
call fcn.7a1d1e90
push eax
push 0
push 1
push esi
call dword [ebp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
mov dword [edx + ecx*4], eax
mov eax, dword [ebx + 0xc]
inc ecx
add edi, 0x54
cmp ecx, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edi
jl 0x7a1cfca0
pop ebp
pop edi
pop esi
mov dword [ebx + 0x10], edx
pop ebx
pop ecx
ret 8
Function at 0x7a1cfe28
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 8]
test eax, eax
push edi
mov edi, dword [esp + 0x10]
je 0x7a1cfe75
mov eax, dword [edi + 0x40]
cmp eax, 3
jne 0x7a1cfe46
cmp dword [edi + 0x3c], eax
je 0x7a1cfe51
cmp eax, 1
jne 0x7a1cfe69
cmp dword [edi + 0x3c], 1
jne 0x7a1cfe69
mov eax, dword [edi + 0x44]
push ebx
mov ebx, dword [eax + 0x10]
push 1
push edi
call fcn.7a1ce0cc
mov ecx, dword [edi + 0x44]
mov dword [ecx + 0x10], ebx
pop ebx
jmp 0x7a1cfe75
mov eax, dword [edi]
push edi
mov dword [eax + 0x14], 0x1b
call dword [eax]
mov eax, dword [esi]
dec eax
cmp eax, 6
ja case.default.0x7a1cfe7d
jmp dword [eax*4 + 0x7a207474]
mov ecx, edi
call fcn.7a1cfd03
jmp case.default.0x7a1cfe7d
mov ecx, edi
call fcn.7a1cfd03
mov eax, dword [esi + 4]
test eax, eax
je case.default.0x7a1cfe7d
call fcn.7a1cfda6
jmp 0x7a1cfec5
mov ecx, edi
call fcn.7a1cfd03
mov eax, dword [esi + 4]
test eax, eax
je case.default.0x7a1cfe7d
call fcn.7a1cfda6
jmp case.default.0x7a1cfe7d
mov ecx, edi
call fcn.7a1cfd03
mov eax, dword [esi + 4]
test eax, eax
je case.default.0x7a1cfe7d
call fcn.7a1cfde7
mov eax, dword [esi + 0x10]
test eax, eax
pop edi
pop esi
jne 0x7a1cfed7
mov eax, dword [esp + 0xc]
ret 0x10
Function at 0x42e000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x42e01e
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x402d53
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x403488
call fcn.0040323c
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, ebx
mov edx, 0x4043a0
mov ecx, esi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x402d98
cmp eax, esi
jne 0x402d8b
xor esi, esi
inc esi
mov edi, esi
jmp 0x402d9b
push 0x3e8
call dword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x402d6f
xor esi, esi
inc esi
cmp dword [0x4043a4], esi
jne 0x402dad
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x402de7
cmp dword [0x4043a4], ebx
jne 0x402de1
mov dword [0x4043a4], esi
push 0x4011a8
push 0x40119c
call fcn.00402ec2
pop ecx
pop ecx
test eax, eax
je 0x402de7
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x402ebc
mov dword [0x404034], esi
cmp dword [0x4043a4], esi
jne 0x402e0a
push 0x401198
push 0x401190
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x4043a4], 2
test edi, edi
jne 0x402e17
xor eax, eax
mov ecx, 0x4043a0
xchg dword [ecx], eax
cmp dword [0x4043a8], 0
je 0x402e43
push 0x4043a8
call fcn.00403090
pop ecx
test eax, eax
je 0x402e43
push ebx
push 2
push ebx
mov esi, dword [0x4043a8]
mov ecx, esi
call dword [0x40515c]
call esi
push dword [0x404040]
push dword [0x40403c]
push dword [0x404038]
call fcn.00401a43
add esp, 0xc
mov dword [0x404030], eax
cmp dword [0x404048], 0
jne 0x402ea1
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
push ecx
push eax
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x404034], 0
jne 0x402eb5
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x404030]
mov dword [ebp - 4], 0xfffffffe
call fcn.00403284
ret
call fcn.0057c000
jmp 0x402d53

Function at 0x402f94
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x4034a8
call fcn.0040340c
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x402ff4
cmp eax, 0xffffffff
je 0x402ff4
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x402fed
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x402fed
cmp edx, 0x10000000
jae 0x402fed
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x402fea
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
call fcn.00403451
ret 4

Function at 0x403040
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40307e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x403076
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x403080
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x403066
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x5cc370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x5cc38e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x5f5074
push ecx
mov edi, eax
call fcn.005e0198
mov esi, eax
add esp, 8
test esi, esi
jne 0x5cc3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.005e002e
push esi
call fcn.005dffb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x5cf850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0x5cf8ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0x5fa720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x5cf8ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.005e01e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0x5cf8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x5fa720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x5cf92a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.005e1082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x5cf957
mov word [eax], si
add eax, 2
push eax
call fcn.005e1030
add esp, 4
jmp 0x5cf959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x5cf8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x5cf8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x5cfff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x5d0080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0x5d00c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0x5f5458
push ecx
call fcn.005e01e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.005e01e1
add esp, 0x10
jmp 0x5d00d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.005e020b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.005dfdff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.005d0050
mov eax, dword [0x5fa728]
xor esi, esi
add esp, 0x14
lea edx, [esp + 0x20]
cmp eax, esi
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
jne 0x5d013b
push esi
call fcn.005cffb0
add esp, 4
mov dword [0x5fa728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0x5d014c
mov ecx, 1
mov edx, dword [esp + 0x458]
push esi
push esi
push 0x20
push ecx
mov ecx, dword [esp + 0x45c]
push ecx
push edx
lea ecx, [esp + 0x40]
push esi
push ecx
mov ecx, dword [esp + 0x468]
lea edx, [esp + 0x28]
or ecx, 0x100000
push edx
lea edx, [esp + 0x28]
push ecx
push edx
push eax
call fcn.005cfff0
mov ecx, dword [esp + 0x34]
add esp, 0x30
neg eax
sbb eax, eax
pop esi
not eax
and eax, ecx
add esp, 0x43c
ret

Function at 0x5d3440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0x5d34b7
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x5d348e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x5d3471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x5d347e
add edx, ecx
cmp ebx, edx
jb 0x5d348a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x5d3467
xor ecx, ecx
jmp 0x5d34a2
test eax, eax
jne 0x5d3492
xor ecx, ecx
jmp 0x5d34a2
mov ecx, dword [eax + 0x14]
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
sub ecx, esi
add ecx, ebx
add ecx, eax
mov edx, dword [esp + 0x18]
push edx
push 0
push 0
push ecx
push ecx
call fcn.005d33c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x5d38f0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebx
mov eax, dword [esp + 8]
push ebp
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x5d3921
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebp, eax
test ebp, ebp
jne 0x5d3946
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 4
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
jne 0x5d396e
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x18]
mov dword [ecx], esi
mov dword [ecx + 4], eax
cmp word [esi], 0x5a4d
jne 0x5d3993
push ecx
push esi
call fcn.005d34c0
add esp, 8
mov bl, al
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
ret
Function at 0x5d4c00
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
xor ecx, ecx
mov cx, word [eax + 0x14]
xor esi, esi
mov si, word [eax + 6]
push edi
xor edi, edi
lea ecx, [ecx + eax + 0x18]
test esi, esi
jbe 0x5d4c4a
mov ebx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
test eax, eax
jne 0x5d4c2b
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0xc]
cmp ebx, edx
jb 0x5d4c38
add edx, eax
cmp ebx, edx
jb 0x5d4c46
inc edi
add ecx, 0x28
cmp edi, esi
jb 0x5d4c21
pop edi
pop esi
xor eax, eax
pop ebx
ret
test ecx, ecx
jne 0x5d4c50
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov eax, dword [ecx + 0x14]
mov esi, dword [ecx + 0xc]
mov ecx, dword [esp + 0x18]
sub eax, esi
add eax, ebx
pop edi
pop esi
add eax, ecx
pop ebx
ret

Function at 0x5d4c70
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x5d4cb0
mov ebx, dword [esp + 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x5d4c9b
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x5d4ca8
add edx, ecx
cmp ebx, edx
jb 0x5d4cb2
inc edi
add eax, 0x28
cmp edi, esi
jb 0x5d4c91
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x5d4f60
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push ebp
push esi
push edi
mov edi, dword [esp + 0x224]
push 0
push 0
mov ebp, dword [esp + 0x228]
push 0
push 0
push edi
push 0
push 0
push 0
push 0
push 0
push 0
push ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [edi]
shl eax, 2
push eax
call fcn.005e1145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0x5d4ffb
push ebx
mov ebx, eax
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push 0
lea edx, [esp + 0x28]
push ecx
push edx
push esi
push ebp
mov dword [esp + 0x34], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x5d4fdd
lea eax, [esp + 0x18]
push eax
jmp 0x5d4fe2
push 0x5fa720
call fcn.005e0fd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0x5d4fb0
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0x5d4f40
push 4
push ecx
push eax
call fcn.005e143f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret