joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100060a0
Capabilities:
Delete directory

Disassembly:
sub esp, 0x674
mov eax, dword [0x100900d4]
xor eax, esp
mov dword [esp + 0x670], eax
push ebx
mov ebx, dword [esp + 0x67c]
lea eax, [esp + 0x274]
push ebp
push esi
push 0x400
push 0
push eax
call fcn.100393f0
mov eax, 0x25
mov dword [esp + 0x282], 0x2a
mov word [esp + 0x278], ax
lea eax, [esp + 0x278]
push ebx
push eax
push 0xffffffffffffffff
lea eax, [esp + 0x294]
mov dword [esp + 0x28a], 0x2e002a
push 0x200
push eax
mov dword [esp + 0x28e], 0x5c0073
call fcn.1000f5c0
add esp, 0x20
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x280]
push eax
call dword [0x100b0a44]
mov esi, eax
cmp esi, 0xffffffff
je 0x100061e1
push edi
mov edi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test byte [esp + 0x10], 0x10
je 0x100061c5
cmp word [esp + 0x3c], 0x2e
je 0x100061c5
cmp word [esp + 0x3e], 0x2e
je 0x100061c5
xor eax, eax
mov dword [esp + 0x260], 0x730025
mov word [esp + 0x26a], ax
mov eax, 0x5c
mov word [esp + 0x264], ax
lea eax, [esp + 0x3c]
push eax
push ebx
lea eax, [esp + 0x268]
mov dword [esp + 0x26e], 0x730025
push eax
push 0xffffffffffffffff
lea eax, [esp + 0x290]
push 0x200
push eax
call fcn.1000f5c0
lea eax, [esp + 0x298]
push eax
call fcn.10006200
add esp, 0x1c
lea eax, [esp + 0x280]
push eax
call edi
lea eax, [esp + 0x10]
push eax
push esi
call dword [0x100b0a40]
test eax, eax
jne 0x10006145
push esi
call dword [0x100b0ab4]
pop edi
mov ecx, dword [esp + 0x67c]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100153ee
add esp, 0x674
ret
Function at 0x10007c00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100776c2
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x100900d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 0x25c], 0
push 0x1007a778
mov dword [ebp - 4], 0
mov dword [ebp - 0x260], esi
mov dword [esi], 0
call fcn.10002320
push 0x208
lea eax, [ebp - 0x258]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x25c], 1
call fcn.100393f0
add esp, 0xc
lea eax, [ebp - 0x258]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, 0x64
mov dword [ebp - 0x50], 0x680053
mov word [ebp - 0x40], ax
xor eax, eax
mov word [ebp - 0x3a], ax
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x44], 0x2e0069
mov dword [ebp - 0x48], 0x700061
mov dword [ebp - 0x4c], 0x77006c
mov dword [ebp - 0x3e], 0x6c006c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x10007d4b
lea eax, [ebp - 0x28]
mov dword [ebp - 0x1f], 0x4e656c69
push eax
push edi
mov dword [ebp - 0x28], 0x68746150
mov dword [ebp - 0x24], 0x646e6946
mov word [ebp - 0x18], 0x57
mov word [ebp - 0x1b], 0x6d61
mov byte [ebp - 0x19], 0x65
mov byte [ebp - 0x20], 0x46
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10007d44
lea ecx, [ebp - 0x258]
push ecx
call eax
push eax
mov ecx, esi
call fcn.100046b0
xor eax, eax
mov dword [ebp - 0x30], 0x650078
mov word [ebp - 0x2c], ax
mov ecx, esi
push 0x1007a778
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0x65002e
push eax
call fcn.10009810
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100153ee
mov esp, ebp
pop ebp
ret

