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

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x90d3fd3
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x13f0
call fcn.090cde60
mov eax, dword [0x91154f8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x13e8], edi
mov esi, dword [ebx + 8]
push 0
mov dword [ebp - 0x13e4], esi
mov eax, dword [esi + 4]
add eax, 0xa0
push eax
call fcn.09005946
cmp dword [edi], 0
pop ecx
pop ecx
jne 0x90a278b
push 0
push 0x753
push 0xb71b
push dword [esi + 4]
call fcn.09005946
add esp, 0x10
mov dword [edi], eax
mov ecx, esi
mov dword [ebp - 0x13ec], esi
call fcn.09018f87
and dword [ebp - 4], 0
lea edi, [ebp - 0x48]
push 0xc
pop ecx
mov eax, ecx
mov dword [ebp - 0x13dc], 0x18
xor edx, edx
add ecx, 0x8000
div dword [ebp - 0x13dc]
mov word [edi], ax
lea edi, [edi + 2]
cmp ecx, 0xc800c
jb 0x90a27a2
and dword [ebp - 0x13e0], 0
lea eax, [ebp - 0x48]
mov dword [ebp - 0x13dc], eax
movzx eax, word [eax]
lea ecx, [ebp - 0x13cc]
xor edx, edx
mov dword [ebp - 0x13d8], eax
mov dword [ebp - 0x13d4], edx
movzx esi, word [ebp + edx*2 - 0x48]
xor edi, edi
mov edx, dword [ebp - 0x13d8]
mov ax, word [ebp + edi*2 - 0x48]
inc edi
mov word [ecx - 2], dx
mov word [ecx], si
mov word [ecx + 2], ax
add ecx, 8
cmp edi, 0x19
jb 0x90a27fe
mov edx, dword [ebp - 0x13d4]
inc edx
mov dword [ebp - 0x13d4], edx
cmp edx, 0x19
jb 0x90a27f1
mov ecx, dword [ebp - 0x13e4]
mov eax, 0x504c4142
push 0
push eax
push eax
push 0x271
lea eax, [ebp - 0x13d0]
push eax
push eax
call fcn.09005946
mov eax, dword [ebp - 0x13e8]
lea ecx, [ebp - 0x1400]
mov edi, dword [ebp - 0x13e0]
push 1
push 0x753
push edi
push dword [eax]
call fcn.09005946
lea ecx, [ebp - 0x1400]
mov byte [ebp - 4], 1
call fcn.090067dd
lea esi, [ebp - 0x13d0]
mov dword [ebp - 0x13d8], 0x19
lea edi, [eax + 2]
mov dword [ebp - 0x13d4], 0x19
mov eax, dword [esi]
mov edx, dword [esi + 4]
shr eax, 0x10
imul eax, eax, 0xff
movzx ecx, dx
add ecx, 0x40
shr ecx, 7
add eax, 0x4000
shr eax, 0xf
cmp ecx, 0xff
mov byte [edi - 2], al
movzx eax, cl
mov ecx, 0xff
cmova eax, ecx
shr edx, 0x10
add edx, 0x40
mov byte [edi - 1], al
shr edx, 7
cmp edx, ecx
movzx eax, dl
cmova eax, ecx
add esi, 8
mov byte [edi], al
add edi, 3
sub dword [ebp - 0x13d4], 1
jne 0x90a2897
sub dword [ebp - 0x13d8], 1
jne 0x90a288d
lea ecx, [ebp - 0x1400]
mov byte [ebp - 4], 0
call fcn.090068a7
mov edi, dword [ebp - 0x13e0]
mov eax, dword [ebp - 0x13dc]
add edi, 0x753
mov esi, dword [ebp - 0x13e4]
add eax, 2
mov dword [ebp - 0x13dc], eax
mov dword [ebp - 0x13e0], edi
cmp edi, 0xb71b
jb 0x90a27da
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.090190fb
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.09002290
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
Function at 0x90a2d18
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x90d3fd3
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x13f0
call fcn.090cde60
mov eax, dword [0x91154f8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x13e8], edi
mov esi, dword [ebx + 8]
push 0
mov dword [ebp - 0x13e4], esi
mov eax, dword [esi + 4]
add eax, 0xa0
push eax
call fcn.09005946
cmp dword [edi], 0
pop ecx
pop ecx
jne 0x90a2d9d
push 0
push 0x9c4
push 0xf424
push dword [esi + 4]
call fcn.09005946
add esp, 0x10
mov dword [edi], eax
mov ecx, esi
mov dword [ebp - 0x13ec], esi
call fcn.09018f87
and dword [ebp - 4], 0
lea edi, [ebp - 0x48]
push 0xc
pop ecx
mov eax, ecx
mov dword [ebp - 0x13dc], 0x18
xor edx, edx
add ecx, 0x8000
div dword [ebp - 0x13dc]
mov word [edi], ax
lea edi, [edi + 2]
cmp ecx, 0xc800c
jb 0x90a2db4
and dword [ebp - 0x13e0], 0
lea eax, [ebp - 0x48]
mov dword [ebp - 0x13dc], eax
movzx eax, word [eax]
lea ecx, [ebp - 0x13cc]
xor edx, edx
mov dword [ebp - 0x13d8], eax
mov dword [ebp - 0x13d4], edx
movzx esi, word [ebp + edx*2 - 0x48]
xor edi, edi
mov edx, dword [ebp - 0x13d8]
mov ax, word [ebp + edi*2 - 0x48]
inc edi
mov word [ecx - 2], dx
mov word [ecx], si
mov word [ecx + 2], ax
add ecx, 8
cmp edi, 0x19
jb 0x90a2e10
mov edx, dword [ebp - 0x13d4]
inc edx
mov dword [ebp - 0x13d4], edx
cmp edx, 0x19
jb 0x90a2e03
mov ecx, dword [ebp - 0x13e4]
lea eax, [ebp - 0x13d0]
push 0
push 0x434d594b
push 0x50524742
push 0x271
push eax
push eax
call fcn.09005946
mov eax, dword [ebp - 0x13e8]
lea ecx, [ebp - 0x1400]
mov edi, dword [ebp - 0x13e0]
push 1
push 0x9c4
push edi
push dword [eax]
call fcn.09005946
lea ecx, [ebp - 0x1400]
mov byte [ebp - 4], 1
call fcn.090067dd
lea esi, [ebp - 0x13d0]
mov dword [ebp - 0x13d8], 0x19
lea edi, [eax + 2]
mov dword [ebp - 0x13d4], 0x19
mov ecx, dword [esi]
mov edx, dword [esi + 4]
add esi, 8
movzx eax, cx
imul eax, eax, 0xff
shr ecx, 0x10
add eax, 0x4000
shr eax, 0xf
mov byte [edi - 2], al
imul eax, ecx, 0xff
mov ecx, 0x4000
add eax, ecx
shr eax, 0xf
mov byte [edi - 1], al
movzx eax, dx
imul eax, eax, 0xff
shr edx, 0x10
add eax, ecx
shr eax, 0xf
mov byte [edi], al
imul eax, edx, 0xff
add eax, ecx
shr eax, 0xf
mov byte [edi + 1], al
add edi, 4
sub dword [ebp - 0x13d4], 1
jne 0x90a2eac
sub dword [ebp - 0x13d8], 1
jne 0x90a2ea2
lea ecx, [ebp - 0x1400]
mov byte [ebp - 4], 0
call fcn.090068a7
mov edi, dword [ebp - 0x13e0]
mov eax, dword [ebp - 0x13dc]
add edi, 0x9c4
mov esi, dword [ebp - 0x13e4]
add eax, 2
mov dword [ebp - 0x13dc], eax
mov dword [ebp - 0x13e0], edi
cmp edi, 0xf424
jb 0x90a2dec
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.090190fb
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.09002290
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
Function at 0x90c4770
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x90d4bd2
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xb20
mov eax, dword [0x91154f8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 8]
mov esi, dword [ebx + 0x18]
push eax
mov dword [ebp - 0xb2c], eax
call fcn.09005946
add esp, 4
lea ecx, [ebp - 0xb24]
push eax
call fcn.09005946
push 0
push 0
push 0
push 1
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 1
push dword [ebp - 0xb24]
mov dword [ebp - 4], 0
push esi
call fcn.09009307
add esp, 0x3c
lea ecx, [ebp - 0xb20]
push eax
call fcn.09005946
mov byte [ebp - 4], 1
xor eax, eax
nop dword [eax]
nop dword [eax + eax]
mov byte [ebp + eax - 0x118], al
inc eax
cmp eax, 0x100
jb 0x90c4820
mov ecx, dword [ebp - 0xb20]
lea eax, [ebp - 0x918]
push 0
push 0x5058595a
push 0x67386b30
push 0x100
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.09005946
movzx ecx, word [ebp - 0x11c]
movzx edi, word [ebp - 0x914]
mov dword [ebp - 0xb28], ecx
cmp ecx, edi
jbe 0x90c499a
mov edx, ecx
sub edx, edi
xor esi, esi
mov dword [ebp - 0xb1c], edx
movzx eax, word [ebp + esi*8 - 0x914]
cmp eax, edi
ja 0x90c4891
xor eax, eax
jmp 0x90c48be
cmp eax, ecx
jb 0x90c489c
mov eax, 0x8000
jmp 0x90c48be
sub eax, edi
mov ecx, edx
shl eax, 0xf
xor edx, edx
shr ecx, 1
add eax, ecx
mov ecx, dword [ebp - 0xb28]
div dword [ebp - 0xb1c]
mov edx, dword [ebp - 0xb1c]
movzx eax, ax
mov word [ebp + esi*2 - 0xb18], ax
inc esi
cmp esi, 0x100
jb 0x90c4881
lea ecx, [ebp - 0xb20]
mov byte [ebp - 4], 0
call fcn.090198a7
lea ecx, [ebp - 0xb24]
mov dword [ebp - 4], 0xffffffff
call fcn.0901e58a
mov esi, dword [ebp - 0xb2c]
lea eax, [esi + 8]
push eax
push 0x280
mov dword [ebp - 0xb2c], eax
call fcn.09005946
add esp, 8
mov dword [ebp - 0xb28], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x90c492a
push esi
mov ecx, eax
call fcn.09005946
mov edx, eax
jmp 0x90c492c
xor edx, edx
movsd xmm1, qword [ebx + 0x10]
xorps xmm0, xmm0
mov eax, dword [ebx + 0xc]
mulsd xmm1, qword [0x90e7a70]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
comisd xmm0, xmm1
mov dword [edx + 0x70], ecx
mov dword [edx + 0x74], eax
jbe 0x90c495a
subsd xmm1, qword [0x90dd3d8]
jmp 0x90c4962
addsd xmm1, qword [0x90dd3d8]
cvttsd2si eax, xmm1
lea edi, [edx + 0x7a]
mov ecx, 0x80
lea esi, [ebp - 0xb18]
rep movsd dword es:[edi], dword [esi]
mov word [edx + 0x78], ax
mov eax, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.09002290
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x6250726f
call fcn.09005946
int3
Function at 0x442430
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x44243f
pop dword [ebp - 0x38]
mov eax, 0x633f7e24
sub eax, 0x62fb59e5
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0xf40a06f5
add dword [ebp - 0x48], 0x5a483e56
mov dword [ebp - 0x44], 0xadf6d3ad
add dword [ebp - 0x44], 0x843c7898
mov dword [ebp - 0x40], 0x9d8ed068
add dword [ebp - 0x40], 0xaebd73c6
mov dword [ebp - 0x3c], 0x199ff34
add dword [ebp - 0x3c], 0xfe6600cc
lea eax, [ebp - 0x48]
push eax
mov eax, 0x87380440
add eax, 0x79080e48
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0xa9f6d439
sub dword [ebp - 0x48], 0x35846ae3
mov dword [ebp - 0x44], 0x63e8d2f2
add dword [ebp - 0x44], 0xdd838e83
mov dword [ebp - 0x40], 0x899d4ad8
sub dword [ebp - 0x40], 0x262dde6c
mov dword [ebp - 0x3c], 0x23eda985
sub dword [ebp - 0x3c], 0x23eda985
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, 0x87e50b81
sub eax, 0x87a4f935
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x4d33f
push 0
call eax
mov ecx, 0xd43a7c5a
add ecx, 0x2bc5d920
xor ebx, ebx
add ebx, eax
mov edx, 0x6f7aa6d6
sub edx, 0x6f2d82d6
add edx, dword [ebp - 0x38]
mov edi, 0xe8f0d334
add edi, 0x33dd96a6
mov dword [ebp - 8], 0xea0d9064
mov esi, dword [edx]
xor dword [ebp - 0x10], edx
add esi, edi
add dword [ebp - 0x20], esi
mov dword [ebx], esi
add dword [ebp - 0x1c], edi
add ebx, 0x1e2cd778
sub ebx, 0x1e2cd774
add edx, 0xb4856996
add edx, 0x4b7a966e
loop 0x442563
add eax, 0x148bb
xor ebx, ebx
add ebx, eax
add eax, 0x12b60d22
sub eax, 0x12b60d1d
mov ecx, 0xf4657bc6
sub ecx, 0xf4257bc6
add ecx, dword [ebp - 0x38]
call ebx
leave
ret

