joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428e90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x491ed0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
push edi
mov esi, ecx
call fcn.004269d0
mov ebx, eax
test ebx, ebx
mov dword [esp + 0xc], ebx
jne 0x428ee9
mov eax, dword [esp + 0x68]
xor ecx, ecx
mov ebx, eax
xor edx, edx
xor esi, esi
xor edi, edi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc
push ebp
mov ecx, ebx
call fcn.00423d70
mov ebp, dword [esp + 0x70]
mov edi, eax
add edi, ebp
mov ecx, ebx
mov dword [esp + 0x28], edi
call fcn.00423d60
mov edx, dword [esp + 0x74]
mov ecx, esi
add eax, edx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
call fcn.00428540
mov ebp, dword [eax]
lea edx, [esp + 0x38]
push edx
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x1c]
push eax
mov dword [esp + 0x24], ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x4c]
call fcn.0048ba40
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x70], 0
call fcn.0043ef40
add esp, 0xc
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x18]
call fcn.004263f0
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x38]
push 2
push edx
push eax
mov byte [esp + 0x70], 1
call dword [sym.imp.GDI32.dll_DPtoLP]
mov ecx, ebx
call fcn.00423ce0
mov ebx, eax
mov eax, edi
cmp eax, ebx
jge 0x428fb4
push edi
mov ecx, esi
call fcn.00426500
push eax
push ebp
mov ecx, esi
call fcn.004266c0
cmp eax, dword [esp + 0x40]
jg 0x428fb0
inc edi
mov ebp, eax
cmp edi, ebx
jl 0x428f8e
mov eax, ebx
jmp 0x428fba
cmp edi, ebx
jl 0x428fb8
mov eax, ebx
jmp 0x428fba
mov eax, edi
lea ecx, [eax - 1]
mov eax, dword [esp + 0x28]
cmp eax, ecx
jle 0x428fcb
mov dword [esp + 0x30], eax
jmp 0x428fd6
cmp edi, ebx
jl 0x428fd1
mov edi, ebx
dec edi
mov dword [esp + 0x30], edi
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
call fcn.00423ca0
mov ebp, eax
mov eax, dword [esp + 0x2c]
cmp eax, ebp
mov edi, eax
jge 0x42901d
push edi
mov ecx, esi
call fcn.00426420
push eax
push ebx
mov ecx, esi
call fcn.004267f0
cmp eax, dword [esp + 0x44]
jg 0x429015
inc edi
mov ebx, eax
cmp edi, ebp
jl 0x428fef
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x429027
cmp edi, ebp
jl 0x429021
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x429027
mov eax, dword [esp + 0x2c]
mov ecx, edi
dec ecx
cmp eax, ecx
jle 0x429030
mov ecx, eax
jmp 0x429039
cmp edi, ebp
jl 0x429036
mov edi, ebp
lea ecx, [edi - 1]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x28]
mov edx, esi
mov dword [edx], edi
mov dword [edx + 4], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x14]
call reloc.KERNEL32.dll_WinExec
lea ecx, [esp + 0x48]
mov dword [esp + 0x64], 0xffffffff
call fcn.0048bab2
mov ecx, dword [esp + 0x5c]
pop ebp
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc
Function at 0x42c190
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4920f8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
call fcn.004269d0
test eax, eax
je 0x42c298
lea ecx, [esp + 0xc]
call fcn.00402310
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.004269d0
mov ecx, eax
call fcn.004240e0
test eax, eax
je 0x42c27f
mov eax, dword [esp + 0x1c]
test eax, eax
mov ebp, eax
je 0x42c27f
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x42c27f
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
neg esi
push edi
push ebx
sbb esi, esi
and esi, edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, ebp
mov edi, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.00402510
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
pop edi
jne 0x42c261
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x42c27f
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [0x84bbb0]
push ebx
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0xc], 0x817de8
call fcn.00402510
mov ecx, dword [esp + 0x20]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10
Function at 0x42c2f0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.004269d0
test eax, eax
je 0x42c3df
mov ecx, edi
call fcn.004269d0
mov ecx, eax
call fcn.00423f90
test eax, eax
jne 0x42c3df
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x42c3df
mov eax, dword [0x84bbb0]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x42c352
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
lea ecx, [esp + 0x10]
mov ebp, dword [esp + 0x24]
push 1
push ecx
mov ecx, dword [edi + 0x44]
lea edx, [esp + 0x1c]
shr ecx, 4
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x2c]
and ecx, 1
push eax
push ecx
push ebp
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov ecx, edi
call fcn.004269d0
mov ecx, eax
call fcn.004241c0
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x28]
mov eax, 1
cmp ecx, eax
jne 0x42c3df
cmp ebx, eax
jne 0x42c3df
cmp dword [esp + 0x10], eax
jne 0x42c3c5
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xcc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x24]
push ecx
push ebp
push eax
mov ecx, edi
call dword [edx + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x42f050
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x492388
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x42f089
inc eax
mov dword [esi + 0x10], eax
jmp 0x42f19c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x42f09d
mov eax, 0xffffffc7
jmp 0x42f19e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x42f0ae
cmp dword [esi + 8], eax
jne 0x42f09d
cmp dword [esi + 8], eax
jne 0x42f0c7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x42f0c7
mov eax, 0xffffffc7
jmp 0x42f19e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x42f0db
push eax
mov ecx, ebx
call fcn.0042e880
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00402310
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x42f10c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00402330
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.0042dff0
test eax, eax
mov dword [esp + 0x38], eax
je 0x42f13f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x817e18
call fcn.00402510
mov eax, dword [esp + 0x38]
jmp 0x42f19e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.0042eeb0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x42f183
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.0042eed0
mov esi, eax
test esi, esi
jne 0x42f1b3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.0042eeb0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x42f155
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x817e18
call fcn.00402510
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x817e18
call fcn.00402510
mov eax, esi
jmp 0x42f19e

Function at 0x433b90
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x433bf0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x433bf0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x433bf0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x433bf0
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x433c30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x442330
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x442363
push esi
call fcn.004506f0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44235c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4423e9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4423d2
mov eax, dword [esi + 8]
test eax, eax
je 0x442387
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4423ce
cmp eax, 2
je 0x4423d2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44237a
cmp eax, 3
je 0x4423ad
cmp eax, 1
jne 0x44237a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44237a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44237a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00442410
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4423f8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00442410
add esp, 4
pop esi
ret

Function at 0x442c90
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x442cb1
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x442cb1
mov eax, dword [eax + 0x44]
test eax, eax
je 0x442cb1
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x460160
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x851dec]
xor edx, edx
cmp eax, edx
jne 0x460186
xor eax, eax
mov byte [eax + 0x851cec], al
inc eax
cmp eax, 0x100
jl 0x46016e
mov dword [0x851dec], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x851cec
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x460217
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x4601ea
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4601b8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x460290
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4602e3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4602ca
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x466c90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49322e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.004675b0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x81b9c4
call fcn.00484de2
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x466d23
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00484de2
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x466d1c
push 0
mov ecx, eax
call fcn.0045dd90
mov dword [esi + 0xc], eax
jmp 0x466d25
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x466d25
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x487448
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x487480
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004854fc
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004854d4
jmp 0x48748c
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x488b3a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x488b7c
call fcn.0048e5ea
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x488b7c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x488b73
xor eax, eax
jmp 0x488b84
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00488b8a
pop edi
pop esi
pop ebx
ret 4
Function at 0x100038e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov dword [ebp - 0x20], ecx
mov eax, dword [0x1004a0b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov edi, dword [ebp - 0x20]
mov ecx, dword [edi + 0x24]
mov eax, dword [ecx]
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 0x10]
push edx
lea edx, [ebp - 0x18]
push edx
push dword [edi + 0x28]
call dword [eax + 0x10]
mov ebx, eax
mov esi, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
sub esi, eax
push dword [edi + 0x20]
push esi
push 1
push eax
call fcn.1002734b
add esp, 0x10
cmp eax, esi
jne 0x10003950
cmp ebx, 1
je 0x100038f9
cmp ebx, 2
mov esi, 0xffffffff
je 0x10003953
mov eax, dword [ebp - 0x20]
push dword [eax + 0x20]
call fcn.10026fd9
add esp, 4
neg eax
sbb esi, esi
jmp 0x10003953
xor esi, esi
dec esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100183a8
mov eax, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x10003970
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
cmp byte [ecx + 0x2c], 0
je 0x10003994
push dword [ecx + 0x20]
push esi
push 1
push eax
call fcn.1002734b
add esp, 0x14
jmp 0x100039c3
test esi, esi
jle 0x100039bc
mov dword [ebp - 0x10], ecx
xor edi, edi
mov ebx, eax
movzx eax, byte [eax + edi]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
push eax
call dword [edx + 0x30]
cmp eax, 0xffffffff
je 0x100039be
inc edi
cmp esi, edi
mov eax, ebx
jne 0x1000399d
mov edi, esi
jmp 0x100039be
xor edi, edi
mov eax, edi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret 8

