joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43c58c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x1c
mov eax, 0x464995
call fcn.00464112
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x28]
mov esi, dword [ebp + 0xc]
and dword [ebp - 0x18], 0
and dword [ebp - 0x14], 0
push eax
call fcn.0040ad47
and dword [ebp - 4], 0
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x43c5bd
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.0040b54a
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, dword [ebp - 0x14]
xor ebx, ebx
cmp eax, 0xffffffff
setne bl
cmp ecx, 8
jb 0x43c5fd
lea ecx, [ecx*2 + 2]
push ecx
push dword [ebp - 0x28]
call fcn.004036dc
pop ecx
pop ecx
mov eax, ebx
call fcn.004640cd
ret 8

Function at 0x43ca20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
lea eax, [esi + 4]
push eax
xor eax, eax
push eax
push dword [ebp + 8]
push 0x43c9e0
push eax
push eax
call fcn.0044b24c
add esp, 0x18
mov dword [esi], eax
pop esi
pop ebp
ret 4

Function at 0x44e911
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0044e5c2

Function at 0x45c250
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x48e880]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov eax, 0xffff
push edi
mov edi, ecx
cmp ax, bx
jne 0x45c275
xor eax, eax
jmp 0x45c2d1
mov eax, dword [edi + 0x20]
push esi
mov ecx, dword [eax]
test ecx, ecx
je 0x45c2a2
mov edx, dword [edi + 0x30]
mov esi, dword [edx]
lea eax, [ecx + esi*2]
cmp ecx, eax
jae 0x45c2a2
lea ecx, [esi - 1]
mov dword [edx], ecx
mov edx, dword [edi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 2]
mov dword [edx], ecx
mov word [esi], bx
jmp 0x45c356
cmp dword [edi + 0x4c], 0
je 0x45c2cb
mov ecx, edi
call fcn.0045be94
mov eax, dword [edi + 0x38]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x45c2e1
push dword [edi + 0x4c]
push ebx
call fcn.0045b8ff
pop ecx
test al, al
movzx eax, bx
pop ecx
jne 0x45c2d0
mov eax, 0xffff
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00459996
leave
ret 4
mov word [ebp - 0x28], bx
mov eax, dword [eax]
mov esi, dword [eax + 0x1c]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 4]
mov ecx, esi
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x26]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [edi + 0x40]
push eax
call dword [0x46b4a4]
mov ecx, dword [ebp - 0x2c]
call esi
test eax, eax
js 0x45c2cb
cmp eax, 1
jle 0x45c329
cmp eax, 3
jne 0x45c2cb
push dword [edi + 0x4c]
push dword [ebp - 0x28]
jmp 0x45c2bd
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0x24]
sub esi, eax
je 0x45c346
push dword [edi + 0x4c]
push esi
push 1
push eax
call fcn.004413c7
add esp, 0x10
cmp esi, eax
jne 0x45c2cb
lea eax, [ebp - 0x28]
mov byte [edi + 0x3e], 1
cmp dword [ebp - 0x34], eax
je 0x45c2cb
mov ax, bx
jmp 0x45c2d0
Function at 0x401996
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [0x40c010]
test eax, eax
je 0x4019d5
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4019d5
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4019d5
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4019d5
cmp dword [ecx + 0x74], 0xe
jbe 0x4019d5
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x406b66
Capabilities:
Encode data using xor