Function at 0x4453d2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x499c0c]
jne 0x446479
repz ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x49c278], eax
mov dword [0x49c274], ecx
mov dword [0x49c270], edx
mov dword [0x49c26c], ebx
mov dword [0x49c268], esi
mov dword [0x49c264], edi
mov word [0x49c290], ss
mov word [0x49c284], cs
mov word [0x49c260], ds
mov word [0x49c25c], es
mov word [0x49c258], fs
mov word [0x49c254], gs
pushfd
pop dword [0x49c288]
mov eax, dword [ebp]
mov dword [0x49c27c], eax
mov eax, dword [ebp + 4]
mov dword [0x49c280], eax
lea eax, [ebp + 8]
mov dword [0x49c28c], eax
mov eax, dword [ebp - 0x320]
mov dword [0x49c1c8], 0x10001
mov eax, dword [0x49c280]
mov dword [0x49c17c], eax
mov dword [0x49c170], 0xc0000409
mov dword [0x49c174], 1
mov eax, dword [0x499c0c]
mov dword [ebp - 0x328], eax
mov eax, dword [0x499c10]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x49c1c0], eax
push 1
call fcn.0044d3e0
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x410f48
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x49c1c0], 0
jne 0x446565
push 1
call fcn.0044d3e0
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret
Function at 0x6d3ba534
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x6d3c1d84], 0
push esi
push edi
jne 0x6d3ba4aa
call fcn.6d3ba416
test eax, eax
je 0x6d3ba4ef
mov eax, dword [0x6d3c1d84]
cmp eax, 1
jne 0x6d3ba4cb
push 0xd
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x6d3ba4ef
jmp 0x6d3ba531
mov edi, dword [sym.imp.kernel32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x6d3ba531
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.kernel32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x6d3ba4f3
xor eax, eax
jmp 0x6d3ba531
mov eax, dword [esi]
push dword [0x6d3c1d84]
call edi
mov edi, eax
test edi, edi
je 0x6d3ba515
push 0x8000
push 0
push esi
call dword [sym.imp.kernel32.dll_VirtualFree]
mov eax, edi
jmp 0x6d3ba531
lea edi, [esi + 0xff0]
push esi
push dword [0x6d3c1d84]
call dword [sym.imp.kernel32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x6d3ba51b
mov eax, esi
pop edi
pop esi
ret
jmp 0x6d3ba496

Function at 0x6d3ba73d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6d3c1c4c]
jne 0x6d3ba747
repz ret
jmp fcn.6d3baee9

Function at 0x6d3bab3c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x6d3bab4b
pop dword [ebp - 0x30]
mov eax, 0x6d3bab4b
sub dword [ebp - 0x30], eax
push 0x40
push 0x1000
push 0x34de7
push 0
mov eax, 0x6622ce4f
sub eax, 0xf8e70d43
add eax, dword [ebp - 0x30]
call dword [eax]
mov ecx, 0x16cc576f
sub ecx, 0x16cc18c4
xor ebx, ebx
add ebx, eax
mov edx, 0xd04be838
add edx, 0x9cf0ddc8
add edx, dword [ebp - 0x30]
mov edi, 0x385b2fbf
sub edi, 0xae4b10ac
xor dword [ebp - 0x10], 0xc4de7c89
mov esi, dword [edx]
sub dword [ebp - 8], edx
add esi, edi
mov dword [ebx], esi
add ebx, 4
add edx, 0x2c4f1f38
sub edx, 0x2c4f1f34
loop 0x6d3baba7
add eax, 0xd69304dc
add eax, 0x296de8a3
xor ebx, ebx
add ebx, eax
add eax, 0xd650c72d
add eax, 0x29af38d8
mov ecx, 0xd1b12309
add ecx, 0x9b89dcf7
add ecx, dword [ebp - 0x30]
call ebx
leave
ret
Function at 0x401ea0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
lodsd eax, dword ds:[esi]
sbb al, 0x2f
shl dword [edi + 0x71], 1
adc bl, dl
fdiv qword [ecx]
call dword [eax - 0x1474cb75]
or dh, byte [ebx - 0x5a]
sub eax, 0xd72def0c
adc eax, dword [ecx - 0x6f29feb3]

Function at 0x408b40
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub dword [edi + 0x39], 0xffffff8b
dec ebp
or al, 0x56
mov eax, edi
adc byte [edi + 0x5558d00], bl
push 0
mov eax, dword [esi]
push edx
mov edx, dword [ebp + 8]
insd dword es:[edi], dx
inc ebp
pop ss
lea eax, [ebp - 4]
mov dword [ebp + 0x58], ecx
push eax
mov eax, dword [edx + 4]
lea ecx, [ebp - 0x10]
push esi
add dword [ecx + 0x50], edx
invalid

Function at 0x40b080
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp - 0x14]
push edi
mov esi, dword [edi + 0x10]
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x45c7c10b]
sbb eax, 0xd985
jne 0x40b10d
int 0x46
push cs
test al, al
stosd dword es:[edi], eax
push 0xffffffffffffff8b
mov eax, dword [ebp + ecx*4 + 0x4d]
or byte [edi], bl
add byte [ecx + 0x6a], dl
add byte [edx], ch
push 0x6f
push edx
mov edx, dword [0x40c04b]
test eax, eax
jne 0x40b0f2
mov esi, dword [0x40c087]
invalid
ret
mov edi, dword [ecx + 0x60b18508]
push cs
mov edx, dword [ebp + 0x14]
pop edi
pop esi
mov dword [edx], eax
mov eax, 0xc5000b
lds eax, [eax]
pop ebp
sbb edi, dword [ebx]
clc
jbe 0x40b103
or eax, 0xc468bf8
mov eax, dword [esi + 0xc]
test eax, eax
je 0x40b0d1
mov cl, byte [esi + 8]
test cl, cl
jne 0x40b137
mov ecx, edx
add byte [ecx + 0x488b0848], cl
push eax
mov edx, dword [esi + 0x54]
mov ecx, 0x97
call 0x40c810
adc bl, 0xc
mov dword [edx + 0xc], eax
push esp
inc esi
or al, 0x8b
push ebp
or al, 0xb0
cmp al, 0x4d
adc byte [eax - 0x75], dl
fiadd word [edx + 0x50525751]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test dword [ebx + 0x4a3307b6], eax
jmp 0x40b285
mov edi, dword [ebp + 0x75ff8510]
adc cl, byte [ebx + 0x558b14a5]
adc byte [ebx + 0x2a], bl
mov eax, 0x111ed
cwde
xchg ebx, eax
pop esi
pop ebp
ret
Function at 0x9f8fc0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x5cb000]
push edi
or ebp, 0xffffffff
jmp 0x9f8fe2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x9f8fe9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9f8fd8
mov eax, 1
add ebx, ebx
jne 0x9f8ffb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x9f8ff0
jne 0x9f900c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x9f8ff0
xor ecx, ecx
sub eax, 3
jb 0x9f9020
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x9f9092
mov ebp, eax
add ebx, ebx
jne 0x9f902b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x9f9038
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x9f905c
inc ecx
add ebx, ebx
jne 0x9f9048
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x9f903d
jne 0x9f9059
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x9f903d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x9f907c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x9f906d
jmp 0x9f8fde
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x9f907c
add edi, ecx
jmp 0x9f8fde
pop esi
mov edi, esi
mov ecx, 0x827
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x9f909a
cmp byte [edi], 9
jne 0x9f909a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x9f909f
lea edi, [esi + 0x5f6000]
mov eax, dword [edi]
or eax, eax
je 0x9f910e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5fc4b4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5fc520]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x9f90cc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x5fc528]
or eax, eax
je 0x9f9108
mov dword [ebx], eax
add ebx, 4
jmp 0x9f90e9
call dword [esi + 0x5fc524]
mov ebp, dword [esi + 0x5fc52c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x9f9142
sub esp, 0xffffff80
jmp 0x404de7
Function at 0x401240
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov dword [esp + 4], 0x2e
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcsrchr]
test eax, eax
mov ebx, eax
mov eax, 0x40d4f8
cmove ebx, eax
mov eax, ebx
call fcn.004011c0
test eax, eax
je 0x401280
mov ebx, dword [ebp - 4]
mov eax, 1
leave
ret
mov dword [esp + 4], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp], 0x80000000
call sub.advapi32.dll_RegQueryValueW
mov ebx, dword [ebp - 4]
sub esp, 0x10
test eax, eax
leave
sete al
movzx eax, al
add eax, eax
ret

