joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404e90
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, eax
xor ecx, ecx
mov eax, 0x34
mov edx, 2
mul edx
seto cl
push edi
mov dword [esi], 0
neg ecx
or ecx, eax
push ecx
call dword [0x46886c]
push str.Version
push str.fx_85GT_PLUS
push str.ESPLUSemulator4
push 0x4692a8
push str._s_s_s_s
mov edi, eax
push 0x34
push edi
call dword [0x4681a8]
add esp, 0x20
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push edi
push 0x80000002
call dword [section..rdata]
mov ebx, eax
mov dword [ebp - 0x14], ebx
test ebx, ebx
jne 0x404f99
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
push ebx
push str.VERSION
push ecx
mov dword [ebp - 0x10], 4
mov dword [ebp - 0xc], 0x20
call dword [0x468030]
mov ebx, dword [ebp - 4]
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 8]
lea edx, [esi + 8]
mov dword [esi + 4], eax
push edx
mov eax, 0x46933c
call fcn.004050e0
mov ebx, dword [ebp - 4]
lea eax, [esi + 0xc]
push eax
mov eax, str.HELP
call fcn.004050e0
mov ebx, dword [ebp - 4]
lea ecx, [esi + 0x1c]
push ecx
mov eax, str.SerialNo
call fcn.004050e0
mov ebx, dword [ebp - 4]
lea edx, [esi + 0x20]
push edx
mov eax, str.Country
call fcn.004050e0
mov ebx, dword [ebp - 4]
add esi, 0x24
push esi
mov eax, str.MANUAL
call fcn.004050e0
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
push eax
call dword [0x468034]
push edi
call dword [0x468888]
add esp, 4
pop edi
xor eax, eax
test ebx, ebx
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40297c
Capabilities:
Delete file
Get common file path
Set current directory

Disassembly:
add esp, 0xfffffbe0
push esp
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
cmp byte [0x415044], 0
jne 0x402a05
mov eax, esp
call fcn.00405fac
mov ecx, 6
mov edx, dword [str.RarSFX]
call fcn.0040fe14
test eax, eax
jne 0x402a05
push 0x41523d
call sub.KERNEL32.DLL_SetCurrentDirectoryA
mov eax, esp
call fcn.0040fce8
mov byte [esp + eax + 1], 0
lea eax, [esp + 0x400]
mov ecx, 0x1e
xor edx, edx
call fcn.0040fc68
mov dword [esp + 0x404], 3
mov word [esp + 0x410], 0x14
mov eax, esp
mov dword [esp + 0x408], eax
lea edx, [esp + 0x400]
push edx
call sub.SHELL32.DLL_SHFileOperationA
add esp, 0x420
ret

Function at 0x402b6d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
add esp, 0xfffff7f4
mov ebx, eax
cmp byte [0x4158fc], 0
je 0x402be6
lea edx, [esp + 0xc]
mov eax, ebx
call fcn.00402abd
push esp
push 1
push 0
push str.SoftwareWinRAR_SFX
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x402be6
mov dword [esp + 4], 0x400
lea ecx, [esp + 4]
push ecx
lea eax, [esp + 0x410]
push eax
lea edx, [esp + 0x10]
push edx
push 0
lea ecx, [esp + 0x1c]
push ecx
push dword [esp + 0x14]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x402bde
lea edx, [esp + 0x40c]
mov eax, ebx
call fcn.0040fd68
push dword [esp]
call sub.ADVAPI32.DLL_RegCloseKey
add esp, 0x80c
pop ebx
ret

Function at 0x402cac
Capabilities:
Get geographical location

Disassembly:
add esp, 0xffffff9c
push 0x64
lea eax, [esp + 4]
push eax
push 0xf
push 0x400
call sub.KERNEL32.DLL_GetLocaleInfoA
xor eax, eax
mov al, byte [esp]
add esp, 0x64
ret

Function at 0x402cb6
Capabilities:
Get geographical location