Function at 0x10008460
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
mov ebx, dword [sym.imp.USER32.dll_EnumWindows]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push edi
mov edi, dword [esp + 0x14]
xor esi, esi
mov byte [0x10092470], 0
nop dword [eax]
inc esi
cmp esi, 0x1e
jg 0x100084a4
push edi
push 0x10006b70
call ebx
cmp byte [0x10092470], 0
jne 0x100084a4
push 0x64
call ebp
cmp byte [0x10092470], 0
je 0x10008480
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x10008520
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x1ac
mov eax, dword [0x100900d4]
xor eax, esp
mov dword [esp + 0x1a8], eax
push edi
lea eax, [esp + 4]
mov edi, ecx
push eax
push 0x101
call dword [0x100b0acc]
push 6
push 1
push 2
call dword [0x100b0abc]
mov dword [edi + 0x78], eax
cmp eax, 0xffffffff
je 0x100085fc
push esi
mov eax, 2
mov dword [esp + 0x1a9], 0x474e49
lea esi, [edi + 0x40c0]
mov byte [esp + 0x1a8], 0x50
mov word [esi], ax
lea eax, [esp + 0x198]
push eax
mov word [esp + 0x1a1], 0x302e
mov dword [esp + 0x19c], 0x2e373231
mov word [esp + 0x1a4], 0x31
mov byte [esp + 0x1a0], 0x30
mov byte [esp + 0x1a3], 0x2e
call dword [0x100b0ac4]
mov dword [edi + 0x40c4], eax
mov eax, 0xcee
add ax, word [edi + 0x4170]
movzx eax, ax
push eax
call dword [0x100b0ac8]
push 0x10
push esi
push dword [edi + 0x78]
mov word [edi + 0x40c2], ax
call dword [0x100b0ad0]
pop esi
cmp eax, 0xffffffff
jne 0x1000861a
push dword [edi + 0x78]
call dword [0x100b0adc]
call dword [0x100b0ac0]
xor al, al
pop edi
mov ecx, dword [esp + 0x1a8]
xor ecx, esp
call fcn.100153ee
add esp, 0x1ac
ret
lea eax, [esp + 0x1a4]
mov ecx, edi
push eax
call fcn.1000f2b0
mov ecx, edi
call fcn.1000ec20
mov ecx, dword [esp + 0x1ac]
mov al, 1
pop edi
xor ecx, esp
call fcn.100153ee
add esp, 0x1ac
ret
Function at 0x10009710
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x14
mov eax, dword [0x100900d4]
xor eax, esp
mov dword [esp + 0x10], eax
push esi
push edi
mov edi, ecx
mov dword [esp + 8], 0x2e373231
mov dword [esp + 0xd], 0x312e302e
mov byte [esp + 0xc], 0x30
mov byte [esp + 0x11], 0
push dword [edi + 0x78]
call dword [0x100b0adc]
push 6
push 1
push 2
call dword [0x100b0abc]
mov dword [edi + 0x78], eax
lea esi, [edi + 0x40c0]
mov eax, 2
mov word [esi], ax
lea eax, [esp + 8]
push eax
call dword [0x100b0ac4]
mov dword [edi + 0x40c4], eax
mov eax, 0xcee
add ax, word [edi + 0x4170]
movzx eax, ax
push eax
call dword [0x100b0ac8]
push 0x10
push esi
push dword [edi + 0x78]
mov word [edi + 0x40c2], ax
call dword [0x100b0ad0]
mov ecx, dword [esp + 0x18]
cmp eax, 0xffffffff
pop edi
setne al
pop esi
xor ecx, esp
call fcn.100153ee
add esp, 0x14
ret
Function at 0x1000a320
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10077908
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x100900d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
sub esp, 0x18
mov ecx, esp
mov word [ebp - 0x1b], 0x4143
mov word [ebp - 0x18], 0x20
mov byte [ebp - 0x19], 0x4e
mov byte [ebp - 0x1c], 0x53
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x1000a381
mov eax, dword [ecx]
jmp 0x1000a383
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
push edx
push esi
mov word [eax], dx
call fcn.1000cad0
lea eax, [ebp - 0x74]
push eax
call fcn.1000f420
add esp, 0x1c
mov ebx, eax
cmp byte [ebp - 0x1c], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5c], 0
jne 0x1000a3c2
xor ecx, ecx
jmp 0x1000a3d1
lea ecx, [ebp - 0x1c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000a3c8
sub ecx, edx
push ecx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x5c]
call fcn.1000c9d0
push ebx
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.10001850
add esp, 0xc
mov eax, dword [ebp - 0x48]
cmp eax, 0x10
jb 0x1000a408
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.1000d410
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5c], 0
mov eax, dword [ebp - 0x60]
mov byte [ebp - 4], 4
cmp eax, 0x10
jb 0x1000a433
inc eax
lea ecx, [ebp - 0x74]
push eax
push dword [ebp - 0x74]
call fcn.1000d410
cmp dword [esi + 0x14], 8
mov eax, 0x3a
mov dword [ebp - 0x60], 0xf
mov dword [ebp - 0x64], 0
mov byte [ebp - 0x74], 0
mov dword [ebp - 0x26], 0x4f0020
mov word [ebp - 0x28], ax
mov dword [ebp - 0x22], 0x4b
jb 0x1000a466
mov eax, dword [esi]
jmp 0x1000a468
mov eax, esi
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call dword [0x100b0a58]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1000a4f8
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x80000
ja 0x1000a4dc
cmp dword [ebp - 0x2c], 0
jne 0x1000a4dc
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
mov ecx, edi
cmovae eax, dword [ebp - 0x44]
push eax
call fcn.1000f2b0
test al, al
je 0x1000a4ef
mov ecx, edi
mov byte [edi + 0x415c], 1
call fcn.1000ec20
push ebx
mov byte [edi + 0x415c], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1000a50b
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.1000c750
push esi
mov ecx, edi
call fcn.1000a750
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1000a50b
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.1000c750
push esi
mov ecx, edi
call fcn.1000a750
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x1000a520
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.1000d410
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100153ee
mov esp, ebp
pop ebp
ret 4
Function at 0x1000acf0
Capabilities:
Create thread

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, ecx
push esi
push 0x44
push 0
lea eax, [ebp + 0x40e0]
mov dword [esp + 0x18], ebp
push eax
call fcn.100393f0
push 0x100b07e0
call fcn.1001347c
add esp, 0x10
test eax, eax
je 0x1000ad26
push eax
call fcn.10013b0f
add esp, 4
lea ecx, [ebp + 0x407c]
mov byte [ebp + 0x40dd], 0
mov byte [ebp + 0x40da], 0
mov byte [ebp + 0x29], 0
call fcn.1000c080
push dword [esp + 0x18]
lea esi, [ebp + 0x4130]
mov dword [ebp + 0x40a4], 0
mov dword [ebp + 0x416c], 0
push esi
push dword [esi + 4]
push dword [esi]
call fcn.10001d60
push dword [esp + 0x28]
mov eax, dword [esi]
lea ebx, [ebp + 0x413c]
mov dword [esi + 4], eax
push ebx
push dword [ebx + 4]
mov dword [esp + 0x28], ebx
push dword [ebx]
call fcn.10001d60
mov eax, dword [ebx]
add esp, 0x20
mov esi, dword [esp + 0x18]
mov dword [ebx + 4], eax
mov eax, 0x2aaaaaab
mov byte [ebp + 0x40dc], 1
xor ebx, ebx
mov ecx, dword [esi + 4]
sub ecx, dword [esi]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1000adef
mov ebp, dword [esp + 0xc]
push edi
xor edi, edi
nop
mov eax, dword [esi]
mov ecx, ebp
add eax, edi
push eax
call fcn.1000eb30
mov ecx, dword [esi + 4]
mov eax, 0x2aaaaaab
sub ecx, dword [esi]
inc ebx
imul ecx
add edi, 0x18
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ebx, ecx
jb 0x1000adc0
mov ebp, dword [esp + 0x14]
pop edi
mov ecx, dword [esi + 4]
mov eax, 0x2aaaaaab
sub ecx, dword [esi]
imul ecx
push 0
push 0
sar edx, 2
push ebp
mov eax, edx
push 0x1000d580
shr eax, 0x1f
add eax, edx
push 0
push 0
mov dword [ebp + 0x40fc], eax
call fcn.10054826
push 0x100b07e0
mov dword [ebp + 0x416c], eax
call fcn.100134f3
add esp, 0x1c
pop esi
pop ebp
pop ebx
test eax, eax
je 0x1000ae41
push eax
call fcn.10013b0f
add esp, 4
add esp, 8
ret 4
Function at 0x1000ae50
Capabilities:
Create thread

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov ebp, ecx
push edi
push 0x44
push 0
lea eax, [ebp + 0x40e0]
mov dword [esp + 0x1c], ebp
push eax
call fcn.100393f0
push 0x100b07e0
call fcn.1001347c
add esp, 0x10
test eax, eax
je 0x1000ae87
push eax
call fcn.10013b0f
add esp, 4
lea ecx, [ebp + 0x407c]
mov byte [ebp + 0x40dd], 0
mov byte [ebp + 0x40da], 0
mov byte [ebp + 0x29], 0
call fcn.1000c080
push dword [esp + 0x1c]
lea ebx, [ebp + 0x4130]
mov dword [ebp + 0x40a4], 0
mov dword [ebp + 0x416c], 0
push ebx
push dword [ebx + 4]
mov dword [esp + 0x1c], ebx
push dword [ebx]
call fcn.10001d60
push dword [esp + 0x2c]
mov eax, dword [ebx]
lea esi, [ebp + 0x413c]
mov dword [ebx + 4], eax
push esi
push dword [esi + 4]
push dword [esi]
call fcn.10001d60
mov edi, dword [esp + 0x3c]
add esp, 0x20
mov eax, dword [esi]
xor ebx, ebx
mov dword [esi + 4], eax
mov eax, 0x2aaaaaab
mov byte [ebp + 0x40dc], 1
mov ecx, dword [edi + 4]
sub ecx, dword [edi]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1000af4e
mov ebp, dword [esp + 0x10]
xor esi, esi
nop
mov eax, dword [edi]
mov ecx, ebp
add eax, esi
push eax
call fcn.1000eb30
mov ecx, dword [edi + 4]
mov eax, 0x2aaaaaab
sub ecx, dword [edi]
inc ebx
imul ecx
add esi, 0x18
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x1000af20
mov ebp, dword [esp + 0x14]
push 0
push 0
push ebp
push 0x1000d580
push 0
push 0
call fcn.10054826
push 0x100b07e0
mov dword [ebp + 0x416c], eax
call fcn.100134f3
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
test eax, eax
je 0x1000af85
push eax
call fcn.10013b0f
add esp, 4
add esp, 8
ret 4