Function at 0x4016e0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov eax, dword fs:[0x18]
mov ebp, esp
sub esp, 0x18
mov dword [esp + 8], 0x2b0
mov dword [esp + 4], 0
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call sub.kernel32.dll_HeapAlloc
mov dword [eax + 0x2a4], 0
sub esp, 0xc
mov dword [eax + 0x2a8], 0
mov dword [eax + 0x2ac], 0
leave
ret
Function at 0x401730
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4ac
movzx ecx, word [edx]
mov dword [ebp - 0x480], eax
mov esi, dword [eax + 0x14]
test cx, cx
je 0x401961
lea edi, [ebp - 0x470]
mov eax, edx
mov dword [ebp - 0x484], edi
mov edx, edi
lea esi, [esi]
add eax, 2
mov word [edx], cx
add edx, 2
movzx ecx, word [eax]
test cx, cx
jne 0x401768
xor eax, eax
mov dword [edx], 0x2a005c
mov word [edx + 4], ax
lea eax, [ebp - 0x268]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x484]
mov dword [ebp - 0x47c], edx
mov dword [esp], eax
call sub.kernel32.dll_FindFirstFileW
mov edx, dword [ebp - 0x47c]
sub esp, 8
cmp eax, 0xffffffff
mov dword [ebp - 0x488], eax
je 0x401955
mov dword [ebp - 0x490], edx
call fcn.004016e0
mov dword [ebp - 0x47c], eax
mov ebx, eax
lea eax, [esi + 1]
mov dword [ebp - 0x48c], eax
lea esi, [esi]
nop
mov eax, dword [ebp - 0x268]
lea edi, [ebx + 0x1c]
lea ecx, [ebx + 0x18]
and edi, 0xfffffffc
lea esi, [ebp - 0x268]
mov dword [ebx + 0x18], eax
sub ecx, edi
mov eax, dword [ebp - 0x1c]
sub esi, ecx
add ecx, 0x250
mov dword [ebx + 0x264], eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov dword [ebx + 4], 0
mov dword [ebx + 0xc], 0
mov eax, dword [ebp - 0x480]
mov edx, dword [ebp - 0x490]
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x2a0], 0
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x48c]
mov dword [ebx + 0x29c], 0
mov dword [ebx + 0x14], eax
xor eax, eax
lea esi, [esi]
nop
movzx ecx, word [ebx + eax + 0x44]
mov word [edx + eax + 2], cx
add eax, 2
test cx, cx
jne 0x401858
mov eax, dword [ebp - 0x484]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x2000000
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 7
mov dword [esp + 4], 0x80000000
mov dword [esp], eax
call sub.kernel32.dll_CreateFileW
sub esp, 0x1c
mov esi, eax
cmp eax, 0xffffffff
je 0x4018e0
lea eax, [ebx + 0x268]
mov dword [esp], esi
mov dword [esp + 4], eax
call sub.kernel32.dll_GetFileInformationByHandle
sub esp, 8
test eax, eax
je 0x4018d5
mov dword [ebx + 0x29c], 1
mov dword [esp], esi
call sub.kernel32.dll_CloseHandle
sub esp, 4
lea eax, [ebp - 0x268]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x488]
mov dword [esp], eax
call sub.kernel32.dll_FindNextFileW
sub esp, 8
test eax, eax
je 0x401920
call fcn.004016e0
mov edi, dword [ebp - 0x47c]
mov dword [ebx], eax
mov ebx, eax
test edi, edi
cmove edi, eax
mov dword [ebp - 0x47c], edi
jmp 0x4017e0
mov eax, dword [ebp - 0x488]
mov dword [ebx], 0
mov dword [esp], eax
call sub.kernel32.dll_FindClose
sub esp, 4
mov eax, dword [ebp - 0x480]
mov esi, dword [ebp - 0x47c]
mov dword [eax + 0x10], 1
mov dword [eax + 4], esi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [ebp - 0x47c], 0
jmp 0x401937
lea eax, [ebp - 0x470]
mov dword [ebp - 0x484], eax
mov edx, eax
jmp 0x401779