Disassembly:
add esp, 0xffffff9c
push 0x64
lea eax, [esp + 4]
push eax
push 0xf
push 0x400
call sub.KERNEL32.DLL_GetLocaleInfoA
xor eax, eax
mov al, byte [esp]
add esp, 0x64
ret
Function at 0x403088
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffc4
mov edi, edx
mov ebx, eax
push 0x67
push dword [0x416180]
call sub.USER32.DLL_GetDlgItem
mov esi, eax
cmp byte [0x415018], 0
jne 0x4030e4
mov eax, dword [0x41723c]
call fcn.004046a4
push 5
push esi
call sub.USER32.DLL_ShowWindow
push 0xffffffffffffffff
push 0
push 0xb1
push esi
call sub.USER32.DLL_SendMessageA
push 0x415095
push 0
push 0xc2
push esi
call sub.USER32.DLL_SendMessageA
mov byte [0x415018], 1
push 0x5f5e100
push 0x5f5e100
push 0xb1
push esi
call sub.USER32.DLL_SendMessageA
mov dword [esp], 0x3c
mov edx, esp
push edx
push 0
push 0x43a
push esi
call sub.USER32.DLL_SendMessageA
mov byte [esp + 0x19], 0
mov dword [esp + 4], 1
test bl, bl
je 0x40313e
and dword [esp + 8], 0xbfffffff
or dword [esp + 8], 1
mov dword [esp + 0x14], 0xa0
or dword [esp + 4], 0x40000000
mov ecx, esp
push ecx
push 1
push 0x444
push esi
call sub.USER32.DLL_SendMessageA
push edi
push 0
push 0xc2
push esi
call sub.USER32.DLL_SendMessageA
push 0x5f5e100
push 0x5f5e100
push 0xb1
push esi
call sub.USER32.DLL_SendMessageA
test bl, bl
je 0x403192
or dword [esp + 8], 0x40000000
and dword [esp + 8], 0xfffffffe
mov eax, esp
push eax
push 1
push 0x444
push esi
call sub.USER32.DLL_SendMessageA
push 0x4150bc
push 0
push 0xc2
push esi
call sub.USER32.DLL_SendMessageA
add esp, 0x3c
pop edi
pop esi
pop ebx
ret

