joyce8/EMBER2024-capa huggingface dataset:
Function at 0x56d7b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x110000]
push edi
jmp 0x56d7ca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x56d7d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x56d7c0
mov eax, 1
add ebx, ebx
jne 0x56d7e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x56d7f4
jne 0x56d813
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x56d813
dec eax
add ebx, ebx
jne 0x56d800
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x56d7d8
add ebx, ebx
jne 0x56d80f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x56d865
xor ecx, ecx
sub eax, 3
jb 0x56d82b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x56d89a
sar eax, 1
mov ebp, eax
jmp 0x56d836
add ebx, ebx
jne 0x56d836
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x56d804
inc ecx
add ebx, ebx
jne 0x56d844
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x56d804
add ebx, ebx
jne 0x56d851
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x56d846
jne 0x56d862
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x56d846
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x56d884
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x56d876
jmp 0x56d7c6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x56d884
add edi, ecx
jmp 0x56d7c6
pop esi
mov edi, esi
mov ecx, 0x40f0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x56d8a2
cmp byte [edi], 0x11
jne 0x56d8a2
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 0x56d8a7
lea edi, [esi + 0x166000]
mov eax, dword [edi]
or eax, eax
je 0x56d91f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1f5b08]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1f5c84]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x56d8d4
mov ecx, edi
jns 0x56d903
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 + 0x1f5c88]
or eax, eax
je 0x56d919
mov dword [ebx], eax
add ebx, 4
jmp 0x56d8f1
call dword [esi + 0x1f5c98]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x56d950
cmp al, 0xef
ja 0x56d943
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x56d925
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x56d932
mov ebp, dword [esi + 0x1f5c8c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x56d984
sub esp, 0xffffff80
jmp 0x420577
Function at 0x433004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
cmp eax, 0
nop
nop
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x14f245f0
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x1ac845f4
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x4065c3
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x4065e7
xor eax, eax
test eax, eax
je 0x4065f9
cmp byte [ebp + eax - 0x121], 0x5c
je 0x4065f9
xor ecx, ecx
jmp 0x4065fc
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x40a014]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

Function at 0x4066e8
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4232e4], 0
push esi
jne 0x40671f
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4066f9
mov dword [ecx*4 + 0x4232e0], eax
inc ecx
cmp ecx, 0x100
jl 0x4066f4
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406750
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4232e0]
xor eax, esi
inc ecx
dec edx
jne 0x406732
pop edi
not eax
pop esi
ret 0xc

Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x28fb4bfd
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
mov ecx, 0x685a59c2
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41b004]
jne 0x40100a
repz ret
jmp fcn.00401912