Function at 0x1000b4f0
Capabilities:
Check if file exists
Create thread

Disassembly:
sub esp, 0x14
mov eax, dword [0x100900d4]
xor eax, esp
mov dword [esp + 0x10], eax
cmp byte [0x10092472], 0
push esi
mov esi, ecx
je 0x1000b5ba
mov eax, 0x64
mov dword [esp + 4], 0x700055
mov word [esp + 8], ax
xor eax, eax
mov word [esp + 0xe], ax
lea eax, [esp + 4]
push eax
push 0x5a0
mov dword [esp + 0x12], 0x6d0054
call fcn.10005520
test eax, eax
je 0x1000b5ba
push 0x5a0
mov ecx, esi
call fcn.10005c30
test eax, eax
je 0x1000b5ba
push str.GlobalPCAProMutex
push 0
push 0x100000
call dword [0x100b0a78]
test eax, eax
je 0x1000b57f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.100153ee
add esp, 0x14
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x1000b5ba
cmp dword [0x1009247c], 0
je 0x1000b59f
mov eax, dword [0x1009247c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
push esi
push 0x1000dce0
push 0
push 0
call fcn.10054826
add esp, 0x18
mov dword [0x1009247c], eax
mov ecx, dword [esp + 0x14]
pop esi
xor ecx, esp
call fcn.100153ee
add esp, 0x14
ret
Function at 0x1000b6b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push dword [esp + 8]
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x1000b6c3
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x1000b706
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x1000b702
nop dword [eax + eax]
cmp esi, edx
jae 0x1000b706
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x1000b6f0
cmp esi, edx
jb 0x1000b70a
xor eax, eax
pop esi
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
ret

Function at 0x1000fad0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10077dcb
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x100900d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, 0x6f
mov dword [ebp - 0x22], 0x650072
mov word [ebp - 0x24], ax
mov ecx, 0x72
xor eax, eax
mov dword [ebp - 0x1c], 0x65002e
mov dword [ebp - 0x2c], 0x780065
mov dword [ebp - 0x18], 0x650078
mov dword [ebp - 0x28], 0x6c0070
mov word [ebp - 0x1e], cx
mov word [ebp - 0x14], ax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push ecx
push eax
call dword [0x100b0ab0]
xor edi, edi
mov dword [ebp - 0x260], 0x22c
push edi
push 2
call dword [0x100b0a6c]
mov esi, eax
mov dword [ebp - 0x268], esi
cmp esi, 0xffffffff
je 0x1000fc7b
lea eax, [ebp - 0x260]
push eax
push esi
call dword [0x100b0a68]
cmp eax, 1
jne 0x1000fc74
or ebx, 0xffffffff
nop dword [eax]
nop word [eax + eax]
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x264], 0
push eax
lea ecx, [ebp - 0x264]
call fcn.10002320
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
push dword [ebp - 0x264]
call fcn.10055b8b
add esp, 8
test eax, eax
jne 0x1000fc0f
mov esi, dword [ebp - 0x258]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push esi
call dword [0x100b0ab0]
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x34]
jne 0x1000fc09
push esi
push 0
push 0x410
call dword [0x100b0a48]
mov edi, eax
test edi, edi
jne 0x1000fc4c
mov esi, dword [ebp - 0x268]
mov edx, dword [ebp - 0x264]
mov ecx, ebx
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x1000fc33
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x260]
push eax
push esi
call dword [0x100b0a64]
cmp eax, 1
je 0x1000fba0
jmp 0x1000fc74
mov edx, dword [ebp - 0x264]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1000fc6e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x268]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100153ee
mov esp, ebp
pop ebp
ret
Function at 0x10017762
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x100634b7
Capabilities:
Set environment variable

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

