joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401600
Capabilities:
Timestomp file
Write file on windows

Disassembly:
sub esp, 0x24
push esi
push edi
mov edi, eax
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov eax, 3
mov word [esp + 0x1a], ax
mov word [esp + 0x20], ax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov word [esp + 0x20], 0x7dd
mov word [esp + 0x26], 0x16
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x34]
push eax
mov eax, dword [esp + 0x38]
call fcn.00401700
test eax, eax
je 0x401693
mov ecx, dword [esp + 0x34]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4016ae
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x40169d
mov dword [edi + 4], 0x504
xor eax, eax
pop edi
pop esi
add esp, 0x24
ret 8
mov dword [edi + 4], 0x103
xor eax, eax
pop edi
pop esi
add esp, 0x24
ret 8
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x30]
push 0
lea edx, [esp + 0x10]
push edx
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4016d1
mov dword [edi + 4], 0x106
cmp dword [edi + 4], 0
jne 0x4016e8
lea edx, [esp + 0x10]
push edx
push 0
mov eax, edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp dword [edi + 4], eax
pop edi
sete al
pop esi
add esp, 0x24
ret 8

Function at 0x401700
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push str.BCDATA
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x401720
mov dword [edi + 4], 0x501
pop esi
ret 8
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401738
mov dword [edi + 4], 0x502
pop esi
ret 8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
mov ecx, dword [esp + 8]
mov dword [ecx], eax
jne 0x401754
mov dword [edi + 4], 0x503
pop esi
ret 8
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [esp + 0xc]
mov dword [edx], eax
mov eax, 1
pop esi
ret 8
Function at 0x401a10
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, ecx
test ebx, ebx
je case.default.0x401a25
cmp eax, 7
ja case.default.0x401a25
push edi
jmp dword [eax*4 + 0x401bf4]
push 0x104
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
push ebx
call fcn.00403737
add esp, 8
mov byte [eax + 1], 0
jmp 0x401bbf
push 0x104
push ebx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, ebx
add edi, 0xffffffff
nop
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x401a60
mov ax, word [0x40fb24]
mov word [edi], ax
jmp 0x401bbf
push 0x104
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, ebx
add edi, 0xffffffff
lea esp, [esp]
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x401a90
mov cx, word [0x40fb24]
mov word [edi], cx
jmp 0x401bbf
push 0x104
push ebx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov eax, ebx
add eax, 0xffffffff
lea ebx, [ebx]
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x401ac0
mov edx, dword [str.inf_]
mov dword [eax], edx
mov cx, word [0x40fb58]
mov word [eax + 4], cx
jmp 0x401bbf
push 0x104
push ebx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov eax, ebx
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x401af3
mov edx, dword [str.infother]
mov dword [eax], edx
mov ecx, dword [0x40fb60]
mov dword [eax + 4], ecx
mov edx, dword [0x40fb64]
mov dword [eax + 8], edx
mov cl, byte [0x40fb68]
mov byte [eax + 0xc], cl
jmp 0x401bbf
push 0x104
push ebx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov eax, ebx
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x401b36
mov edx, dword [str.infother_]
mov dword [eax], edx
mov ecx, dword [0x40fb70]
mov dword [eax + 4], ecx
mov edx, dword [0x40fb74]
mov dword [eax + 8], edx
jmp 0x401bbf
push 0x104
push ebx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov eax, ebx
add eax, 0xffffffff
lea ecx, [ecx]
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x401b70
mov ecx, dword [str._system32drivers_]
mov dword [eax], ecx
mov edx, dword [0x40fb7c]
mov dword [eax + 4], edx
mov ecx, dword [0x40fb80]
mov dword [eax + 8], ecx
mov edx, dword [0x40fb84]
mov dword [eax + 0xc], edx
mov cx, word [0x40fb88]
mov word [eax + 0x10], cx
mov dl, byte [0x40fb8a]
mov byte [eax + 0x12], dl
jmp 0x401bbf
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov eax, dword [esp + 0xc]
push esi
mov esi, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x401bc6
sub eax, esi
add ebx, 0xffffffff
mov edi, ebx
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x401bd6
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
pop edi
pop ebx
ret 4
Function at 0x402660
Capabilities:
Copy file