Function at 0x4077ae
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040263b
and dword [ebp - 4], 0
cmp dword [0x41d284], 0
mov ebx, eax
jne 0x40785f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x407910
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x407910
push eax
call fcn.004025c9
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x41d284], eax
call esi
push eax
call fcn.004025c9
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x41d288], eax
call esi
push eax
call fcn.004025c9
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x41d28c], eax
call esi
push eax
call fcn.004025c9
pop ecx
mov dword [0x41d294], eax
test eax, eax
je 0x40785f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004025c9
pop ecx
mov dword [0x41d290], eax
mov eax, dword [0x41d290]
cmp eax, ebx
je 0x4078b7
cmp dword [0x41d294], ebx
je 0x4078b7
push eax
call fcn.00402644
push dword [0x41d294]
mov esi, eax
call fcn.00402644
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4078b7
test edi, edi
je 0x4078b7
call esi
test eax, eax
je 0x4078ae
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4078ae
test byte [ebp - 0xc], 1
jne 0x4078b7
or dword [ebp + 0x10], 0x200000
jmp 0x4078f0
mov eax, dword [0x41d288]
cmp eax, ebx
je 0x4078f0
push eax
call fcn.00402644
pop ecx
test eax, eax
je 0x4078f0
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4078f0
mov eax, dword [0x41d28c]
cmp eax, ebx
je 0x4078f0
push eax
call fcn.00402644
pop ecx
test eax, eax
je 0x4078f0
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x41d284]
call fcn.00402644
pop ecx
test eax, eax
je 0x407910
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x407912
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4176da
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x41b004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
test ebx, ebx
jle 0x417737
and dword [ebp - 0x408], 0
lea ecx, [ebp - 0x408]
call fcn.004176d2
mov al, byte [ebp - 0x408]
xor byte [edi + esi], al
cmp ebx, 0xf
jne 0x417732
lea eax, [ebp - 0x40c]
push eax
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SleepEx]
inc esi
cmp esi, ebx
jl 0x4176f4
pop esi
cmp ebx, 0x2d
jne 0x41774e
or dword [0x27053bc], 0xffffffff
mov dword [0x27053b8], 0xa62e7790
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
leave
ret
Function at 0x409849
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
push dword [esi]
push 1
push dword [esi + 8]
push dword [ebp + 8]
call fcn.004310f0
mov edi, dword [esi + 8]
mov ecx, eax
add esp, 0x10
mov eax, edi
cmp ecx, 1
cdq
sete bl
idiv dword [esi + 0x18]
mov byte [ebp - 1], bl
mov dword [esi + 0x1c], eax
cmp ecx, 1
jne 0x4099ab
add dword [esi + 0x14], edi
push 0xffffffffffffffff
push eax
mov eax, dword [esi + 0x24]
push 0x18
push ecx
mov ecx, esp
push ecx
mov dword [ecx], eax
mov eax, esp
mov dword [eax], str.read
lea eax, [esi + 0x20]
push eax
call fcn.00407f63
mov edx, dword [esi + 0x18]
xor eax, eax
mov edi, dword [ebp + 8]
mov ecx, eax
mov dword [ebp - 8], eax
add esp, 0x18
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x10], edx
test eax, eax
je 0x409971
mov ebx, edx
jmp 0x4098d0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0xc], eax
cmp edx, 1
jne 0x4098df
xor edx, edx
cmp byte [edi], dl
jmp 0x4098e6
xor eax, eax
xor edx, edx
cmp word [edi], ax
sete dl
mov eax, ebx
test edx, edx
je 0x40991b
test ecx, ecx
je 0x40990f
cmp edi, ecx
je 0x40990f
imul ebx, dword [ebp - 8]
mov eax, edi
sub eax, ecx
push eax
push ecx
sub ecx, ebx
push ecx
call fcn.0042b650
mov eax, dword [esi + 0x18]
add esp, 0xc
mov edx, dword [ebp - 8]
lea ecx, [eax + edi]
inc edx
mov dword [ebp - 8], edx
jmp 0x40991e
mov edx, dword [ebp - 8]
add edi, eax
mov ebx, eax
cmp dword [ebp - 0xc], 0
jne 0x4098ca
test ecx, ecx
je 0x409942
cmp edi, ecx
je 0x409942
sub edi, ecx
imul eax, edx
push edi
push ecx
sub ecx, eax
push ecx
call fcn.0042b650
add esp, 0xc
mov ebx, dword [ebp - 8]
lea edi, [esi + 0x20]
test ebx, ebx
je 0x40996c
push 0xffffffffffffffff
push ebx
push 1
push ecx
mov eax, esp
push ecx
and dword [eax], 0
mov eax, esp
push edi
mov dword [eax], str.nulls_removed
call fcn.00407f63
add esp, 0x18
sub dword [esi + 0x1c], ebx
mov bl, byte [ebp - 1]
jmp 0x409974
lea edi, [esi + 0x20]
cmp dword [esi + 0x18], 1
jle 0x4099ab
test byte [esi + 4], 0x80
je 0x4099ab
push dword [esi + 0x1c]
push dword [ebp + 8]
call fcn.004087d8
pop ecx
pop ecx
push 0xffffffffffffffff
xor ecx, ecx
push 0xffffffffffffffff
push ecx
push ecx
mov eax, esp
push ecx
mov dword [eax], ecx
mov eax, esp
push edi
mov dword [eax], 0x449e88
call fcn.00407f63
add esp, 0x18
test bl, bl
jne 0x4099b6
mov ecx, esi
call fcn.0040a1e0
pop edi
pop esi
mov al, bl
pop ebx
leave
ret 4
Function at 0x409e28
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
imul eax, edx
cmp dword [ebp + 0xc], 0
mov dword [esi + 8], eax
mov eax, dword [ebp + 8]
mov edi, eax
cmovne edi, dword [ebp + 0xc]
and dword [ebp + 0xc], 0
test byte [esi + 4], 0x80
je 0x409eb3
test eax, eax
jne 0x409e89
xor ecx, ecx
mov eax, edx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041143a
mov ecx, dword [esi + 0x1c]
mov ebx, eax
add ecx, ecx
mov dword [ebp + 0xc], ebx
push ecx
push edi
push ebx
call fcn.0042b0d0
mov edx, dword [esi + 0x1c]
add esp, 0x10
mov eax, ebx
mov edi, ebx
push edx
push eax
call fcn.004087d8
pop ecx
pop ecx
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push ecx
mov eax, esp
push ecx
and dword [eax], 0
mov eax, esp
mov dword [eax], 0x449e88
lea eax, [esi + 0x20]
push eax
call fcn.00407f63
add esp, 0x18
push dword [esi]
push 1
push dword [esi + 8]
push edi
call fcn.00431d2d
add esp, 0x10
lea ebx, [eax - 1]
mov eax, dword [ebp + 0xc]
neg ebx
sbb bl, bl
inc bl
test eax, eax
je 0x409eda
push eax
call fcn.00411435
pop ecx
test bl, bl
je 0x409f0a
mov eax, dword [esi + 8]
add dword [esi + 0x14], eax
mov eax, dword [esi + 0x24]
push 0xffffffffffffffff
push dword [esi + 0x1c]
push 0x18
push ecx
mov ecx, esp
push ecx
mov dword [ecx], eax
mov eax, esp
mov dword [eax], str.write
lea eax, [esi + 0x20]
push eax
call fcn.00407f63
add esp, 0x18
jmp 0x409f11
mov ecx, esi
call fcn.0040a1e0
pop edi
pop esi
mov al, bl
pop ebx
pop ebp
ret 8
Function at 0x40b9cf
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
cmp dword [ebx + 0x230], 0
jne 0x40ba38
push 4
push str.Built_with_Vbsedit
push str.This_program_was_built_with_the_evaluation_version_of_Vbsedit._r_n_r_nThe_registered_version_doesnt_include_this_message._r_n_r_nWould_you_like_to_visit_our_website_
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x40ba38
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0xa
push 0x44581c
push 0
push str.https:__www.vbsedit.com
push str.open
push 0
call esi
cmp eax, 0x20
jae 0x40ba38
push 0xa
push 0x44581c
push str.https:__www.vbsedit.com
push str.iexplore.exe
push str.open
push 0
call esi
mov dword [edi + 0xc], ebx
mov ecx, edi
push dword [ebx + 0x22c]
push dword [ebx + 0x224]
push 0
call fcn.0040b6d1
push 0x450d5c
mov ecx, ebx
call fcn.0041a51b
push eax
push ecx
mov ecx, esp
push str.WScript
call fcn.0040d113
mov ecx, edi
call fcn.0040b5bb
mov eax, dword [ebx + 0x22c]
cmp eax, 1
jne 0x40baa7
mov eax, dword [ebx + 0x238]
push ecx
sub eax, 0x10
mov esi, esp
push eax
mov dword [ebp + 8], esi
call fcn.004022e8
pop ecx
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.0040bafa
mov ecx, edi
call fcn.0040c860
jmp 0x40baf1
cmp eax, 2
jne 0x40bad7
mov eax, dword [ebx + 0x238]
push ecx
sub eax, 0x10
mov esi, esp
push eax
mov dword [ebp + 8], esi
call fcn.004022e8
pop ecx
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.0040bbec
mov ecx, edi
call fcn.0040c8a0
jmp 0x40baf1
cmp eax, 3
jne 0x40baf1
lea eax, [ebx + 0x238]
mov ecx, edi
push eax
call fcn.0040bcde
mov ecx, edi
call fcn.0040c8e0
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 4
Function at 0x40dcc8
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x4439bf
call fcn.00428c84
sub esp, 0xc
push ebx
push esi
push dword [ebp + 8]
mov ebx, ecx
lea ecx, [ebp + 8]
mov dword [ebp - 0x10], ebx
call fcn.00401621
push dword [ebx + 0x20]
and dword [ebp - 4], 0
mov esi, dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
call esi
cmp dword [ebx + 0x24], 0
je 0x40ddc2
push dword [ebx + 0x20]
call dword [sym.imp.KERNEL32.dll_GetFileType]
test al, 1
jne 0x40dda2
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xor eax, eax
push eax
push eax
push eax
push eax
push 0xffffffffffffffff
push dword [ebp + 8]
push eax
push 0xfde9
call edi
mov esi, eax
push esi
call fcn.0041143a
push esi
mov ebx, eax
push 0
push ebx
call fcn.0042bbd0
add esp, 0x10
xor eax, eax
push eax
push eax
push esi
push ebx
push 0xffffffffffffffff
push dword [ebp + 8]
push eax
push 0xfde9
call edi
mov byte [ebx + esi - 1], 0
call dword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
mov esi, dword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov edi, eax
push 0xfde9
call esi
push 0
lea eax, [ebp - 0x14]
push eax
push ebx
call fcn.00432ae0
pop ecx
push eax
mov eax, dword [ebp - 0x10]
push ebx
push dword [eax + 0x20]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x10]
push dword [eax + 0x20]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push edi
call esi
push ebx
call fcn.00411435
pop ecx
pop edi
jmp 0x40ddf3
push 0
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
push dword [ebx + 0x20]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebx + 0x20]
call esi
jmp 0x40ddf3
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.0040d0b5
push 0
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
push dword [eax - 0xc]
push eax
push dword [ebx + 0x20]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebx + 0x20]
call esi
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00401b78
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00401b78
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x40ec60
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
inc esi
push esi
call fcn.0041143a
push esi
mov edi, eax
push 0
push edi
mov dword [ebp - 4], edi
call fcn.0042bbd0
add esp, 0x10
mov ecx, ebx
push dword [ebp + 0x10]
call fcn.0040ebef
xor eax, eax
mov dh, al
cmp dword [ebp + 0xc], eax
jbe 0x40ece6
sub dword [ebp + 8], edi
mov dword [ebp + 0x10], edi
mov edi, dword [ebp + 8]
inc al
movzx esi, al
mov dword [ebp + 8], eax
mov dl, byte [esi + ebx + 0x20]
add dh, dl
movzx ecx, dh
mov al, byte [ecx + ebx + 0x20]
mov byte [esi + ebx + 0x20], al
mov byte [ecx + ebx + 0x20], dl
movzx ecx, byte [esi + ebx + 0x20]
movzx eax, dl
add ecx, eax
movzx eax, cl
mov ecx, dword [ebp + 0x10]
mov al, byte [eax + ebx + 0x20]
xor al, byte [edi + ecx]
mov byte [ecx], al
inc ecx
sub dword [ebp + 0xc], 1
mov eax, dword [ebp + 8]
mov dword [ebp + 0x10], ecx
jne 0x40eca0
mov edi, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x40f790
Capabilities:
Terminate process