Function at 0x100039d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov ebx, dword [ebp + 8]
mov eax, dword [0x1004a0b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp ebx, 0xffffffff
je 0x10003a13
mov esi, ecx
mov byte [ebp - 0x19], bl
cmp byte [ecx + 0x2c], 0
je 0x10003a2b
xor edi, edi
inc edi
lea eax, [ebp - 0x19]
push dword [esi + 0x20]
push edi
push edi
push eax
call fcn.1002734b
add esp, 0x10
cmp eax, edi
je 0x10003a15
xor ebx, ebx
dec ebx
jmp 0x10003a15
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100183a8
mov eax, ebx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 4
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x20]
mov dword [ecx], eax
lea ebx, [ebp - 0x19]
mov ecx, dword [esi + 0x24]
mov eax, dword [ecx]
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 0x10]
push edx
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 0x24]
push edx
lea edx, [ebp - 0x18]
push edx
push ebx
push dword [esi + 0x28]
call dword [eax + 8]
cmp dword [ebp - 0x24], ebx
je 0x10003a0e
mov edi, eax
cmp eax, 3
je 0x10003a8c
cmp edi, 1
ja 0x10003a0e
mov ebx, dword [ebp - 0x20]
lea eax, [ebp - 0x18]
sub ebx, eax
push dword [esi + 0x20]
push ebx
push 1
push eax
call fcn.1002734b
add esp, 0x10
cmp eax, ebx
jne 0x10003a0e
mov ebx, dword [ebp - 0x24]
cmp edi, 1
je 0x10003a36
jmp 0x10003aa5
xor edi, edi
inc edi
push dword [esi + 0x20]
push edi
push edi
push ebx
call fcn.1002734b
add esp, 0x10
cmp eax, edi
jne 0x10003a0e
mov ebx, dword [ebp + 8]
jmp 0x10003a15
Function at 0x10003ae0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
cmp byte [ecx + 0x2c], 0
je 0x10003b04
push dword [ecx + 0x20]
push esi
push 2
push eax
call fcn.1002734b
add esp, 0x14
jmp 0x10003b34
test esi, esi
jle 0x10003b2d
mov dword [ebp - 0x10], ecx
xor edi, edi
mov ebx, eax
movzx eax, word [eax + edi*2]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
push eax
call dword [edx + 0x30]
cmp ax, 0xffff
je 0x10003b2f
inc edi
cmp esi, edi
mov eax, ebx
jne 0x10003b0d
mov edi, esi
jmp 0x10003b2f
xor edi, edi
mov eax, edi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret 8

Function at 0x10003b40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
movzx esi, word [ebp + 8]
mov eax, dword [0x1004a0b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp si, 0xffff
je 0x10003b86
mov edi, ecx
mov word [ebp - 0x1a], si
cmp byte [ecx + 0x2c], 0
je 0x10003b9e
lea eax, [ebp - 0x1a]
push dword [edi + 0x20]
push 1
push 2
push eax
call fcn.1002734b
add esp, 0x10
cmp eax, 1
je 0x10003b88
xor esi, esi
dec esi
jmp 0x10003b88
xor esi, esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100183a8
mov eax, esi
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 4
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x20]
mov dword [ecx], eax
lea esi, [ebp - 0x1a]
mov ecx, dword [edi + 0x24]
mov eax, dword [ecx]
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 0x10]
push edx
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 0x24]
push edx
lea edx, [ebp - 0x18]
push edx
push esi
push dword [edi + 0x28]
call dword [eax + 8]
cmp dword [ebp - 0x24], esi
je 0x10003b81
mov ebx, eax
cmp eax, 3
je 0x10003bff
cmp ebx, 1
ja 0x10003b81
mov esi, dword [ebp - 0x20]
lea eax, [ebp - 0x18]
sub esi, eax
push dword [edi + 0x20]
push esi
push 1
push eax
call fcn.1002734b
add esp, 0x10
cmp eax, esi
jne 0x10003b81
mov esi, dword [ebp - 0x24]
cmp ebx, 1
je 0x10003ba9
jmp 0x10003c18
xor ebx, ebx
inc ebx
push dword [edi + 0x20]
push ebx
push ebx
push esi
call fcn.1002734b
add esp, 0x10
cmp eax, ebx
jne 0x10003b81
movzx esi, word [ebp + 8]
jmp 0x10003b88

Function at 0x10003db0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor eax, eax
cmp edx, ecx
je 0x10003ddf
shl eax, 4
movsx esi, byte [edx]
add esi, eax
mov edi, esi
and edi, 0xf0000000
mov eax, edi
shr eax, 0x18
or eax, edi
xor eax, esi
inc edx
cmp ecx, edx
jne 0x10003dc1
pop esi
pop edi
pop ebp
ret 8

Function at 0x10003ef0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor eax, eax
cmp edx, ecx
je 0x10003f21
shl eax, 4
movzx esi, word [edx]
add esi, eax
mov edi, esi
and edi, 0xf0000000
mov eax, edi
shr eax, 0x18
or eax, edi
xor eax, esi
add edx, 2
cmp ecx, edx
jne 0x10003f01
pop esi
pop edi
pop ebp
ret 8
Function at 0x1000d634
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.10016404
mov ebx, eax
test esi, esi
je 0x1000d66d
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x1000d65a
movzx eax, word [eax]
jmp 0x1000d661
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
cmp ax, 0xffff
je 0x1000d66d
test bl, bl
jne 0x1000d673
jmp 0x1000d6d0
xor esi, esi
test bl, bl
jne 0x1000d6c1
mov ecx, dword [edi]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x1000d682
movzx eax, word [eax]
jmp 0x1000d687
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
movzx eax, ax
push eax
push 8
call dword [edx + 0xc]
test al, al
je 0x1000d6b2
mov ecx, dword [edi]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x1000d6ab
add eax, 2
mov dword [ecx + 0xc], eax
jmp 0x1000d640
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x1000d640
mov ecx, edi
call fcn.10016404
mov ebx, eax
test esi, esi
jne 0x1000d6d9
jmp 0x1000d6ca
mov ecx, edi
call fcn.10016404
mov ebx, eax
test bl, bl
jne 0x1000d6f8
jmp 0x1000d6fe
mov ecx, edi
call fcn.10016404
mov ebx, eax
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x1000d6e6
movzx eax, word [eax]
jmp 0x1000d6ed
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
cmp ax, 0xffff
sete al
xor bl, al
jne 0x1000d6fe
mov eax, dword [ebp + 0x10]
or byte [eax], 2
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
Function at 0x1002fc47
Capabilities:
Set environment variable

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

Function at 0x1003230f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1003231a
Function at 0x412a84
Capabilities:
Encode data using xor

Disassembly:
insb byte es:[edi], dx
xchg edx, eax
pushal
add cl, bl
inc dx
aas
mov ebx, 0xc34820d8
push cs
scasb al, byte es:[edi]
in al, 0xa0
push esp
fadd qword [ebp + 0x71]
arpl word [ecx], si
cmp dword [edi - 0x50], edx
inc ecx
sub dword [ecx], edi
sbb al, 0xfc
xor edx, ebx
xlatb
or esp, dword [eax - 0x68]
dec ebx
add al, 0x50
invalid
dec edi
pushfd
scasb al, byte es:[edi]
mov esi, 0x24ec1d92
loope 0x412a20
inc ebx
mov byte [0x72179974], al
mov edi, 0xe3e63283
xlatb
inc ecx
cmp byte gs:[esi - 0x6c], 0xa2
sbb dword [0xf0cd1e3e], ebp
daa
pop ss
sbb cl, byte [esi - 0x1c]
and ebx, eax
or ebp, dword [esi + 0x23]
push esp
xlatb
pop edx
scasd eax, dword es:[edi]
mov byte [0x3bf25dc3], al
out 0xc3, eax
call 0x944b6cb
sub eax, 0xc82348a0
fdivr qword [edi - 0x2c]
cmp ebp, dword [ebp - 0x12]
wait
dec ecx
inc esi
sub bl, byte [ecx + esi]
xor byte [edx], cl
cli
test al, 0x69
push ds
inc ecx
and byte [ebp + 0x4c], bh
cmp byte [eax + 0x75], ah
invalid