Disassembly:
sub esp, 0x210
mov eax, dword [0x411020]
xor eax, esp
mov dword [esp + 0x20c], eax
mov eax, dword [esp + 0x214]
test eax, eax
jne 0x40269f
mov dword [esi + 0xc], 4
xor eax, eax
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.004030dc
add esp, 0x210
ret 4
lea ecx, [esp]
push ecx
lea edx, [esp + 0x10c]
push edx
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
cmp eax, 0x103
ja 0x40267f
mov eax, dword [esp]
test eax, eax
je 0x4026d4
push eax
lea ecx, [esp + 8]
mov eax, 3
call fcn.00401a10
push 0
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x40270b
mov dword [esi + 0xc], 0x105
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.004030dc
add esp, 0x210
ret 4
mov ecx, dword [esp + 0x20c]
xor ecx, esp
mov eax, 1
call fcn.004030dc
add esp, 0x210
ret 4

Function at 0x4029a0
Capabilities:
Delete file

Disassembly:
sub esp, 0x258
mov eax, dword [0x411020]
xor eax, esp
mov dword [esp + 0x254], eax
mov eax, dword [esp + 0x25c]
push ebx
push ebp
push esi
mov esi, ecx
test esi, esi
push edi
mov dword [esp + 0x14], eax
jne 0x4029d7
mov dword [eax + 0xc], 4
xor eax, eax
jmp 0x402b07
push esi
lea ecx, [esp + 0x15c]
mov eax, 3
call fcn.00401a10
mov edi, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x15c]
push ecx
call edi
cmp eax, 0xffffffff
mov ebx, dword [sym.imp.KERNEL32.dll_FindClose]
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
je 0x402a32
push eax
call ebx
lea edx, [esp + 0x158]
push edx
call ebp
test eax, eax
jne 0x402a32
mov eax, dword [esp + 0x14]
mov dword [eax + 0xc], 0x104
xor eax, eax
jmp 0x402b07
lea ecx, [esp + 0x158]
push str..inf
push ecx
call fcn.00403889
mov byte [eax], 0
lea eax, [esp + 0x160]
add esp, 8
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x402a54
mov edx, dword [str..pnf]
mov cl, byte [0x40fc80]
mov dword [eax], edx
lea edx, [esp + 0x18]
mov byte [eax + 4], cl
push edx
lea eax, [esp + 0x15c]
push eax
call edi
cmp eax, 0xffffffff
je 0x402aa1
push eax
call ebx
lea ecx, [esp + 0x158]
push ecx
call ebp
test eax, eax
jne 0x402aa1
mov edx, dword [esp + 0x14]
mov dword [edx + 0xc], 0x104
jmp 0x402b07
push esi
lea ecx, [esp + 0x15c]
mov eax, 4
call fcn.00401a10
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x15c]
push ecx
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x402aff
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x15c]
mov eax, 5
call fcn.00401a10
lea eax, [esp + 0x158]
push eax
call ebp
test eax, eax
jne 0x402aff
push esi
call ebx
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0xc], 0x104
xor eax, eax
jmp 0x402b07
push esi
call ebx
mov eax, 1
mov ecx, dword [esp + 0x264]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004030dc
add esp, 0x258
ret 4
Function at 0x402b30
Capabilities:
Delete file

