joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43c9eb
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x45a040]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x43ca36
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0043cb86
test al, al
jne 0x43ca30
sub edx, 2
cmp edx, edi
jne 0x43ca16
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x43ca58
lea eax, [edi + 2]
cmp edx, eax
je 0x43ca58
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0043c937
add esp, 0x10
jmp 0x43cb52
push esi
lea ecx, [ebp - 0x255]
call fcn.0043cb86
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x43ca9b
push dword [ebp - 0x25c]
jmp 0x43ca48
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x43cad8
cmp word [ebp - 0x226], 0
je 0x43caf9
cmp word [ebp - 0x226], ax
jne 0x43cad8
cmp word [ebp - 0x224], 0
je 0x43caf9
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0043c937
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x43cb45
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x43cab2
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x43cb2d
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x43cb52
push 0x43c767
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00443930
add esp, 0x10
jmp 0x43cb22
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00430697
leave
ret

Function at 0x43d98a
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4537bc
push 0x4537b4
push str.FlsAlloc
push 0x1f
call fcn.0043d8c5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x43d9be
push dword [ebp + 8]
mov ecx, esi
call dword [0x4473ac]
call esi
jmp 0x43d9c4
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x43da08
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4537cc
push 0x4537c4
push str.FlsGetValue
push 0x21
call fcn.0043d8c5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x43da3f
push dword [ebp + 8]
mov ecx, esi
call dword [0x4473ac]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x43da47
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4537d4
push 0x4537cc
push str.FlsSetValue
push 0x22
call fcn.0043d8c5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x43da81
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x4473ac]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x445c00
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x445c2d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x445c2d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4011e0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x108
push 0x40e040
call fcn.00405c7e
add esp, 4
test eax, eax
jne 0x401252
push str.TEMP
call fcn.00405c7e
add esp, 4
test eax, eax
jne 0x401252
lea eax, [esp + 4]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0
push 0
lea ecx, [esp + 8]
push 0
lea edx, [esp + 0x10]
push ecx
push edx
call fcn.00405b37
mov ecx, dword [esp + 0x120]
push 0
push 0
lea eax, [esp + 0x1c]
push 0x40e030
push eax
push ecx
call fcn.00405aa6
add esp, 0x28
add esp, 0x108
ret
mov edx, dword [esp + 0x10c]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
add esp, 0x108
ret

Function at 0x4013c0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
sub esp, 0x248
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
push edi
mov edi, dword [esp + 0x258]
lea eax, [esp + 0x10]
push edi
push eax
call ebp
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0x10]
push str..
push ecx
call esi
lea edx, [esp + 0x114]
lea eax, [esp + 0x10]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
je 0x4014d2
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x144]
push 0x40e088
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x4014ab
lea edx, [esp + 0x144]
push 0x40e084
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x4014ab
mov al, byte [esp + 0x118]
push edi
test al, 0x10
je 0x401482
lea eax, [esp + 0x18]
push eax
call ebp
lea ecx, [esp + 0x14]
push 0x40e080
push ecx
call esi
lea edx, [esp + 0x144]
lea eax, [esp + 0x14]
push edx
push eax
call esi
lea ecx, [esp + 0x14]
push ecx
call fcn.004013c0
add esp, 4
jmp 0x4014ab
lea edx, [esp + 0x18]
push edx
call ebp
lea eax, [esp + 0x14]
push 0x40e080
push eax
call esi
lea ecx, [esp + 0x144]
lea edx, [esp + 0x14]
push ecx
push edx
call esi
lea eax, [esp + 0x14]
push eax
call ebx
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x118]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x401417
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebx
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
pop edi
pop esi
pop ebp
add esp, 0x248
ret
Function at 0x401540
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x44c
lea eax, [esp]
push eax
call fcn.004011e0
add esp, 4
lea ecx, [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [esp + eax - 1], 0x5c
je 0x401575
lea edx, [esp]
push 0x40e080
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push esi
lea eax, [esp + 4]
push edi
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push eax
lea ecx, [esp + 0x354]
push str._svis
push ecx
call edi
add esp, 0xc
lea edx, [esp + 0x10c]
lea eax, [esp + 0x350]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x401619
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileA]
test byte [esp + 0x110], 0x10
je 0x401602
lea ecx, [esp + 0x13c]
lea edx, [esp + 0xc]
push ecx
push edx
lea eax, [esp + 0x258]
push str._s_s
push eax
call edi
lea ecx, [esp + 0x260]
push ecx
call fcn.004014f0
add esp, 0x14
test eax, eax
je 0x401602
lea edx, [esp + 0x250]
push edx
call fcn.004013c0
add esp, 4
lea eax, [esp + 0x110]
push eax
push esi
call ebp
test eax, eax
jne 0x4015b8
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebp
pop edi
pop esi
add esp, 0x44c
ret