Disassembly:
dec edi
inc edx
mov ch, 0xf5
frstor dword [eax - 0x26fae01b]
push ebp
wait
insb byte es:[edi], dx
fdivr qword [ebp + 0x2e4b072e]
xor ch, byte [edx + 0x15a175f]
push ss
invalid
jmp 0x6262854f
add eax, 0xb4ad3f61
in al, dx
cld
fstp xword [ebp - 0x34]
arpl di, bx
mov cl, 0x35
dec dword [ebx + 0x46e161d3]
loopne 0x406ad2
test eax, 0x1ee8dd3a
adc byte [ebx], 0xf5
mov esi, 0x954418a9
xlatb
popfd
jbe 0x406b0d
pop ebx
jmp [ebx - 0x61]
sub ecx, ebp
jecxz 0x406af1
int 0x3f
push ss
pop edx
pop edi
or eax, 0x621c01a2
or ch, byte [ebx + ebx - 0x3e]
bound ecx, qword [edx]
insb byte es:[edi], dx
sbb eax, edx
inc ebx
pushal
mov ebp, dword [ebx - 1]
popal
jno 0x406b84
jp 0x406bb1
je 0x406b1b
cmpsd dword [esi], dword es:[edi]
jmp 0x406b3c
das
xchg byte [ebp - 0x505cff75], ah
stosd dword es:[edi], eax
jg 0x406b4a
wait
mov edi, 0x383d9271
lds ebp, [ebx]
lea edx, [ebp + 0x536f1c02]
and ebx, eax
cmp ebx, dword [ecx + 0x2ebe690a]
inc edx
clc
loop 0x406b98
mov esi, 0xe2f8422e
push cs
and eax, dword [ebp - 0xb]
das
adc ebp, dword [0x4de66716]
mov ch, al
xchg edx, eax
mov dl, 0xea
xchg ecx, eax
lea ecx, [eax + 0x60]
dec ebx
or byte [esi], dh
mov ebx, 0x14734bf2
xor al, 0xf2
xchg ecx, eax
int1
call 0xb89c9156
jne 0x406bab
stc
cmpsb byte [esi], byte es:[edi]
mov edx, 0xf15b5a60
aaa
sar dword [edx - 0x49], 0x63
pop ss
arpl word [esi - 0x33af5368], ax
xor bh, bh
pop ss
scasd eax, dword es:[edi]
or eax, 0xce5e6ca9
insb byte es:[edi], dx
leave
xchg ebp, eax
invalid
Function at 0x40b319
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
xor edi, edi
push edi
call dword [0x44c0f8]
mov esi, eax
test esi, esi
jne 0x40b36d
call dword [0x44c0f4]
mov edi, eax
test edi, edi
jle 0x40b344
movzx edi, di
or edi, 0x80070000
test edi, edi
js 0x40b34b
mov edi, 0x80004005
push edi
push 0x140
push str.c:_agent_work21_s_src_burnengine_section.cpp
call fcn.004038fa
push str.Failed_to_get_module_handle_to_process.
push edi
call fcn.00440b5d
pop ecx
pop ecx
jmp 0x40b4ba
mov eax, 0x5a4d
cmp ax, word [esi]
je 0x40b396
mov esi, 0x8007000d
push esi
push 0x14a
push str.c:_agent_work21_s_src_burnengine_section.cpp
mov edi, esi
call fcn.004038fa
push str.Failed_to_find_valid_DOS_image_header_in_buffer.
push esi
jmp 0x40b361
mov ecx, dword [esi + 0x3c]
cmp dword [ecx + esi], 0x4550
je 0x40b3c0
mov esi, 0x8007000d
push esi
push 0x155
push str.c:_agent_work21_s_src_burnengine_section.cpp
mov edi, esi
call fcn.004038fa
push str.Failed_to_find_valid_NT_image_header_in_buffer.
jmp 0x40b393
movzx eax, word [ecx + esi + 0x14]
push ebx
add eax, ecx
lea ebx, [esi + 0x18]
push 8
add ebx, eax
push 0x450178
push ebx
call fcn.0042fc96
add esp, 0xc
test eax, eax
je 0x40b405
mov eax, dword [esi + 0x3c]
movzx ecx, word [eax + esi + 6]
xor eax, eax
inc eax
cmp eax, ecx
jae 0x40b42c
add ebx, 0x28
inc eax
cmp dword [ebx], 0x7869772e
jne 0x40b3ec
cmp dword [ebx + 4], 0x6e727562
jne 0x40b3ec
cmp dword [ebx + 0x10], 0x34
jae 0x40b44a
mov esi, 0x8007000d
push esi
push 0x17a
push str.c:_agent_work21_s_src_burnengine_section.cpp
mov edi, esi
call fcn.004038fa
push dword [ebx + 0x10]
push str.Failed_to_read_section_info__data_to_short:__u
jmp 0x40b474
mov esi, 0x8007000d
push esi
push 0x16e
push str.c:_agent_work21_s_src_burnengine_section.cpp
mov edi, esi
call fcn.004038fa
push str.Failed_to_find_Burn_section.
jmp 0x40b4b1
mov ebx, dword [ebx + 0xc]
add ebx, esi
cmp dword [ebx + 4], 2
je 0x40b47f
mov esi, 0x8007000d
push esi
push 0x184
push str.c:_agent_work21_s_src_burnengine_section.cpp
mov edi, esi
call fcn.004038fa
push dword [ebx + 4]
push str.Failed_to_read_section_info__unsupported_version:__08x
push esi
call fcn.00440b5d
add esp, 0xc
jmp 0x40b4b9
mov edx, dword [ebp + 8]
mov ecx, edi
mov eax, dword [edx + ecx*4]
cmp eax, dword [ebx + ecx*4 + 8]
jne 0x40b495
inc ecx
cmp ecx, 4
jne 0x40b484
jmp 0x40b4b9
mov esi, 0x8007000d
push esi
push 0x18a
push str.c:_agent_work21_s_src_burnengine_section.cpp
mov edi, esi
call fcn.004038fa
push str.Bundle_guid_didnt_match_the_guid_in_the_PE_Header_in_memory.
push esi
call fcn.00440b5d
pop ecx
pop ecx
pop ebx
mov eax, edi
pop edi
pop esi
pop ebp
ret 4
Function at 0x43b646
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x43b3c1
sub eax, eax
or eax, edx
sub eax, 0xa579dcf2
call fcn.0043b692
push 0x5c75360b
mov edx, dword [esp]
add esp, 4
sub esp, 4
mov dword [esp], eax
pop edx
inc eax
xor dword [ebx], esi
add edx, 0x25b88d9b
and eax, edx
or eax, eax
inc ebx
add edx, 0xc3982118
sub edx, eax
cmp ebx, edi
jne fcn.0043b646
add eax, 0x8cb376f5
ret
Function at 0x401025
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
push esi
mov esi, ecx
mov ecx, dword [ebp + 0xc]
mov dword [esi], eax
xor eax, eax
push edi
mov edi, dword [ebp + 0x18]
mov dword [esi + 8], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
lea eax, [ebp + 8]
push eax
push 0x40
push dword [ebp + 0x1c]
mov dword [esi + 0xc], edx
mov edx, dword [ebp + 0x14]
push edi
mov dword [esi + 4], ecx
mov dword [esi + 0x10], edx
call dword [ecx + 0x54]
test eax, eax
jne 0x40107d
mov dword [esi + 8], 9
jmp 0x401156
push ebx
mov ebx, dword [esi + 0x10]
cmp ebx, 0x40
jae 0x401092
mov dword [esi + 8], 1
jmp 0x401155
mov eax, dword [esi + 0xc]
mov ecx, 0x5a4d
mov dword [esi + 0x14], eax
cmp word [eax], cx
je 0x4010ae
mov dword [esi + 8], 2
jmp 0x401155
mov ecx, dword [eax + 0x3c]
lea edx, [ecx + 0xf8]
cmp ebx, edx
jae 0x4010c7
mov dword [esi + 8], 3
jmp 0x401155
add ecx, eax
mov dword [esi + 0x18], ecx
cmp dword [ecx], 0x4550
je 0x4010dd
mov dword [esi + 8], 4
jmp 0x401155
mov edx, dword [esi + 0x18]
mov ecx, edi
and ecx, 0xfff
sub edi, ecx
lea ecx, [edi + 0x1000]
mov dword [esi + 0x20], ecx
mov edx, dword [edx + 0x54]
add edx, dword [eax + 0x3c]
cmp ebx, edx
jae 0x401106
mov dword [esi + 8], 7
jmp 0x401155
push edx
push eax
push ecx
call section..text
mov eax, dword [esi + 0x18]
movzx ecx, word [eax + 0x14]
xor edx, edx
add esp, 0xc
xor ebx, ebx
lea ecx, [ecx + eax + 0x18]
cmp dx, word [eax + 6]
jae 0x401155
lea edi, [ecx + 0x10]
mov eax, dword [edi]
test eax, eax
je 0x401146
push eax
mov eax, dword [edi + 4]
add eax, dword [esi + 0xc]
push eax
mov eax, dword [edi - 4]
add eax, dword [esi + 0x20]
push eax
call section..text
add esp, 0xc
mov eax, dword [esi + 0x18]
movzx eax, word [eax + 6]
inc ebx
add edi, 0x28
cmp ebx, eax
jl 0x401129
pop ebx
pop edi
mov eax, esi
pop esi
pop ebp
ret 0x18

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
lea ecx, [ecx + eax + 0x78]
cmp dword [ecx + 4], 0
push ebx
push edi
jne 0x40119c
xor eax, eax
jmp 0x40120c
push esi
mov esi, dword [ecx]
add esi, eax
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x401209
cmp dword [esi + 0x14], 0
je 0x401209
mov edi, dword [esi + 0x20]
mov ebx, dword [esi + 0x24]
or dword [ebp - 8], 0xffffffff
add edi, eax
add ebx, eax
test ecx, ecx
je 0x401209
mov dword [ebp - 4], ecx
jmp 0x4011c8
mov eax, dword [ebp + 8]
mov ecx, dword [edi]
add ecx, eax
push ecx
push dword [ebp + 0xc]
call fcn.004018c0
pop ecx
pop ecx
test eax, eax
jne 0x4011e1
movzx eax, word [ebx]
mov dword [ebp - 8], eax
add edi, 4
add ebx, 2
dec dword [ebp - 4]
jne 0x4011c5
mov eax, dword [ebp - 8]
cmp eax, 0xffffffff
je 0x401209
cmp eax, dword [esi + 0x14]
jg 0x401209
mov ecx, dword [esi + 0x1c]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + ecx]
add eax, ecx
jmp 0x40120b
xor eax, eax
pop esi
pop edi
pop ebx
leave
ret 8
Function at 0x40195e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
push ebx
push esi
mov esi, ecx
and dword [esi + 0x30], 0
push edi
call fcn.00401825
mov eax, dword [eax + 0x30]
mov edi, dword [eax + 0xc]
add edi, 0xc
mov ebx, dword [edi]
jmp 0x4019a4
push 0xa
push 0xa
push 0x8152e0
push 0x3114b604
call fcn.004021c7
add esp, 0xc
push eax
push dword [ebx + 0x30]
call fcn.00401894
add esp, 0xc
test eax, eax
je 0x4019ad
mov ebx, dword [ebx]
cmp ebx, edi
jne 0x40197c
jmp 0x401a3f
mov ebx, dword [ebx + 0x18]
test ebx, ebx
je 0x401a3f
mov eax, dword [ebx + 0x3c]
mov edi, dword [eax + ebx + 0x78]
and dword [esp + 0xc], 0
add edi, ebx
mov eax, dword [edi + 0x1c]
add eax, ebx
push ebp
mov ebp, dword [edi + 0x20]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x24]
add eax, ebx
add ebp, ebx
cmp dword [edi + 0x18], 0
mov dword [esp + 0x18], eax
jbe 0x401a3b
mov eax, dword [esp + 0x10]
mov eax, dword [ebp + eax*4]
push 0x16
add eax, ebx
push 0x8152c8
push 0x40704011
mov dword [esp + 0x20], eax
call fcn.00402179
push eax
push dword [esp + 0x24]
call fcn.004018c0
add esp, 0x14
test eax, eax
je 0x401a23
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, dword [edi + 0x18]
jb 0x4019e4
jmp 0x401a3b
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
movzx eax, word [eax + ecx*2]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + eax*4]
add eax, ebx
mov dword [esi + 4], eax
mov dword [esi + 0x30], ebx
pop ebp
cmp dword [esi + 0x30], 0
je 0x401ba6
push 0xa
push 0x8152bc
push 0x29a1a909
call fcn.00402179
add esp, 0xc
push eax
push esi
mov ecx, esi
call fcn.00401936
push 0xc
push 0x8152ac
push 0x13cbcee9
call fcn.00402179
add esp, 0xc
push eax
lea eax, [esi + 8]
push eax
mov ecx, esi
call fcn.00401936
push 0x18
push 0x815290
push 0x17ce53be
call fcn.00402179
add esp, 0xc
push eax
lea eax, [esi + 0xc]
push eax
mov ecx, esi
call fcn.00401936
push 0xf
push 0x815280
push 0x26b30b69
call fcn.00402179
add esp, 0xc
push eax
lea eax, [esi + 0x10]
push eax
mov ecx, esi
call fcn.00401936
push 0x12
push 0x81526c
push 0x3d924530
call fcn.00402179
add esp, 0xc
push eax
lea eax, [esi + 0x14]
push eax
mov ecx, esi
call fcn.00401936
push 7
push 0x815264
push 0x2236409a
call fcn.00402179
add esp, 0xc
push eax
lea eax, [esi + 0x18]
push eax
mov ecx, esi
call fcn.00401936
push 0x14
push 0x81524c
push 0x149ccd04
call fcn.00402179
add esp, 0xc
push eax
lea eax, [esi + 0x1c]
push eax
mov ecx, esi
call fcn.00401936
push 0x11
push 0x815238
push 0x673ebfe9
call fcn.00402179
add esp, 0xc
push eax
lea eax, [esi + 0x20]
push eax
mov ecx, esi
call fcn.00401936
push 0x11
push 0x815224
push 0x68d29b96
call fcn.00402179
add esp, 0xc
push eax
lea eax, [esi + 0x24]
push eax
mov ecx, esi
call fcn.00401936
push 0x16
push 0x81520c
push 0x7db65c79
call fcn.00402179
add esp, 0xc
push eax
lea eax, [esi + 0x28]
push eax
mov ecx, esi
call fcn.00401936
push 0x13
push 0x8151f8
push 0x65fa79df
call fcn.00402179
add esp, 0xc
push eax
lea eax, [esi + 0x2c]
push eax
mov ecx, esi
call fcn.00401936
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x401c4d
Capabilities:
Encode data using xor