Disassembly:
sub esp, 0x258
mov eax, dword [0x411020]
xor eax, esp
mov dword [esp + 0x254], eax
test edi, edi
mov eax, dword [esp + 0x25c]
push ebp
push esi
mov dword [esp + 0xc], eax
je 0x402ca6
cmp ebx, 1
ja 0x402ca6
test ebx, ebx
push edi
lea ecx, [esp + 0x154]
mov eax, 3
je 0x402b78
mov eax, 6
call fcn.00401a10
mov esi, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x154]
push ecx
call esi
cmp eax, 0xffffffff
mov ebp, dword [sym.imp.KERNEL32.dll_FindClose]
je 0x402bc2
push eax
call ebp
lea edx, [esp + 0x150]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x402bc2
mov eax, dword [esp + 0xc]
mov dword [eax + 0xc], 0x104
jmp 0x402cad
test ebx, ebx
jne 0x402c9f
lea ecx, [esp + 0x150]
push str..inf
push ecx
call fcn.00403889
mov byte [eax], bl
lea eax, [esp + 0x158]
add esp, 8
add eax, 0xffffffff
jmp 0x402bf0
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x402bf0
mov edx, dword [str..pnf]
mov cl, byte [0x40fc80]
mov dword [eax], edx
lea edx, [esp + 0x10]
mov byte [eax + 4], cl
push edx
lea eax, [esp + 0x154]
push eax
call esi
cmp eax, 0xffffffff
je 0x402c41
push eax
call ebp
lea ecx, [esp + 0x150]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x402c41
mov edx, dword [esp + 0xc]
mov dword [edx + 0xc], 0x104
jmp 0x402cad
push edi
lea ecx, [esp + 0x154]
mov eax, 4
call fcn.00401a10
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x154]
push ecx
call esi
cmp eax, 0xffffffff
je 0x402c9f
push eax
call ebp
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x154]
mov eax, 5
call fcn.00401a10
lea eax, [esp + 0x150]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x402c9f
mov ecx, dword [esp + 0xc]
mov dword [ecx + 0xc], 0x104
jmp 0x402cad
mov eax, 1
jmp 0x402caf
mov dword [eax + 0xc], 4
xor eax, eax
mov ecx, dword [esp + 0x25c]
pop esi
pop ebp
xor ecx, esp
call fcn.004030dc
add esp, 0x258
ret 4