Disassembly:
mov eax, 0x443c15
call fcn.00428c84
sub esp, 0xc
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [ebp - 0x14]
push edi
xor ebx, ebx
mov edi, ecx
push ebx
push ebx
push eax
push 0x400
call esi
push eax
push ebx
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
lea ecx, [ebp - 0x10]
call fcn.00401691
push dword [ebp - 0x14]
mov dword [ebp - 4], ebx
call esi
push eax
lea eax, [ebp - 0x10]
push str.error__d_n_s
push eax
call fcn.00401961
add esp, 0xc
lea eax, [ebp - 0x10]
mov ecx, esp
push eax
call fcn.004106c4
mov ecx, edi
call fcn.0040fb57
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LocalFree]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x40fb57
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x443c70
call fcn.00428c84
sub esp, 0xc
push edi
mov edi, ecx
and dword [ebp - 4], 0
cmp dword [edi + 0x224], 0
je 0x40fcb0
push ebx
push esi
mov esi, 0x44a7dc
push esi
call fcn.004304f5
pop ecx
push eax
push esi
lea ecx, [ebp + 8]
call fcn.0040225c
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov ebx, eax
push ebx
mov dword [ebp - 0x10], ebx
call esi
cmp dword [edi + 0x228], 0
je 0x40fc4a
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileType]
test al, 1
jne 0x40fc2e
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xor eax, eax
push eax
push eax
push eax
push eax
push 0xffffffffffffffff
push dword [ebp + 8]
push eax
push 0xfde9
call edi
mov esi, eax
push esi
call fcn.0041143a
pop ecx
mov ebx, eax
xor eax, eax
push eax
push eax
push esi
push ebx
push 0xffffffffffffffff
push dword [ebp + 8]
mov esi, 0xfde9
push eax
push esi
call edi
call dword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov edi, eax
call esi
push 0
lea eax, [ebp - 0x14]
push eax
push ebx
call fcn.00432ae0
pop ecx
push eax
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push edi
call esi
push ebx
jmp 0x40fca8
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call esi
jmp 0x40fcae
call dword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
mov ebx, dword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
push 1
mov dword [ebp - 0x18], eax
call ebx
mov ecx, dword [ebp + 8]
mov esi, dword [ecx - 0xc]
lea ecx, [esi + 1]
push ecx
call fcn.0041143a
push esi
mov edi, eax
push 0
push edi
call fcn.0042bbd0
add esp, 0x10
push esi
push edi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_CharToOemBuffW]
push 0
lea eax, [ebp - 0x14]
mov byte [edi + esi], 0
push eax
push esi
mov esi, dword [ebp - 0x10]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push dword [ebp - 0x18]
call ebx
push edi
call fcn.00411435
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00401b78
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x41ed0e
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0x10
mov eax, 0x44458b
call fcn.0042946a
mov esi, ecx
mov dword [ebp - 0x14], esi
lea eax, [esi + 0x1c]
push eax
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [ebp + 8]
test ebx, ebx
jle 0x41ee18
cmp ebx, dword [esi + 0xc]
jge 0x41ee18
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
test edi, edi
je 0x41ed65
cmp ebx, dword [edi + 8]
jl 0x41ee06
cmp dword [ebp + 0xc], 0
je 0x41ee06
xor ebx, ebx
jmp 0x41ed9f
xor ebx, ebx
push 0x10
mov dword [ebp - 4], ebx
call fcn.0041e98f
mov edi, eax
test edi, edi
je 0x41ed7f
mov dword [edi], vtable.CThreadData.0
jmp 0x41ed81
mov edi, ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0x14]
push edi
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
call fcn.0041eca1
mov ecx, dword [esi + 0x14]
mov dword [eax], ecx
mov dword [esi + 0x14], edi
mov esi, dword [ebp - 0x14]
cmp dword [edi + 0xc], ebx
jne 0x41edba
push 4
push dword [esi + 0xc]
call fcn.00411dbb
pop ecx
pop ecx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x41edd2
push 2
push 4
push dword [esi + 0xc]
call fcn.00411dbb
pop ecx
pop ecx
push eax
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov edx, eax
test edx, edx
je 0x41ee3f
mov ecx, dword [edi + 8]
mov dword [edi + 0xc], edx
mov eax, dword [esi + 0xc]
sub eax, ecx
shl eax, 2
push eax
lea eax, [edx + ecx*4]
push ebx
push eax
call fcn.0042bbd0
mov eax, dword [esi + 0xc]
add esp, 0xc
mov dword [edi + 8], eax
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ebx, dword [ebp + 8]
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x41ee18
cmp ebx, dword [edi + 8]
jge 0x41ee18
mov eax, dword [ebp + 0xc]
mov dword [ecx + ebx*4], eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.004293c8
ret 8
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.00411517
int3