Disassembly:
push esi
mov eax, section..data
mov ecx, 0x25c3
mov esi, 0x1516c6
imul ecx, ecx, 0x19660d
add ecx, 0x3c6ef35f
mov edx, ecx
shr edx, 0xc
xor byte [eax], dl
inc eax
dec esi
jne 0x401c5d
pop esi
ret

Function at 0x401db9
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
and dword [ebp - 4], 0
push ebx
mov ebx, eax
push esi
mov esi, dword [ebx + 0x3c]
add esi, ebx
movzx eax, word [esi + 0x14]
push edi
lea edi, [eax + esi + 0x18]
xor eax, eax
cmp ax, word [esi + 6]
jae 0x401e00
push 7
push str..custom
push edi
call fcn.00401894
add esp, 0xc
test eax, eax
je 0x401e07
movzx eax, word [esi + 6]
inc dword [ebp - 4]
add edi, 0x28
cmp dword [ebp - 4], eax
jl 0x401ddd
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [edi + 0xc]
mov esi, dword [eax + ebx]
lea edi, [eax + ebx + 8]
mov ebx, dword [eax + ebx + 4]
push esi
call fcn.00402225
and dword [ebp - 8], 0
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 8]
push ecx
push 1
push 5
push edi
lea ecx, [ebp - 0xc]
push ecx
add edi, 5
push edi
lea ecx, [ebp - 0x10]
push ecx
push eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x18], 0x401c76
mov dword [ebp - 0x14], 0x401c81
call fcn.00403b6c
add esp, 0x28
test eax, eax
je 0x401e67
push dword [ebp - 4]
call fcn.0040223c
pop ecx
jmp 0x401e00
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov eax, dword [ebp - 4]
jmp 0x401e02