Function at 0x401650
Capabilities:
Delete directory

Disassembly:
push 0x40ef14
call fcn.00401100
add esp, 4
test eax, eax
je 0x40166e
push 0x40ef14
call fcn.004013c0
add esp, 4
push 0x40f01c
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x401688
push 0x40f01c
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
ret
Function at 0x401690
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x270
mov eax, 1
push 0
mov dword [esp + 8], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x3c], 2
push eax
call fcn.00402280
add esp, 8
test ax, ax
je 0x4016c8
xor eax, eax
add esp, 0x270
ret
push ebx
push ebp
push esi
mov esi, dword [esp + 0x280]
push edi
mov edi, dword [sym.imp.KERNEL32.dll__lread]
lea ecx, [esp + 0x12]
push 2
push ecx
push esi
call edi
cmp word [esp + 0x12], 0
mov dword [esp + 0x1c], 0
jle 0x401888
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x18]
push 1
push edx
push esi
call edi
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x180]
and eax, 0xff
push eax
push ecx
push esi
call edi
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x20]
and edx, 0xff
push 2
push eax
push esi
mov byte [esp + edx + 0x18c], 0
call edi
lea ecx, [esp + 0x28]
push 2
push ecx
push esi
call edi
lea edx, [esp + 0x70]
push 4
push edx
push esi
call edi
lea eax, [esp + 0x6c]
push 4
push eax
push esi
call edi
lea ecx, [esp + 0x7c]
push 0x40ef14
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esp + 0x7c]
push 0x40e080
push edx
call ebx
lea eax, [esp + 0x180]
lea ecx, [esp + 0x7c]
push eax
push ecx
call ebx
lea edx, [esp + 0x24]
push 4
push edx
push esi
call edi
lea eax, [esp + 0x7c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll__lcreat]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x401880
mov ecx, dword [esp + 0x24]
xor eax, eax
lea edx, [esp + 0x2c]
push eax
push edx
mov dword [esp + 0x34], 3
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
mov word [esp + 0x48], si
mov word [esp + 0x4a], bp
mov dword [esp + 0x4c], 9
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], 0x10000
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
call fcn.00402280
add esp, 8
test ax, ax
jne 0x40186f
push ebp
call dword [sym.imp.KERNEL32.dll__lclose]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x64]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
lea eax, [esp + 0x74]
lea ecx, [esp + 0x64]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
push 0
lea edx, [esp + 0x78]
push 0
push edx
push 0
lea eax, [esp + 0x8c]
push 0
push eax
call fcn.00401000
mov ebp, dword [esp + 0x34]
add esp, 0x18
test ebp, ebp
jne 0x40185b
lea ecx, [esp + 0x7c]
push ecx
push 0x40f120
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
movsx edx, word [esp + 0x12]
inc ebp
cmp ebp, edx
mov dword [esp + 0x1c], ebp
jl 0x4016fd
jmp 0x401888
push ebp
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll__lclose]
jmp 0x401888
mov dword [esp + 0x14], 0
lea eax, [esp + 0x2c]
push 0
push eax
mov dword [esp + 0x34], 4
call fcn.00402280
add esp, 8
test ax, ax
pop edi
pop esi
pop ebp
pop ebx
je 0x4018b0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
add esp, 0x270
ret
Function at 0x4019a0
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x14
push esi
xor esi, esi
call fcn.00401960
test eax, eax
je 0x401a0a
lea eax, [esp + 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x401a19
lea ecx, [esp + 0xc]
push ecx
push str.SeShutdownPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x401a19
mov eax, dword [esp + 4]
push esi
push esi
lea edx, [esp + 0x10]
push esi
push edx
push esi
push eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x2c], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x401a19
push 0
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
pop esi
add esp, 0x14
ret
mov eax, esi
pop esi
add esp, 0x14
ret