Function at 0x403e4c
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov dword [0x416198], 1
mov ebx, dword [0x416180]
test ebx, ebx
je 0x403e74
mov eax, 0x7d
call fcn.00402bf4
push eax
push 1
push ebx
call sub.USER32.DLL_SetDlgItemTextA
xor edx, edx
mov dword [0x41619c], edx
mov dword [0x4161a0], 1
mov eax, dword [0x416180]
test eax, eax
je 0x403ecd
push 1
push eax
call sub.USER32.DLL_ShowWindow
cmp dword [0x415054], 0
jne 0x403ec4
cmp byte [0x415018], 0
jne 0x403ec4
push 0
push 1
push 0x111
push dword [0x416180]
call sub.USER32.DLL_SendMessageA
jmp 0x403ec4
call fcn.00402c70
cmp dword [0x416188], 2
jne 0x403ebf
cmp byte [0x4158f4], 0
je 0x403edb
call fcn.0040297c
pop ebx
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x4d52d7d
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e3d0
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x61870603
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x4b0250
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x74000]
push edi
or ebp, 0xffffffff
jmp 0x4b0272
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4b0279
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b0268
mov eax, 1
add ebx, ebx
jne 0x4b028b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4b029c
jne 0x4b02bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b02bb
dec eax
add ebx, ebx
jne 0x4b02a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4b0280
add ebx, ebx
jne 0x4b02b7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4b030d
xor ecx, ecx
sub eax, 3
jb 0x4b02d3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4b0342
sar eax, 1
mov ebp, eax
jmp 0x4b02de
add ebx, ebx
jne 0x4b02de
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b02ac
inc ecx
add ebx, ebx
jne 0x4b02ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b02ac
add ebx, ebx
jne 0x4b02f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4b02ee
jne 0x4b030a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4b02ee
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4b032c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4b031e
jmp 0x4b026e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4b032c
add edi, ecx
jmp 0x4b026e
pop esi
lea edi, [esi + 0xae000]
mov eax, dword [edi]
or eax, eax
je 0x4b038b
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xc76cc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xc77c0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4b0349
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xc77c8]
or eax, eax
je 0x4b0385
mov dword [ebx], eax
add ebx, 4
jmp 0x4b0366
call dword [esi + 0xc77c4]
mov ebp, dword [esi + 0xc77cc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4b03bf
sub esp, 0xffffff80
jmp 0x405000
Function at 0x408ca8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x4109f4], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x408d82
cmp dword [0x4109f0], 0
jne 0x408d82
cmp dword [0x410bfc], 0
je 0x408d3c
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.00408a78
add esp, 8
mov ebx, eax
test eax, eax
jne 0x408d22
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.00408a78
add esp, 8
mov ebx, eax
test eax, eax
jne 0x408d22
lea ebx, [ebp - 0x84]
jmp 0x408d23
inc ebx
call fcn.00408c64
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x408dbd
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x4109f8
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.00404cb4
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x4109fb
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x408dbd
cmp dword [0x4109f0], 0
je 0x408d9c
cmp dword [0x4109f0], 0xffffffff
je 0x408dbd
push esi
call dword [0x4109f0]
pop ecx
mov eax, dword [0x4109f4]
test eax, eax
je 0x408dbd
cmp dword [0x4109f4], 0xffffffff
je 0x408dbd
cmp byte [eax], 0
je 0x408dbd
push esi
push eax
call fcn.00408bc8
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0xe481fc
Capabilities:
Encode data using xor

Disassembly:
jmp 0xe48206
pushal
call 0xe4820c
pop ebp
sub ebp, 0x10
sub ebp, 0xa481fc
jmp 0xe48222
mov eax, 0xa481fc
add eax, ebp
add eax, 0x4c
mov ecx, 0x5e3
mov edx, 0x63fbf737
xor byte [eax], dl
inc eax
dec ecx
jne 0xe48239
jmp 0xe4824c
mov esp, 0xbbebcfa
aaa
aaa
aaa
mov dh, 0xf6
iretd
Function at 0x47f980
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x47fadb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x633998]
add eax, 0x115
mov edx, 0x47faf4
call fcn.0042474c
mov eax, dword [0x633998]
add eax, 0x115
mov edx, 0x47fb08
call fcn.0042474c
mov eax, dword [0x633998]
add eax, 0x115
mov edx, 0x47fb20
call fcn.0042474c
mov eax, dword [0x633998]
add eax, 0x115
mov edx, 0x47fb38
call fcn.0042474c
mov ebx, dword [0x633998]
mov ebx, dword [ebx + 0x135]
dec ebx
test ebx, ebx
jl 0x47fac0
inc ebx
xor esi, esi
lea ecx, [ebp - 8]
mov eax, dword [0x633998]
add eax, 0x115
mov edx, esi
call fcn.00424734
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.004098c0
cmp dword [ebp - 4], 0
je 0x47fab8
mov eax, dword [ebp - 4]
mov edx, 0x47fb50
call fcn.004057f0
je 0x47fab8
mov eax, dword [ebp - 4]
mov edx, 0x47fb5c
call fcn.004057f0
je 0x47fab8
mov eax, dword [ebp - 4]
call fcn.00405858
mov edi, eax
mov edx, edi
lea eax, [ebp - 0xc]
call fcn.004055c0
mov eax, dword [ebp - 0xc]
call fcn.00409f68
test al, al
je 0x47fab0
mov eax, dword [ebp - 4]
call fcn.00405858
mov edx, eax
lea eax, [ebp - 0x10]
call fcn.004055c0
mov eax, dword [ebp - 0x10]
xor edx, edx
call fcn.0046421c
push 0x20
push edi
call sub.kernel32.dll_SetFileAttributesA
mov eax, dword [ebp - 4]
call fcn.00405858
mov edx, eax
lea eax, [ebp - 0x14]
call fcn.004055c0
mov eax, dword [ebp - 0x14]
call fcn.00405858
push eax
call sub.kernel32.dll_DeleteFileA
jmp 0x47fab8
mov eax, dword [ebp - 4]
call fcn.004786bc
inc esi
dec ebx
jne 0x47fa03
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47fae2
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.004053ec
ret