Function at 0x4030dc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411020]
jne 0x4030e6
repz ret
jmp fcn.00403ac1
Function at 0x4060ed
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x4117e8]
je 0x406108
inc edi
cmp edi, 0x17
jb 0x4060f9
cmp edi, 0x17
jae 0x406288
push ebp
push 3
call fcn.0040a1f1
cmp eax, 1
pop ecx
je 0x406254
push 3
call fcn.0040a1f1
test eax, eax
pop ecx
jne 0x40613c
cmp dword [0x41101c], 1
je 0x406254
cmp ebx, 0xfc
je 0x406287
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x4123f8
push ebp
call fcn.00407b19
add esp, 0xc
test eax, eax
je 0x406172
push esi
push esi
push esi
push esi
push esi
call fcn.00404c28
add esp, 0x14
push 0x104
mov esi, 0x412411
push esi
push 0
mov byte [0x412515], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4061b6
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00407b19
add esp, 0xc
test eax, eax
je 0x4061b6
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00404c28
add esp, 0x14
push esi
call fcn.00405c70
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x4061fb
push esi
call fcn.00405c70
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x41270c
push 0x40e944
sub ecx, eax
push ecx
push eax
call fcn.00407a66
add esp, 0x14
test eax, eax
je 0x4061fb
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00404c28
add esp, 0x14
jmp 0x4061fd
xor esi, esi
push 0x40e940
push ebx
push ebp
call fcn.004079a5
add esp, 0xc
test eax, eax
je 0x40621d
push esi
push esi
push esi
push esi
push esi
call fcn.00404c28
add esp, 0x14
push dword [edi*8 + 0x4117ec]
push ebx
push ebp
call fcn.004079a5
add esp, 0xc
test eax, eax
je 0x40623f
push esi
push esi
push esi
push esi
push esi
call fcn.00404c28
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0040a034
add esp, 0xc
jmp 0x406287
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x406287
cmp ebp, 0xffffffff
je 0x406287
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x4117ec]
push dword [esi]
call fcn.00405c70
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x40a034
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00404662
xor ebx, ebx
cmp dword [0x4129f8], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x40a10a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x40a1ea
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x40a1ea
push eax
call fcn.004045f4
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4129f8], eax
call esi
push eax
call fcn.004045f4
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4129fc], eax
call esi
push eax
call fcn.004045f4
mov dword [0x412a00], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00405e7a
test eax, eax
pop ecx
pop ecx
je 0x40a0d8
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00404c28
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x40a10a
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004045f4
cmp eax, ebx
pop ecx
mov dword [0x412a08], eax
je 0x40a10a
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004045f4
pop ecx
mov dword [0x412a04], eax
mov eax, dword [0x412a04]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x40a18f
cmp dword [0x412a08], ecx
je 0x40a18f
push eax
call fcn.0040466b
push dword [0x412a08]
mov esi, eax
call fcn.0040466b
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x40a18f
cmp edi, ebx
je 0x40a18f
call esi
cmp eax, ebx
je 0x40a15c
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40a15c
test byte [ebp - 0x18], 1
jne 0x40a18f
lea eax, [ebp - 0x10]
push eax
call fcn.00405eb1
test eax, eax
pop ecx
je 0x40a177
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00404c28
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x40a186
or dword [ebp + 0x10], 0x200000
jmp 0x40a1ca
or dword [ebp + 0x10], 0x40000
jmp 0x40a1ca
mov eax, dword [0x4129fc]
cmp eax, dword [ebp - 8]
je 0x40a1ca
push eax
call fcn.0040466b
cmp eax, ebx
pop ecx
je 0x40a1ca
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x40a1ca
mov eax, dword [0x412a00]
cmp eax, dword [ebp - 8]
je 0x40a1ca
push eax
call fcn.0040466b
cmp eax, ebx
pop ecx
je 0x40a1ca
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4129f8]
call fcn.0040466b
cmp eax, ebx
pop ecx
je 0x40a1ea
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40a1ec
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000a5c0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [0x101f8958], 0x48d
mov dword [ebp - 4], 0
mov dword [0x101f8954], 0x17cb
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x1000a697
mov eax, dword [ebp - 0x14]
mov dword [0x101f8954], 0x97e
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
je 0x1000a65b
jmp 0x1000a70b
mov eax, dword [ebp - 0x1c]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
jl 0x1000a697
jmp 0x1000a603
mov dword [0x101f8954], 0xc3b
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x1000a6cb
jmp 0x1000a70b
mov dword [0x101f8954], 0x1217
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff4
shl eax, 1
mov ecx, dword [ebp - 0xc]
add ecx, eax
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
cmp word [eax], 0x6f
jne 0x1000a70b
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x1000a6b6
jmp 0x1000a70b
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], edx
je 0x1000a603
jmp 0x1000a624
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x1000a63d
jmp 0x1000a70b
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff8
shl eax, 1
mov ecx, dword [ebp - 0xc]
add ecx, eax
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
cmp word [eax], 0x6c
jne 0x1000a70b
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0xe], 0x6c
jne 0x1000a70b
mov dword [0x101f8954], 0xd1
mov eax, 1
mov dword [ebp - 0x28], eax
jmp 0x1000a71a
xor eax, eax
mov dword [0x101f8958], 0xcc5
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
add esp, 0x28
pop ebp
ret
Function at 0x1000aad0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x101f895c], 0
mov dword [0x101f8960], 0
mov dword [0x101f896c], 0
mov edi, dword [0x101f8958]
mov ebx, edi
add ebx, 0x1f87
mov dword [0x101f8954], ebx
add edi, 0xfffff200
mov dword [0x101f8958], edi
cmp eax, 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
je 0x1000ac2c
jmp 0x1000ac34
jmp 0x1000ac2c
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
mov edi, 0x100
mov dword [0x101f8954], 0xdc4
add ecx, 1
mov dword [ebp - 0x34], eax
mov eax, ecx
mov dword [ebp - 0x38], edx
cdq
idiv edi
mov dword [0x101f895c], edx
mov ecx, dword [ebp - 0x1c]
movzx ebx, byte [ecx + edx]
mov ecx, dword [ebp - 0x38]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x3c], edx
cdq
idiv edi
mov dword [0x101f8960], edx
mov ecx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x3c]
mov cl, byte [ecx + edi]
mov byte [0x101f8964], cl
add esi, 0xfffffc52
mov dword [0x101f8954], esi
mov esi, dword [ebp - 0x1c]
mov cl, byte [esi + edx]
mov byte [esi + edi], cl
mov cl, byte [0x101f8964]
mov edx, dword [0x101f8960]
mov byte [esi + edx], cl
mov edx, dword [0x101f8954]
add edx, 0x109d
mov dword [0x101f8954], edx
mov edx, dword [0x101f895c]
movzx edx, byte [esi + edx]
mov ebx, dword [0x101f8960]
movzx ebx, byte [esi + ebx]
add ebx, edx
mov dword [0x101f8958], 0x19a1
and ebx, 0xff
mov dword [0x101f896c], ebx
mov cl, byte [esi + ebx]
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x34]
xor cl, byte [edx + ebx]
mov edx, dword [ebp - 0x18]
mov byte [edx + ebx], cl
add ebx, 1
mov ecx, dword [ebp - 0x10]
cmp ebx, ecx
mov dword [ebp - 0x40], ebx
je 0x1000ab42
jmp 0x1000ac4e
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0x20]
mov edx, eax
mov esi, eax
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x24], eax
jmp 0x1000ab47
mov eax, dword [0x101f8960]
mov ecx, dword [0x101f895c]
mov edx, dword [0x101f8958]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
mov esi, dword [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], esi
jmp 0x1000ab47
Function at 0x1000b100
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x101f8958], 0xc97
mov dword [0x101f8960], 0
mov byte [0x101f8964], 0
mov dword [0x101f8954], 0x883
mov dword [0x101f895c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x101f895c]
add eax, 1
mov dword [0x101f895c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1000b14f
xor eax, eax
mov ecx, dword [0x101f8954]
add ecx, 0xfffff616
mov dword [0x101f8954], ecx
mov dword [0x101f895c], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x101f8968], 0
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x101f8958], 0x244a
mov edi, dword [0x101f8960]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x101f8968], esi
mov dword [0x101f8954], 0x1147
mov eax, esi
cdq
idiv ecx
mov dword [0x101f8960], edx
mov dword [0x101f8958], 0x1720
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x101f8964], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov dword [0x101f8954], 0x1aa3
mov cl, byte [0x101f8964]
mov esi, dword [0x101f8960]
mov byte [ebx + esi], cl
mov esi, dword [0x101f895c]
add esi, 1
mov dword [0x101f895c], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x1000b196
mov eax, dword [0x101f8954]
add eax, 0xa65
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [0x101f8954], eax
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000b270
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x54
mov eax, dword [ebp + 8]
mov dword [0x101f8954], 0x9b4
mov dword [ebp - 0x10], eax
call fcn.1000a230
mov ecx, dword [0x101f8954]
add ecx, 0xfffff012
mov dword [0x101f8958], ecx
mov ecx, eax
mov edx, dword [eax + 0x3c]
mov dword [0x101f8958], 0x159f
mov edx, dword [eax + edx + 0x78]
mov dword [0x101f8954], 0x1669
mov eax, dword [eax + edx + 0x20]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], eax
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
add ecx, edx
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
mov ebx, dword [esi + edi + 0x24]
mov dword [0x101f8958], 0xfffffd24
mov edx, dword [esi + edi + 0x18]
cmp edx, 0
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], eax
je 0x1000b413
mov eax, 0x1669
xor ecx, ecx
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x20]
add edx, esi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
xor esi, esi
add edx, 0x15c
mov edi, dword [ebp - 0x28]
mov ebx, dword [edi + ecx*4]
mov dword [0x101f8954], edx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x4c], esi
mov eax, dword [ebp - 0x4c]
mov ecx, eax
mov edx, dword [ebp - 0x44]
add ecx, edx
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov bl, cl
mov dword [ebp - 0x50], eax
mov byte [ebp - 0x51], bh
mov byte [ebp - 0x52], cl
mov byte [ebp - 0x53], bl
je 0x1000b3b0
mov eax, dword [ebp - 0x50]
add eax, 1
mov cl, byte [ebp - 0x51]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x52]
and ch, dl
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x59], ch
mov eax, dword [ebp - 0x58]
cmp eax, 0x20
setb cl
mov dl, byte [ebp - 0x59]
and dl, cl
test dl, 1
mov cl, byte [ebp - 0x52]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x53], cl
jne 0x1000b348
mov al, byte [ebp - 0x53]
test al, 1
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x60], ecx
jne 0x1000b3e7
mov eax, dword [ebp - 0x3c]
add eax, 2
mov ecx, dword [ebp - 0x40]
add ecx, 1
mov edx, dword [ebp - 0x24]
cmp ecx, edx
mov esi, dword [ebp - 0x48]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], eax
jb 0x1000b31c
jmp 0x1000b40c
mov eax, dword [ebp - 0x60]
movzx eax, word [eax]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
add ecx, dword [ecx + edx + 0x1c]
mov esi, dword [ebp - 0x18]
add esi, dword [ecx + eax*4]
mov dword [0x101f8954], 0xfffff26b
mov dword [ebp - 0x2c], esi
jmp 0x1000b413
xor eax, eax
mov dword [ebp - 0x2c], eax
jmp 0x1000b413
mov eax, dword [ebp - 0x2c]
add esp, 0x54
pop esi
pop edi
pop ebx
pop ebp
ret