Function at 0x401a80
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push esi
push edi
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x18]
lea edx, [esp + 0x18]
rep stosd dword es:[edi], eax
mov ax, word [esp + 0x64]
lea ecx, [esp + 8]
push ecx
push edx
push 0
push 0
push 8
mov word [esp + 0x5c], ax
mov eax, dword [esp + 0x74]
push 0
push 0
push 0
push eax
push 0
mov dword [esp + 0x40], 0x44
mov dword [esp + 0x6c], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esi, eax
test esi, esi
je 0x401ae9
mov ecx, dword [esp + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call edi
mov edx, dword [esp + 8]
push edx
call edi
mov eax, esi
pop edi
pop esi
add esp, 0x54
ret
Function at 0x402140
Capabilities:
Parse pe header

Disassembly:
sub esp, 0xfc
push 0x40000
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov dword [esp], eax
jne 0x402167
mov eax, 1
add esp, 0xfc
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll__lread]
push ebp
mov ebp, dword [esp + 0x108]
push esi
push edi
lea eax, [esp + 0x14]
push 0x40
push eax
push ebp
call ebx
cmp eax, 0x40
je 0x402191
mov esi, 3
jmp 0x40225b
mov edx, dword [esp + 0x50]
xor ecx, ecx
cmp word [esp + 0x14], 0x5a4d
mov edi, dword [sym.imp.KERNEL32.dll__llseek]
push 0
setne cl
dec ecx
and ecx, edx
mov esi, ecx
push esi
push ebp
call edi
lea edx, [esp + 0x14]
push 0xf8
push edx
push ebp
call ebx
cmp eax, 0xf8
je 0x4021d0
mov esi, 3
jmp 0x40225b
cmp dword [esp + 0x14], 0x4550
je 0x4021e1
mov esi, 5
jmp 0x40225b
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x1a]
and eax, 0xffff
push 0
and ebx, 0xffff
lea ecx, [eax + esi + 0x18]
push ecx
push ebp
call edi
mov edx, ebx
dec ebx
test edx, edx
je 0x402246
lea eax, [esp + 0x14]
push 0x28
push eax
push ebp
call dword [sym.imp.KERNEL32.dll__lread]
cmp eax, 0x28
jne 0x402187
mov ecx, 2
mov edi, str._mvdata
lea esi, [esp + 0x14]
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
je 0x40223e
mov eax, ebx
dec ebx
test eax, eax
jne 0x402205
mov esi, 6
jmp 0x40225b
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x40224d
mov esi, 6
jmp 0x40225b
mov ecx, dword [esp + 0x114]
add eax, 8
xor esi, esi
mov dword [ecx], eax
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xfc
ret
Function at 0x403810
Capabilities:
Encode data using xor