Function at 0x482b78
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef4
mov ebx, edx
push esp
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.00405638
inc dword [ecx + 0x10cc4]
add byte [ebx - 0x3d], bl
Function at 0x6adf1a
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.006ae0ca
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x6ae018
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x6adfbb
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x6adffe
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x6adfd2
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x6adfed
test al, 0x40
je 0x6adfe4
mov ecx, dword [edi + 0x20]
jmp 0x6adfeb
test al, 0x80
je 0x6adffe
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x6adffe
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x6adf8a
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x6c324d
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp]
sub eax, 0x22
cmp byte [eax], 0xe8
jne 0x6c332c
add eax, dword [eax + 1]
add eax, 5
cmp word [eax], 0x25ff
jne 0x6c332c
mov eax, dword [eax + 2]
push eax
mov eax, dword [eax + 4]
cmp word [eax], 0xe850
jne 0x6c332c
add eax, dword [eax + 2]
add eax, 6
cmp dword [eax], 0x8bec8b55
jne 0x6c332c
push eax
pushal
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov ebx, dword [ebx]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x10]
mov eax, dword [ebx + 0x3c]
mov eax, dword [ebx + eax + 0x78]
test eax, eax
je 0x6c32db
lea esi, [ebx + eax]
mov ecx, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
lea edi, [ebx + edi]
mov ebp, dword [edi + ecx*4 - 4]
add ebp, ebx
xor eax, eax
xor edx, edx
mov al, byte [ebp]
test al, al
je 0x6c329d
ror edx, 0xd
add edx, eax
inc ebp
jmp 0x6c328e
cmp edx, 0x7946c61b
je 0x6c32ac
dec ecx
jne 0x6c3284
xor eax, eax
jmp 0x6c32db
mov edx, dword [esi + 0x24]
lea edx, [ebx + edx]
mov edx, dword [edx + ecx*2 - 2]
and edx, 0xffff
mov eax, dword [esi + 0x1c]
lea eax, [ebx + eax]
mov eax, dword [eax + edx*4]
lea eax, [ebx + eax]
cmp eax, esi
jbe 0x6c32db
mov ecx, dword [ebx + 0x3c]
mov ecx, dword [ebx + ecx + 0x7c]
add esi, ecx
cmp eax, esi
jae 0x6c32db
xor eax, eax
mov dword [esp + 0x1c], eax
popal
test eax, eax
je 0x6c332c
mov dword [ebp - 4], eax
push 0
push esp
push 0x40
push 0x40
push dword [esp + 0x18]
call dword [ebp - 4]
test eax, eax
je 0x6c332c
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0xc]
sub ecx, eax
sub ecx, 6
mov dword [eax + 2], ecx
mov ecx, dword [ebp - 4]
sub ecx, eax
sub ecx, 0x27
mov dword [eax + 0x23], ecx
push esp
push 0x40
push 0x40
push dword [esp + 0x14]
call dword [ebp - 4]
test eax, eax
je 0x6c332c
pop eax
pop ecx
pop eax
pop dword [eax + 4]
leave
ret
mov eax, 0
jmp 0x6c3336
mov esp, ebp
pop ebp
ret
Function at 0x6dce57
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x1018df30]
xor edx, edx
cmp eax, edx
jne 0x6dce7d
xor eax, eax
mov byte [eax + 0x1018de30], al
inc eax
cmp eax, 0x100
jl 0x6dce65
mov dword [0x1018df30], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x1018de30
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x6dcf0e
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 0x6dcee1
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 0x6dceaf
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x6dcf87
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 0x6dcfda
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 0x6dcfc1
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 0x6e1377
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x68
mov eax, dword [esp + 0x78]
push ebx
push esi
cmp eax, 1
push edi
mov dword [esp + 0x14], ecx
jl 0x6e1598
cmp eax, 8
jg 0x6e1598
cmp dword [esp + 0x8c], 2
jl 0x6e1598
mov eax, dword [esp + 0x7c]
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov ecx, dword [eax + 8]
mov dword [esp + 0x6c], ecx
sub ecx, esi
mov ebx, dword [eax + 0xc]
mov dword [esp + 0x7c], ecx
test ecx, ecx
mov dword [esp + 0x70], ebx
jle 0x6e1598
sub ebx, edi
test ebx, ebx
mov dword [esp + 0x20], ebx
jle 0x6e1598
mov eax, dword [esp + 0x80]
test eax, eax
je 0x6e13fe
mov edx, dword [eax]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x4c], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x50], eax
xor edx, edx
push ebp
test ebx, ebx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x14], edx
jle 0x6e1581
mov ebp, dword [0x100cf530]
mov eax, ebx
mov dword [esp + 0x10], 0x32
sub eax, edx
cmp eax, 0x32
jg 0x6e1430
mov dword [esp + 0x10], eax
xor eax, eax
test ecx, ecx
jle 0x6e1568
mov ebx, dword [esp + 0x10]
add ebx, edx
mov dword [esp + 0x20], ebx
sub ecx, eax
cmp ecx, 0x32
jle 0x6e1450
mov ecx, 0x32
lea ebx, [ecx + eax]
mov ecx, dword [esp + 0x20]
push ecx
push ebx
push edx
lea edx, [esp + 0x34]
push eax
push edx
call dword [0x100cf51c]
push edi
lea eax, [esp + 0x2c]
push esi
push eax
call ebp
mov eax, dword [esp + 0x84]
test eax, eax
je 0x6e148f
lea ecx, [esp + 0x48]
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
call dword [0x100cf524]
lea ecx, [esp + 0x28]
push ecx
call dword [0x100cf5d8]
test eax, eax
jne 0x6e154f
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x40], ecx
mov eax, edi
mov ecx, esi
mov dword [esp + 0x44], edx
neg eax
neg ecx
push eax
lea edx, [esp + 0x3c]
push ecx
push edx
call ebp
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x60], edx
lea edx, [esp + 0x58]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x94]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x94]
sub ecx, edi
sub eax, esi
push edx
push ecx
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x9c]
push eax
call fcn.006e0987
cmp eax, 1
jne 0x6e1579
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x80]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x28]
call fcn.006e1237
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x14]
mov eax, ebx
cmp eax, ecx
jl 0x6e1444
mov ebx, dword [esp + 0x24]
add edx, dword [esp + 0x10]
cmp edx, ebx
mov dword [esp + 0x14], edx
jge 0x6e1581
jmp 0x6e141b
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x18]
call fcn.006e0587
mov eax, dword [esp + 0x1c]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x68
ret 0x1c
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x68
ret 0x1c
Function at 0x6e4017
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x6e41af
cmp ebp, ebx
jle 0x6e41af
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x6e4075
dec eax
or eax, 0xfffffff8
inc eax
je 0x6e407c
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, 0x80000001
jns 0x6e408b
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x6e4092
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.00768aa9
add esp, 4
cmp eax, ebx
je 0x6e40b3
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.00768aa9
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x6e41a5
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x6e418c
mov al, byte [edx]
cmp al, 0xc0
jbe 0x6e4178
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x6e416d
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x6e417b
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x6e417b
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x6e4117
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x6e4108
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret