joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1037c013
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1037c0b0
push ebx
push esi
call fcn.1037bfdc
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1037924a
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1037c05d
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1037c0af
push edi
push eax
call fcn.10374c1b
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1037c07d
call fcn.10374807
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1037c0ae
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1037924a
add esp, 0x20
test eax, eax
jne 0x1037c09c
push edi
call fcn.10374807
jmp 0x1037c0a4
push ebx
call fcn.10374807
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1037c0b3
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x1037c0c4
pop esi
ret
push ebx
push edi
push esi
call fcn.1037bfdc
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.10374c1b
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x1037c0ec
push ebx
push esi
push edi
call fcn.1034c3a0
add esp, 0xc
push 0
call fcn.10374807
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x1037c838
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1037c35f
Function at 0x103854cc
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10385448
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x10385644
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x10385644
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x103855f3
jg 0x10385525
test eax, eax
je 0x103855e9
push 1
push 0x1000
call fcn.10373b9e
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x1038554b
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x103855e0
push 0x8000
push ebx
call fcn.10385379
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x10385577
jg 0x10385572
cmp ecx, 0x1000
jb 0x10385577
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.10374607
add esp, 0x10
cmp eax, 0xffffffff
je 0x103855bc
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x10385572
jl 0x103855a3
test ecx, ecx
jne 0x10385564
push dword [ebp - 0xc]
push ebx
call fcn.10385379
push esi
call fcn.10374807
add esp, 0xc
xor edi, edi
jmp 0x10385655
cmp byte [edi + 0x24], 0
je 0x103855d3
cmp dword [edi + 0x20], 5
jne 0x103855d3
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x103855de
mov edi, dword [edi + 0x18]
jmp 0x103855e0
xor edi, edi
push esi
call fcn.10374807
pop ecx
jmp 0x10385655
test ecx, ecx
jg 0x103855b5
jl 0x103855f3
test eax, eax
jae 0x103855b5
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.103779a6
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x10385616
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x103855b5
jmp 0x1038564d
push ebx
call fcn.103815c6
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x103855b5
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x10385655
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x10385652
mov edi, dword [edi + 0x18]
jmp 0x10385655
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.103779a6
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10386da0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10386dcd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10386dcd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x625bd7
Capabilities:
Encode data using xor

Disassembly:
lea esp, [0x2b8afa5f]
outsb dx, byte [esi]
mov bl, 0x6d
insd dword es:[edi], dx
push ebp
push edi
wait
inc eax
ror dword [ebx + ebp*4 - 0x51], cl
dec esp
stosd dword es:[edi], eax
scasd eax, dword es:[edi]
dec esp
stosd dword es:[edi], eax
scasd eax, dword es:[edi]
mov bh, 0xd0
mov ah, 0x20
fnstcw word [ecx + edx*2 + 0x4b]
xchg ebx, eax
stc
pop esp
xchg edi, eax
lodsb al, byte [esi]
push eax
xor eax, 0x5db02c4b
mov al, 0x2a
mov al, 0xd2
arpl ax, bx
jg 0x625bd1
jae 0x625bc9
push ebp
int1
jno 0x625c26
add al, 0x73
push esi
push 0xffffffffffffff86
jns 0x625c6a
mov dh, 0xbd
fcmovbe st(0), st(2)
inc ecx
mov bh, byte [0x2c5c1a6a]
cmp dl, bl
mov al, 0x13
xor ebx, edx
hlt
invalid
mov dl, 0xa4
arpl word [ebx + 0x7a], sp
adc ebp, esp
xor ebp, esp
mov byte [0x1a73dce1], al
sbb al, 0xf0
outsb dx, byte [esi]
in eax, 0xb0
adc byte [ebx + edi*8], ah
and ebp, 0xcd0ab27
les esp, [eax - 0x76]
arpl word [esi - 0x3db940d4], di
ret 0x19b0
ror dword [ebx + edx*2 + 0x759e7bdb], 0x7b
cmp bl, byte [ecx + 0x4f6cf1a1]
mov word [esi - 0x7aacabc7], es
div dword [ecx]
jno 0x625c28
pop esi
sub bh, 0x62
xchg edx, eax
rcl byte [esi - 0x28], cl
mov dl, 0x55
inc ebp
mov byte [0x517af080], al
loope 0x625cf2
movsb byte es:[edi], byte [esi]
movsb byte es:[edi], byte [esi]
ret
xchg esi, eax
xor dword [ecx], 0xf3d17149
push esi
lodsb al, byte [esi]
bound eax, qword [edi + 0x23fa5b62]
adc dword [esi - 0x22], esi
popal
mov edi, 0x46f4bfeb
retf