Disassembly:
xor edx, edx
mov word [0x40f544], dx
mov dword [0x40f53c], edx
mov dword [0x40f5f8], edx
movsx eax, dx
inc dx
mov ecx, dword [0x40f680]
movzx ax, byte [eax + ecx]
mov cx, word [0x40f544]
shl cx, 5
xor ax, cx
and ax, 0x7fff
mov word [0x40f544], ax
cmp dx, 2
jl 0x403825
jmp fcn.00404c00
Function at 0x408381
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40e838
cmp edx, dword [eax]
je 0x4083a3
add eax, 8
inc ecx
cmp eax, 0x40e8c8
jl 0x408394
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40e838]
jne 0x4084d1
mov eax, dword [0x40f258]
cmp eax, 1
je 0x4084ab
test eax, eax
jne 0x4083d4
cmp dword [0x40e504], 1
je 0x4084ab
cmp edx, 0xfc
je 0x4084d1
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40840b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00409e10
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00406d50
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40844e
lea eax, [ebp - 0x1a4]
push eax
call fcn.00406d50
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40d4c4
push edi
call fcn.00408980
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00409e10
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00409e20
lea eax, [ebp - 0xa0]
push 0x40d4a4
push eax
call fcn.00409e20
push dword [esi + 0x40e83c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00409e20
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040afc4
add esp, 0x2c
pop edi
jmp 0x4084d1
lea eax, [ebp + 8]
lea esi, [esi + 0x40e83c]
push 0
push eax
push dword [esi]
call fcn.00406d50
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x10001540
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10050e18
push 0x1003e562
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
push 0x28
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [0x10068824]
mov eax, dword [edx + 0xec]
call eax
test eax, eax
jge 0x1000159c
mov byte [ebp - 0x25], 0
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x25]
jmp 0x10001645
lea ecx, [ebp - 0x24]
push ecx
push str.SeDebugPrivilege
push 0
mov edx, dword [0x10068824]
mov eax, dword [edx + 0x1ac]
call eax
test eax, eax
jne 0x100015db
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [0x10068824]
mov eax, dword [edx + 0x8c]
call eax
mov byte [ebp - 0x26], 0
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x26]
jmp 0x10001645
push 4
lea ecx, [ebp - 0x24]
push ecx
push 0
mov edx, dword [ebp - 0x1c]
push edx
call fcn.100014e0
add esp, 0x10
movzx eax, al
test eax, eax
je 0x10001618
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [0x10068824]
mov eax, dword [edx + 0x8c]
call eax
mov byte [ebp - 0x27], 1
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x27]
jmp 0x10001645
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [0x10068824]
mov eax, dword [edx + 0x8c]
call eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10001643
mov al, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10001ee0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0x38], ecx
push 2
push 0
push 0x10001d80
mov ecx, dword [0x10069248]
call fcn.10026020
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10001fed
mov byte [ebp - 0x34], 0x45
mov byte [ebp - 0x33], 0x52
mov byte [ebp - 0x32], 0x52
mov byte [ebp - 0x31], 0x4f
mov byte [ebp - 0x30], 0x52
mov byte [ebp - 0x2f], 0x21
mov byte [ebp - 0x2e], 0x20
mov byte [ebp - 0x2d], 0x54
mov byte [ebp - 0x2c], 0x68
mov byte [ebp - 0x2b], 0x72
mov byte [ebp - 0x2a], 0x65
mov byte [ebp - 0x29], 0x61
mov byte [ebp - 0x28], 0x64
mov byte [ebp - 0x27], 0x20
mov byte [ebp - 0x26], 0x63
mov byte [ebp - 0x25], 0x72
mov byte [ebp - 0x24], 0x65
mov byte [ebp - 0x23], 0x61
mov byte [ebp - 0x22], 0x74
mov byte [ebp - 0x21], 0x69
mov byte [ebp - 0x20], 0x6f
mov byte [ebp - 0x1f], 0x6e
mov byte [ebp - 0x1e], 0x20
mov byte [ebp - 0x1d], 0x66
mov byte [ebp - 0x1c], 0x61
mov byte [ebp - 0x1b], 0x69
mov byte [ebp - 0x1a], 0x6c
mov byte [ebp - 0x19], 0x65
mov byte [ebp - 0x18], 0x64
mov byte [ebp - 0x17], 0x2c
mov byte [ebp - 0x16], 0x20
mov byte [ebp - 0x15], 0x54
mov byte [ebp - 0x14], 0x68
mov byte [ebp - 0x13], 0x72
mov byte [ebp - 0x12], 0x65
mov byte [ebp - 0x11], 0x61
mov byte [ebp - 0x10], 0x64
mov byte [ebp - 0xf], 0x20
mov byte [ebp - 0xe], 0x43
mov byte [ebp - 0xd], 0x6f
mov byte [ebp - 0xc], 0x64
mov byte [ebp - 0xb], 0x65
mov byte [ebp - 0xa], 0x20
mov byte [ebp - 9], 0x30
mov byte [ebp - 8], 0x78
mov byte [ebp - 7], 0x32
mov byte [ebp - 6], 0x21
mov byte [ebp - 5], 0
mov ecx, dword [0x10068828]
call fcn.100014a0
push eax
push 0
lea eax, [ebp - 0x34]
push eax
push 0
lea ecx, [ebp - 0x34]
push ecx
mov ecx, dword [0x1006882c]
call fcn.10011500
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x100031f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 5
mov dword [ebp - 8], 0
jmp 0x10003212
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x33
jge 0x10003251
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 8]
movsx edx, byte [ecx + 0x779227d4]
xor edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
mov byte [eax], dl
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
and edx, 0x800000ff
jns 0x1000324c
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 4], edx
jmp 0x10003209
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x33], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4
Function at 0x10003270
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 7
mov dword [ebp - 8], 0
jmp 0x10003292
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x2b
jge 0x100032d1
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 8]
movsx edx, byte [ecx - 0x6fff3f68]
xor edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
mov byte [eax], dl
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
and edx, 0x800000ff
jns 0x100032cc
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 4], edx
jmp 0x10003289
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x2b], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x100032f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0x16
mov dword [ebp - 8], 0
jmp 0x10003312
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x2b
jge 0x10003351
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 8]
movsx edx, byte [ecx - 0x5d1e2afe]
xor edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
mov byte [eax], dl
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
and edx, 0x800000ff
jns 0x1000334c
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 4], edx
jmp 0x10003309
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x2b], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4
Function at 0x10003a80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2f4
mov dword [ebp - 0x2f4], ecx
mov dword [ebp - 0x2d0], 0
push 0x2c8
push 0
lea eax, [ebp - 0x2cc]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
mov dword [ebp - 0x2d0], 0x10010
lea ecx, [ebp - 0x2d0]
push ecx
push 0xfffffffffffffffe
mov edx, dword [0x10068824]
mov eax, dword [edx + 0x10]
call eax
test eax, eax
je 0x10003bfa
cmp dword [ebp - 0x2cc], 0
jne 0x10003b06
cmp dword [ebp - 0x2c8], 0
jne 0x10003b06
cmp dword [ebp - 0x2c4], 0
jne 0x10003b06
cmp dword [ebp - 0x2c0], 0
jne 0x10003b06
cmp dword [ebp - 0x2b8], 0
je 0x10003bfa
mov byte [ebp - 0x2f0], 0x48
mov byte [ebp - 0x2ef], 0x61
mov byte [ebp - 0x2ee], 0x72
mov byte [ebp - 0x2ed], 0x64
mov byte [ebp - 0x2ec], 0x77
mov byte [ebp - 0x2eb], 0x61
mov byte [ebp - 0x2ea], 0x72
mov byte [ebp - 0x2e9], 0x65
mov byte [ebp - 0x2e8], 0x20
mov byte [ebp - 0x2e7], 0x62
mov byte [ebp - 0x2e6], 0x72
mov byte [ebp - 0x2e5], 0x65
mov byte [ebp - 0x2e4], 0x61
mov byte [ebp - 0x2e3], 0x6b
mov byte [ebp - 0x2e2], 0x70
mov byte [ebp - 0x2e1], 0x6f
mov byte [ebp - 0x2e0], 0x69
mov byte [ebp - 0x2df], 0x6e
mov byte [ebp - 0x2de], 0x74
mov byte [ebp - 0x2dd], 0x20
mov byte [ebp - 0x2dc], 0x64
mov byte [ebp - 0x2db], 0x65
mov byte [ebp - 0x2da], 0x74
mov byte [ebp - 0x2d9], 0x65
mov byte [ebp - 0x2d8], 0x63
mov byte [ebp - 0x2d7], 0x74
mov byte [ebp - 0x2d6], 0x65
mov byte [ebp - 0x2d5], 0x64
mov byte [ebp - 0x2d4], 0
mov ecx, dword [0x10068828]
call fcn.100014a0
push eax
push 0
lea ecx, [ebp - 0x2f0]
push ecx
push 1
lea edx, [ebp - 0x2f0]
push edx
mov ecx, dword [0x1006882c]
call fcn.10011500
mov esp, ebp
pop ebp
ret

Function at 0x10003c00
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x10068820]
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
movzx eax, word [edx]
cmp eax, 0x5a4d
je 0x10003c21
xor eax, eax
jmp 0x10003c63
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0x4550
je 0x10003c3c
xor eax, eax
jmp 0x10003c63
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x28]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x28]
add ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
movzx eax, byte [edx]
xor ecx, ecx
cmp eax, 0xcc
sete cl
mov eax, ecx
mov esp, ebp
pop ebp
ret