Function at 0x402179
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push ebx
mov ebx, dword [esp + 0x10]
push esi
xor esi, esi
test ebx, ebx
je 0x4021b8
push edi
mov edi, dword [esp + 0x14]
sub edi, 0x9676d8
imul edx, edx, 0x19660d
add edx, 0x3c6ef35f
mov eax, edx
shr eax, 0xc
xor al, byte [edi + esi + 0x9676d8]
inc esi
mov byte [esi + 0x9676d7], al
cmp esi, ebx
jb 0x402194
pop edi
pop esi
mov byte [ebx + 0x9676d8], 0
mov eax, 0x9676d8
pop ebx
ret

Function at 0x4021c7
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push esi
push edi
mov edi, dword [esp + 0x14]
xor esi, esi
test edi, edi
je 0x402205
mov eax, dword [esp + 0x10]
sub eax, 0x9676d8
push ebx
imul edx, edx, 0x19660d
add edx, 0x3c6ef35f
mov ebx, edx
shr ebx, 0xc
xor bl, byte [eax + esi + 0x9676d8]
inc esi
mov byte [esi + 0x9676d7], bl
cmp esi, edi
jb 0x4021e1
pop ebx
mov byte [edi + 0x9676d8], 0
mov byte [edi + 0x9676d9], 0
pop edi
mov eax, 0x9676d8
pop esi
ret
Function at 0x4022bc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
xor eax, eax
and edx, 7
cmp ecx, 5
jae 0x4022d5
leave
ret
add dword [ebp + 0x10], 5
or dword [ebp + 0xc], 0xffffffff
push ebx
push esi
mov esi, dword [ebp + 8]
lea ecx, [esi + ecx - 4]
push edi
mov dword [ebp - 4], ecx
lea edi, [eax + esi]
jmp 0x4022f8
mov al, byte [edi]
and al, 0xfe
cmp al, 0xe8
je 0x4022fd
inc edi
cmp edi, dword [ebp - 4]
jb 0x4022ef
mov eax, edi
sub eax, esi
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 4]
jae 0x4023f5
mov ecx, eax
sub ecx, dword [ebp + 0xc]
cmp ecx, 3
jbe 0x402354
xor edx, edx
mov cl, byte [edi + 4]
mov dword [ebp + 0xc], eax
test cl, cl
je 0x402328
cmp cl, 0xff
jne 0x40237f
movzx esi, cl
movzx ecx, byte [edi + 3]
shl esi, 8
or esi, ecx
movzx ecx, byte [edi + 2]
shl esi, 8
or esi, ecx
movzx ecx, byte [edi + 1]
shl esi, 8
or esi, ecx
cmp dword [ebp + 0x18], 0
je 0x40238d
lea ebx, [esi + eax]
add ebx, dword [ebp + 0x10]
jmp 0x402394
dec ecx
shl edx, cl
and edx, 7
je 0x402319
movzx ecx, byte [edx + 0x815380]
mov ebx, edi
sub ebx, ecx
cmp byte [edx + 0x815378], 0
mov cl, byte [ebx + 4]
je 0x40237c
test cl, cl
je 0x40237c
cmp cl, 0xff
jne 0x402319
mov dword [ebp + 0xc], eax
and edx, 3
add edx, edx
or edx, 1
inc eax
jmp 0x4022ea
sub esi, eax
sub esi, dword [ebp + 0x10]
mov ebx, esi
test edx, edx
je 0x4023c8
movzx esi, byte [edx + 0x815380]
push 0x18
shl esi, 3
pop ecx
sub ecx, esi
mov eax, ebx
shr eax, cl
test al, al
je 0x4023b3
cmp al, 0xff
jne 0x4023c5
mov eax, dword [ebp - 8]
push 0x20
pop ecx
sub ecx, esi
xor esi, esi
inc esi
shl esi, cl
dec esi
xor esi, ebx
jmp 0x402346
mov eax, dword [ebp - 8]
mov esi, dword [ebp + 8]
mov ecx, ebx
shr ecx, 0x18
and cl, 1
dec cl
not cl
mov byte [edi + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [edi + 3], cl
mov ecx, ebx
shr ecx, 8
mov byte [edi + 2], cl
mov byte [edi + 1], bl
add eax, 5
jmp 0x4022ea
mov esi, eax
sub esi, dword [ebp + 0xc]
push 3
lea ecx, [esi - 1]
shl edx, cl
pop edi
and edx, 7
cmp edi, esi
sbb ecx, ecx
not ecx
pop edi
and ecx, edx
mov edx, dword [ebp + 0x14]
pop esi
mov dword [edx], ecx
pop ebx
leave
ret
Function at 0x6f0800
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x245000]
push edi
or ebp, 0xffffffff
jmp 0x6f0822
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x6f0829
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6f0818
mov eax, 1
add ebx, ebx
jne 0x6f083b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x6f084c
jne 0x6f086b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6f086b
dec eax
add ebx, ebx
jne 0x6f0858
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x6f0830
add ebx, ebx
jne 0x6f0867
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x6f08bd
xor ecx, ecx
sub eax, 3
jb 0x6f0883
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x6f08f2
sar eax, 1
mov ebp, eax
jmp 0x6f088e
add ebx, ebx
jne 0x6f088e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6f085c
inc ecx
add ebx, ebx
jne 0x6f089c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6f085c
add ebx, ebx
jne 0x6f08a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x6f089e
jne 0x6f08ba
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x6f089e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x6f08dc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x6f08ce
jmp 0x6f081e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x6f08dc
add edi, ecx
jmp 0x6f081e
pop esi
mov edi, esi
mov ecx, 0x49a7
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x6f08fa
cmp byte [edi], 0x21
jne 0x6f08fa
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 0x6f08ff
lea edi, [esi + 0x2ed000]
mov eax, dword [edi]
or eax, eax
je 0x6f0977
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2f1c64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2f1d60]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x6f092c
mov ecx, edi
jns 0x6f095b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2f1d68]
or eax, eax
je 0x6f0971
mov dword [ebx], eax
add ebx, 4
jmp 0x6f0949
call dword [esi + 0x2f1d64]
mov ebp, dword [esi + 0x2f1d6c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x31f]
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 0x6f09ab
sub esp, 0xffffff80
jmp 0x401398
Function at 0x1000c482
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x1000c491
pop dword [ebp - 0x1c]
mov eax, 0x1076aea
add eax, 0xef959a7
sub dword [ebp - 0x1c], eax
push 0x40
push 0x1000
push 0x35886
push 0
mov eax, 0x7d64964e
add eax, 0x929d4b16
add eax, dword [ebp - 0x1c]
call dword [eax]
mov ecx, 0x39b1
mov edx, eax
mov ebx, 0x5ce7c0e0
sub ebx, 0x4ce382e0
add ebx, dword [ebp - 0x1c]
mov esi, 0xfc2ba628
xor dword [ebp - 8], ebx
mov edi, dword [ebx]
xor dword [ebp - 0x14], 0xf2f5ca53
xor edi, esi
add dword [ebp - 0x14], 0x5394e24c
mov dword [edx], edi
add edx, 0x75b160ac
add edx, 0x8a4e9f58
add ebx, 0xb2fb39e9
add ebx, 0x4d04c61b
loop 0x1000c4e4
add eax, 0xd997
mov ebx, eax
add eax, 0x922cb423
add eax, 0x6dd34be2
mov ecx, 0x10000000
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret

Function at 0x1000d4ea
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, 0x84
test esi, esi
lea edx, [esi + 0xc]
cmove edx, eax
push edx
mov eax, dword [edx]
call dword [eax + 0x18]
push 0x50
test esi, esi
lea eax, [esi - 0x28]
pop ecx
cmove eax, ecx
pop esi
cmp dword [eax], 0
je 0x1000d51b
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
ret 8

Function at 0x1000fd3c
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x11c
mov eax, dword [0x1003e4c0]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
mov ebx, dword [esp + 0x124]
push ebp
push esi
push edi
mov edi, ecx
xor ebp, ebp
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov eax, dword [edi + 4]
or eax, 0x2001f
push eax
push ebx
push dword [edi]
call fcn.1000c482
mov esi, eax
test esi, esi
jne 0x1000fdeb
lea eax, [esp + 0x20]
push eax
push ebp
push ebp
push ebp
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x3c]
push eax
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x1000fdc6
lea eax, [esp + 0x28]
push eax
call fcn.1000fd3c
mov esi, eax
test esi, esi
jne 0x1000fdeb
lea eax, [esp + 0x20]
xor ecx, ecx
push eax
push ecx
push ecx
push ecx
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x3c]
push eax
push ecx
push dword [esp + 0x30]
mov dword [esp + 0x30], 0x100
call ebp
lea ecx, [esp + 0x14]
test eax, eax
je 0x1000fda1
call fcn.1000ce21
push ebx
mov ecx, edi
call fcn.1000d242
mov esi, eax
lea ecx, [esp + 0x14]
call fcn.1000ce21
mov ecx, dword [esp + 0x128]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10019a3d
add esp, 0x11c
ret 4