Function at 0x100634c2
Capabilities:
Set environment variable

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

Function at 0x10071aba
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10071841
Function at 0x40a15c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov word [ebp + 0xc], ax
mov ebx, 0x19826993
mov eax, ebx
mul ebx
mov dword [ebp - 0x10], eax
mov ebx, eax
xor esi, esi
mov eax, ebx
mul ebx
mov dword [ebp - 0x14], eax
mov ebx, eax
mov word [ebp - 0xc], 0
jmp 0x40a272
mov eax, ebx
xor eax, ebx
mov ebx, eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.00405066
pop ecx
mov edx, eax
mov byte [ebp - 1], dl
cmp byte [ebp - 1], 0
jne 0x40a1b3
mov byte [ebp - 2], 0
jmp 0x40a1dd
call fcn.0040ddd8
mov dword [ebp - 0x18], eax
mov eax, 0x7fff
mov edi, 7
movzx edx, byte [ebp - 1]
mov ecx, edi
sub ecx, edx
cdq
idiv ecx
mov ecx, eax
mov eax, dword [ebp - 0x18]
cdq
idiv ecx
mov edx, eax
mov byte [ebp - 2], dl
mov eax, dword [ebp + 8]
mov al, byte [esi + eax]
cmp al, 0x70
jb 0x40a1fc
cmp al, 0x7f
ja 0x40a1fc
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, dword [ebp + 8]
movzx eax, byte [esi + eax]
cmp eax, 0xe2
jne 0x40a21b
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 8
push 0x90
lea eax, [ebp - 0xa]
push eax
call fcn.0040ddc0
movzx eax, byte [ebp - 1]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
lea eax, [ebp - 0xa]
movzx edx, byte [ebp - 2]
add eax, edx
push eax
call fcn.0040ddb4
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 6
lea eax, [ebp - 0xa]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.0040ddb4
add esp, 0x24
mov eax, ebx
add eax, ebx
mov ebx, eax
add esi, 6
inc word [ebp - 0xc]
movzx eax, word [ebp + 0xc]
dec eax
cmp esi, eax
jb 0x40a190
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x432072
nop
mov ebx, 0x40c7d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x7c96286b
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x432060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4320d2
nop
nop
nop
nop
mov ebx, 0x42f314
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x3db84e65
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x10007bc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x10017040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x10007bf0
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000d1ca
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x10007c2c
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x10007c2c
lea ecx, [edi - 1]
mov eax, ebx
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
pop edi
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000d1ca
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x10007d03
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x10007c54
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x10007c60
movsx eax, bl
jmp 0x10007c98
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x25], bl
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
sub eax, 0
je 0x10007cc2
sub eax, 1
je 0x10007cc2
sub eax, 2
jne 0x10007d03
movsx eax, byte [ebp - 0x25]
push dword [esi + 0x4c]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmove ebx, ecx
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000d1ca
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10007ce0
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x10007d03
lea ecx, [ebp - 0x25]
mov byte [esi + 0x3d], 1
or eax, 0xffffffff
cmp dword [ebp - 0x30], ecx
pop edi
pop esi
cmovne eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000d1ca
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000d1ca
mov esp, ebp
pop ebp
ret 4