Function at 0x65993d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x662168
cmp edx, dword [eax]
je 0x65995f
add eax, 8
inc ecx
cmp eax, 0x6621f8
jl 0x659950
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x662168]
jne 0x659a8d
mov eax, dword [0xa67a90]
cmp eax, 1
je 0x659a67
test eax, eax
jne 0x659990
cmp dword [0x662094], 1
je 0x659a67
cmp edx, 0xfc
je 0x659a8d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x6599c7
lea eax, [ebp - 0x1a4]
push 0x65edf0
push eax
call fcn.0065a320
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0065a7b0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x659a0a
lea eax, [ebp - 0x1a4]
push eax
call fcn.0065a7b0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x65edec
push edi
call fcn.0065c680
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x65edd0
push eax
call fcn.0065a320
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0065a330
lea eax, [ebp - 0xa0]
push 0x65edcc
push eax
call fcn.0065a330
push dword [esi + 0x66216c]
lea eax, [ebp - 0xa0]
push eax
call fcn.0065a330
push 0x12010
lea eax, [ebp - 0xa0]
push 0x65eda4
push eax
call fcn.0065c5f4
add esp, 0x2c
pop edi
jmp 0x659a8d
lea eax, [ebp + 8]
lea esi, [esi + 0x66216c]
push 0
push eax
push dword [esi]
call fcn.0065a7b0
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 0x75b9b1
Capabilities:
Set environment variable

Disassembly:
mov dword [esi + 0x44], ebx
jmp 0x64998a
push 0x457aa0
jmp 0x68f897
push str.DNGTrialState
jmp 0x72ffef
jle 0x72fff5
cmp ebp, ebx
jmp 0x732127
jne 0x64998a
mov dword [esi + 0x28], ebx
mov dword [esi + 0x40], ebx
jmp 0x5c6ad7
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
jmp 0x62a336
nop
jmp 0x6a512a
jb 0x6f89a6
xor ebp, ebp
jmp 0x6f89a6
xor eax, 0x752c323e
jmp 0x6b79a6
push str.DNGTrialState
jmp 0x642db8
jmp fcn.0043940d
call fcn.005c8c64
je 0x6f89a6
mov ebx, dword [esi + 0x30]
test ebp, esi
push 0
add edi, 1
call fcn.0043d75c
add esp, 4
cmp bl, 0x85
cmp eax, ebx
jmp 0x667d46
xor ebx, ebx
cmp edi, ebx
jmp 0x5efbfa
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
cmp ebp, ebx
jmp 0x62a330
je 0x5da7a8
push 0x45f3a0
jmp 0x5dbfab
lea eax, [eax + ecx*2 - 0x83fe422]
mov dword [esp + ecx*2], 0x2890ee80
imul ecx, edx
jae 0x6759d0
mov eax, 0x7d958e82
mov dx, word [eax + edi - 0x7d958e82]
lea ecx, [eax*4 - 0x26f756c9]
mov cl, byte [edi + eax - 0x7d958e80]
inc eax
lea edi, [eax + edi - 0x7d958e81]
not eax
shr dx, cl
mov word [edi], dx
mov ecx, eax
movzx edx, cx
mov eax, dword [ebp + edx*8 - 0x38be0]
lea ebp, [ebp + edx - 0x7178]
and cx, cx
xor eax, ebx
call fcn.007098ec

Function at 0x7f5bd8
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x7f5bde
pop ebp
sub ebp, 6
sub ebp, 0x3f5bd8
jmp 0x7f5c3c
jmp 0x7f5c45
mov eax, 0x3f5bd8
add eax, ebp
add eax, 0x93
mov ecx, 0x5c3
mov edx, 0x15487d8f
xor byte [eax], dl
inc eax
dec ecx
jne 0x7f5c5c
jmp 0x7f5c6f
add al, 0x42
add al, 6
mov bl, 0x8f
invalid
Function at 0x102591da
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1029585c]
jne 0x102591e4
repz ret
jmp fcn.1025b24a

Function at 0x1025b523
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.10258bf0
and dword [ebp - 4], 0
cmp dword [0x102975dc], 0
mov ebx, eax
jne 0x1025b5d4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1025b685
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1025b685
push eax
call fcn.10258b7e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x102975dc], eax
call esi
push eax
call fcn.10258b7e
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x102975e0], eax
call esi
push eax
call fcn.10258b7e
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x102975e4], eax
call esi
push eax
call fcn.10258b7e
pop ecx
mov dword [0x102975ec], eax
test eax, eax
je 0x1025b5d4
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10258b7e
pop ecx
mov dword [0x102975e8], eax
mov eax, dword [0x102975e8]
cmp eax, ebx
je 0x1025b62c
cmp dword [0x102975ec], ebx
je 0x1025b62c
push eax
call fcn.10258bf9
push dword [0x102975ec]
mov esi, eax
call fcn.10258bf9
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1025b62c
test edi, edi
je 0x1025b62c
call esi
test eax, eax
je 0x1025b623
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1025b623
test byte [ebp - 0xc], 1
jne 0x1025b62c
or dword [ebp + 0x10], 0x200000
jmp 0x1025b665
mov eax, dword [0x102975e0]
cmp eax, ebx
je 0x1025b665
push eax
call fcn.10258bf9
pop ecx
test eax, eax
je 0x1025b665
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1025b665
mov eax, dword [0x102975e4]
cmp eax, ebx
je 0x1025b665
push eax
call fcn.10258bf9
pop ecx
test eax, eax
je 0x1025b665
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x102975dc]
call fcn.10258bf9
pop ecx
test eax, eax
je 0x1025b685
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1025b687
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1025d48e
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
mov eax, dword [0x10295214]
add eax, 0xffffda07
mov dword [0x10295214], eax
call fcn.10001070
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
jne 0x1025d5f4
lea eax, [esp + 0x38]
mov dword [0x10295214], 0xbdc
mov dword [esp + 0x20], eax
call fcn.1025e74c
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x1c], ecx
jne 0x1025d5ec
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.1025d6a3
lea ecx, [0x1025e9d4]
mov dword [0x10295218], 0xb1d
mov edx, dword [esp + 0x28]
mov dword [esp + 0x78], edx
mov dword [esp + 0x50], 0x118600
mov edx, dword [0x10295200]
mov dword [esp + 0x4c], edx
mov edx, dword [0x10295204]
mov dword [esp + 0x3c], edx
mov edx, dword [0x10295208]
mov dword [esp + 0x6c], edx
mov edx, dword [0x1029520c]
mov dword [esp + 0x8c], edx
mov dword [0x10295214], 0x135a
mov edx, dword [0x10295210]
mov dword [esp + 0x38], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
jne 0x1025d57e
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x1025d592
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x1025d55b
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x7c], ecx
mov edx, dword [esp + 0xc]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x54], esi
mov dword [0x10295214], 0x111c
mov esi, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.1025d954
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov ecx, dword [0x10295214]
add ecx, 0xfffff0fe
mov dword [0x10295214], ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x1025d954
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [0x1025f6e9]
mov esi, 0xe
lea edi, [ebp - 0x28]
mov dword [0x10295214], 0x90d
mov dword [0x10295218], 0xb59
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0xe
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
call fcn.1025e095
mov eax, dword [0x10295214]
add eax, 0x1da2
mov dword [0x10295218], eax
call fcn.1025dc0b
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.1025de6b
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
je 0x1025daa3
jmp 0x1025d9f6
mov eax, dword [ebp - 0x44]
add eax, 0x1000
mov dword [0x10295218], 0x1479
mov dword [ebp - 0x40], eax
jmp 0x1025daa3
mov eax, dword [ebp - 0x3c]
mov dword [0x10295218], 0xc01
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [0x10295214], 0x1a95
mov dword [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x44], eax
call fcn.1025dcb5
xor eax, eax
mov ecx, dword [ebp - 0x44]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
mov dword [0x10295218], 0x539
add ecx, 0xffc00000
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x24], ecx
mov ecx, dword [0x10295218]
add ecx, 0xffffeed3
mov dword [0x10295218], ecx
mov ecx, dword [ebp - 0x44]
mov dword [edx + 0x10], ecx
mov dword [0x10295214], 0x147
cmp ecx, 0
mov dword [ebp - 0x40], eax
jne 0x1025d9dc
mov eax, dword [ebp - 0x40]
add esp, 0x4c
pop esi
pop edi
pop ebp
ret
Function at 0x1025e1fd
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x1029521c], 0
mov dword [0x10295220], 0
mov dword [0x1029522c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
xor eax, eax
mov ecx, dword [0x10295214]
add ecx, 0x5f1
mov dword [0x10295214], ecx
mov edx, dword [ebp - 0x10]
cmp edx, 0
mov esi, eax
mov edi, eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], eax
je 0x1025e380
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x28]
mov edi, 0x100
add ecx, 0x214e
mov dword [0x10295214], ecx
add edx, 1
mov dword [ebp - 0x30], eax
mov eax, edx
cdq
idiv edi
mov dword [0x1029521c], edx
mov dword [0x10295218], 0xe94
mov ecx, dword [ebp - 0x1c]
movzx ebx, byte [ecx + edx]
add ebx, esi
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv edi
mov dword [0x10295220], edx
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x10295224], cl
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov dword [0x10295214], 0x20fe
mov cl, byte [0x10295224]
mov edx, dword [0x10295220]
mov byte [edi + edx], cl
mov edx, dword [0x1029521c]
movzx edx, byte [edi + edx]
mov ebx, dword [0x10295220]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x1029522c], ebx
mov dword [0x10295214], 0x211
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x30]
mov ch, byte [edx + ebx]
mov byte [0x10295231], ch
mov byte [0x10295232], cl
mov dword [0x10295214], 0x1106
xor ch, cl
mov byte [0x10295230], ch
mov edx, dword [ebp - 0x18]
mov byte [edx + ebx], ch
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x38], ebx
je 0x1025e380
mov eax, dword [0x1029521c]
mov ecx, dword [0x10295220]
mov edx, dword [0x10295214]
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x2c], esi
jmp 0x1025e26f
mov eax, dword [0x10295218]
add eax, 0x221
mov dword [0x10295218], eax
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1025e43e
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [0x10295220], 0
mov byte [0x10295224], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
xor eax, eax
mov dword [0x10295214], 0x9b7
mov dword [0x1029521c], 0
mov dword [ebp - 0x1c], eax
jmp 0x1025e496
mov dword [0x1029521c], 0
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x1025e4c8
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x10295214], 0x1a34
mov eax, dword [0x1029521c]
add eax, 1
mov dword [0x1029521c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1025e496
jmp 0x1025e485
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x10295228], 0
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x10295218], 0xa70
mov edi, dword [0x10295220]
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 [0x10295228], esi
mov dword [0x10295214], 0x2605
mov eax, esi
cdq
idiv ecx
mov dword [0x10295220], edx
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x10295224], cl
mov dword [0x10295218], 0x1d7f
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov dword [0x10295214], 0x14bd
mov cl, byte [0x10295224]
mov esi, dword [0x10295220]
mov byte [ebx + esi], cl
mov esi, dword [0x1029521c]
add esi, 1
mov dword [0x1029521c], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x1025e4c8
mov dword [0x10295214], 0x20f6
mov dword [0x10295218], 0xbda
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1025e599
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 ecx, dword [0x10295214]
add ecx, 0x89f
mov dword [0x10295214], ecx
mov dword [0x10295218], 0x1fa4
mov dword [ebp - 0x10], eax
call fcn.1025d349
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x1025e5f1
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x10295214], 0xfffff354
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x24]
mov dword [0x10295218], 0x1e93
mov edi, dword [edx + eax + 0x18]
cmp edi, 0
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], ebx
je 0x1025e741
jmp 0x1025e66b
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x40]
xor esi, esi
mov edi, dword [ebp - 0x28]
mov ebx, dword [edi + eax*4]
add edx, 0x89f
mov dword [0x10295214], edx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x54], esi
jmp 0x1025e685
mov eax, 0xfffff354
xor ecx, ecx
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x2c]
add edx, esi
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], ecx
jmp 0x1025e63d
mov eax, dword [ebp - 0x54]
mov ecx, eax
mov edx, dword [ebp - 0x4c]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x59], bh
mov byte [ebp - 0x5a], cl
je 0x1025e6d6
mov eax, dword [ebp - 0x58]
add eax, 1
mov cl, byte [ebp - 0x59]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x5a]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x54], eax
jne 0x1025e685
mov al, byte [ebp - 0x5a]
test al, 1
jne 0x1025e714
jmp 0x1025e6df
mov eax, dword [ebp - 0x48]
add eax, 2
mov dword [ebp - 0x60], eax
xor eax, eax
mov ecx, dword [ebp - 0x44]
add ecx, 1
mov edx, dword [ebp - 0x30]
cmp ecx, edx
mov esi, dword [ebp - 0x50]
mov edi, dword [ebp - 0x60]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x34], eax
jb 0x1025e63d
jmp 0x1025e741
mov eax, dword [ebp - 0x48]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov dword [0x10295214], 0x5ea
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x10295218], 0x19e
mov dword [ebp - 0x34], edi
mov eax, dword [ebp - 0x34]
add esp, 0x54
pop esi
pop edi
pop ebx
pop ebp
ret