joyce8/EMBER2024-capa huggingface dataset:
Function at 0x424e00
Capabilities:
Check if file exists
Enumerate files on windows
Enumerate files recursively
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x570
cmp dword [ebp + 8], 0
je 0x424e19
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x424e20
xor al, al
jmp 0x424ff5
cmp dword [ebp + 0xc], 0
je 0x424e2c
cmp dword [ebp + 0x10], 1
jge 0x424e33
xor al, al
jmp 0x424ff5
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x358]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [ebp - 0x35c], 0
lea ecx, [ebp - 0x358]
mov dword [ebp - 4], ecx
jmp 0x424e66
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_CharNextA]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movsx ecx, byte [eax]
test ecx, ecx
je 0x424e7b
mov edx, dword [ebp - 4]
mov dword [ebp - 0x35c], edx
jmp 0x424e59
mov eax, dword [ebp - 0x35c]
movsx ecx, byte [eax]
cmp ecx, 0x5c
je 0x424e9e
mov edx, dword [ebp - 4]
mov byte [edx], 0x5c
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov byte [ecx], 0
lea edx, [ebp - 0x358]
push edx
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x42c54c
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
push 0
push 1
lea edx, [ebp - 0x250]
push edx
push 0
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileExA]
mov dword [ebp - 0x360], eax
cmp dword [ebp - 0x360], 0xffffffff
jne 0x424ef6
mov al, 1
jmp 0x424ff5
mov byte [ebp - 5], 1
push 0x42c054
lea ecx, [ebp - 0x224]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x424f26
push 0x42c050
lea edx, [ebp - 0x224]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x424f2b
jmp 0x424fc1
lea eax, [ebp - 0x358]
push eax
lea ecx, [ebp - 0x468]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [ebp - 0x224]
push edx
lea eax, [ebp - 0x468]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [ebp - 0x468]
push ecx
lea edx, [ebp - 0x570]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [str.SEARCH.lst]
push eax
lea ecx, [ebp - 0x570]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [ebp - 0x570]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x424fa7
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x468]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov byte [ebp - 5], 0
jmp 0x424fc1
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x468]
push edx
call fcn.00424e00
add esp, 0xc
mov byte [ebp - 5], al
movzx eax, byte [ebp - 5]
test eax, eax
je 0x424fe5
lea ecx, [ebp - 0x250]
push ecx
mov edx, dword [ebp - 0x360]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x424efa
mov eax, dword [ebp - 0x360]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret
Function at 0x4281b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
cmp dword [ebp + 0xc], 0
jne 0x4281c9
mov eax, 0x41c
jmp 0x4283cf
push 0
call dword [sym.imp.DENKIPM.dll_Ordinal_1379]
movzx eax, al
test eax, eax
je 0x4281df
xor eax, eax
jmp 0x4283cf
push 0
call dword [sym.imp.DENKIPM.dll_Ordinal_1380]
movzx ecx, al
test ecx, ecx
je 0x4281f5
xor eax, eax
jmp 0x4283cf
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0xffffffff
jne 0x428215
xor eax, eax
jmp 0x4283cf
mov eax, dword [ebp - 0x118]
and eax, 0x10
jne 0x42822a
mov eax, 0x41c
jmp 0x4283cf
push 0x104
lea ecx, [ebp - 0x110]
push ecx
mov ecx, dword [ebp + 8]
call dword [sym.imp.DENKIPM.dll_Ordinal_1219]
test eax, eax
jne 0x42824d
mov eax, 0x41c
jmp 0x4283cf
lea edx, [ebp - 0x110]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00429510
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x42826e
xor eax, eax
jmp 0x4283cf
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp + 8]
call dword [sym.imp.DENKIPM.dll_Ordinal_1220]
movzx eax, al
test eax, eax
jne 0x42828c
mov eax, 0x41c
jmp 0x4283cf
lea ecx, [ebp - 0x114]
call dword [sym.imp.DENKIPM.dll_Ordinal_1075]
lea ecx, [ebp - 0x114]
push ecx
mov ecx, dword [ebp + 8]
call dword [sym.imp.DENKIPM.dll_Ordinal_1244]
mov dword [ebp - 8], 0
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 4]
call dword [sym.imp.DENKIPM.dll_Ordinal_1384]
lea ecx, [ebp - 4]
call dword [sym.imp.DENKIPM.dll_Ordinal_1154]
jmp 0x4282d0
lea ecx, [ebp - 4]
call dword [sym.imp.DENKIPM.dll_Ordinal_1156]
lea ecx, [ebp - 4]
call dword [sym.imp.DENKIPM.dll_Ordinal_1155]
movzx eax, al
test eax, eax
jne 0x42836d
lea ecx, [ebp - 0x11c]
call dword [sym.imp.DENKIPM.dll_Ordinal_1075]
lea ecx, [ebp - 0x11c]
push ecx
lea ecx, [ebp - 4]
call dword [sym.imp.DENKIPM.dll_Ordinal_1416]
movzx edx, al
test edx, edx
je 0x428337
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x11c]
push ecx
call dword [sym.imp.DENKIPM.dll_Ordinal_1085]
movzx edx, al
test edx, edx
je 0x428337
mov dword [ebp - 8], 0x433
lea ecx, [ebp - 0x11c]
call dword [sym.imp.DENKIPM.dll_Ordinal_1078]
jmp 0x42836d
lea ecx, [ebp - 4]
call dword [sym.imp.DENKIPM.dll_Ordinal_1413]
movzx eax, al
test eax, eax
je 0x42835c
mov dword [ebp - 8], 0x41c
lea ecx, [ebp - 0x11c]
call dword [sym.imp.DENKIPM.dll_Ordinal_1078]
jmp 0x42836d
lea ecx, [ebp - 0x11c]
call dword [sym.imp.DENKIPM.dll_Ordinal_1078]
jmp 0x4282c7
lea ecx, [ebp - 0x110]
push ecx
mov ecx, dword [ebp + 8]
call dword [sym.imp.DENKIPM.dll_Ordinal_1220]
movzx edx, al
test edx, edx
jne 0x4283ab
mov dword [ebp - 0x120], 0x41c
lea ecx, [ebp - 4]
call dword [sym.imp.DENKIPM.dll_Ordinal_1208]
lea ecx, [ebp - 0x114]
call dword [sym.imp.DENKIPM.dll_Ordinal_1078]
mov eax, dword [ebp - 0x120]
jmp 0x4283cf
mov eax, dword [ebp - 8]
mov dword [ebp - 0x124], eax
lea ecx, [ebp - 4]
call dword [sym.imp.DENKIPM.dll_Ordinal_1208]
lea ecx, [ebp - 0x114]
call dword [sym.imp.DENKIPM.dll_Ordinal_1078]
mov eax, dword [ebp - 0x124]
mov esp, ebp
pop ebp
ret
Function at 0x428d90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
lea eax, [ebp - 0x2c]
push eax
push 1
push 0x42b744
mov ecx, dword [ebp + 8]
call dword [sym.imp.DENKIPM.dll_Ordinal_1478]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x428db8
or eax, 0xffffffff
jmp 0x428e24
mov ecx, dword [ebp + 0xc]
push ecx
push str.Suppress_u
lea edx, [ebp - 0x28]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov dword [ebp - 8], 4
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 4]
push edx
push 0
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x34], 0
je 0x428e09
or eax, 0xffffffff
jmp 0x428e24
cmp dword [ebp - 4], 4
je 0x428e14
or eax, 0xffffffff
jmp 0x428e24
mov eax, dword [ebp - 0x38]
and eax, 0xffff
mov word [ebp - 0x30], ax
movzx eax, word [ebp - 0x30]
mov esp, ebp
pop ebp
ret

Function at 0x429070
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x429730
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov byte [ebp - 1], 1
mov al, byte [0x42b726]
mov byte [ebp - 0x110], al
push 0x103
push 0
lea ecx, [ebp - 0x10f]
push ecx
call fcn.00425e10
add esp, 0xc
push 0x104
lea edx, [ebp - 0x110]
push edx
mov ecx, dword [ebp + 8]
call dword [sym.imp.DENKIPM.dll_Ordinal_1221]
test eax, eax
jle 0x4297aa
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0xffffffff
jne 0x4297aa
push 0
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x4297aa
mov byte [ebp - 1], 0
push 0x104
lea edx, [ebp - 0x110]
push edx
mov ecx, dword [ebp + 8]
call dword [sym.imp.DENKIPM.dll_Ordinal_1223]
test eax, eax
jle 0x4297f6
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0xffffffff
jne 0x4297f6
push 0
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x4297f6
mov byte [ebp - 1], 0
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x429800
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 1
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 0
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x429836
xor al, al
jmp 0x429884
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 4]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x429882
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor al, al
jmp 0x429884
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x4298d0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
mov dword [ebp - 4], 0x100
mov ecx, dword [ebp - 4]
push ecx
call fcn.00428870
add esp, 4
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov byte [eax], 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x429932
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.00428780
add esp, 4
xor al, al
jmp 0x4299a5
mov eax, dword [ebp - 4]
sub eax, 2
cmp dword [ebp - 8], eax
jae 0x429947
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0xc]
mov dword [ecx], edx
jmp 0x429961
mov eax, dword [ebp - 4]
shl eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.00428780
add esp, 4
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
je 0x4298e6
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov dword [ebp - 0x10], edx
jmp 0x42998b
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
movsx ecx, byte [eax]
test ecx, ecx
je 0x4299a3
mov edx, dword [ebp - 0x10]
push edx
mov ecx, dword [ebp + 8]
call fcn.00411d10
jmp 0x429977
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x40db80
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x4143d8], 0
jne 0x40dc01
cmp dword [0x4143f8], 0
jne 0x40dbb0
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x4143f8], eax
test eax, eax
jne 0x40dbb0
push str.GetEnvironmentStrings_failed
call fcn.0040cbf0
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x4143f8]
jmp 0x40dbc4
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.00406b08
pop ecx
mov edi, eax
test eax, eax
jne 0x40dbbc
lea edi, [ebp + 1]
push edi
call fcn.00405c3c
pop ecx
mov ebx, eax
mov dword [0x4143dc], ebx
test ebx, ebx
jne 0x40dbee
xor eax, eax
jmp 0x40dcc4
push edi
mov edx, dword [0x4143f8]
push edx
push ebx
call fcn.004069b8
add esp, 0xc
jmp 0x40dc21
xor esi, esi
mov ebx, dword [0x4143d8]
jmp 0x40dc1b
push eax
call fcn.00406b08
pop ecx
test eax, eax
jne 0x40dc17
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x40dc0b
lea ebx, [esi + 4]
push 4
mov dword [0x4143e0], ebx
inc ebx
push ebx
call fcn.00405a3c
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x40dc44
xor eax, eax
jmp 0x40dcc4
cmp dword [0x4143d8], 0
jne 0x40dc75
xor esi, esi
mov ebx, dword [0x4143dc]
mov eax, dword [esp]
mov ebp, eax
jmp 0x40dc66
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.00406b08
pop ecx
mov edi, eax
test eax, eax
jne 0x40dc5c
jmp 0x40dca6
xor esi, esi
mov ebx, dword [0x4143d8]
mov eax, dword [esp]
mov edi, eax
jmp 0x40dca0
push eax
call fcn.00406b08
pop ecx
test eax, eax
je 0x40dc95
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x40dc99
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x40dc84
mov eax, dword [0x4143d8]
test eax, eax
je 0x40dcb6
push eax
call fcn.00405c4c
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x4143d8], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0xef2000
Capabilities:
Decompress data using aplib

Disassembly:
jmp 0xef200a
jmp 0xef400f
jmp fcn.00aa0210
Function at 0x101954ad
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 8]
mov ecx, dword [0x101a6798]
add ecx, 0x1134
mov dword [0x101a6794], ecx
mov dword [ebp - 0x10], eax
call fcn.1019661c
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 0x101954fb
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x101a6798], 0x1efe
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x24]
mov dword [0x101a6794], 0xe72
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 0x10195617
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
add ecx, edx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
mov ecx, eax
mov edx, dword [ebp - 0x48]
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 - 0x50], eax
mov byte [ebp - 0x51], bh
mov byte [ebp - 0x52], cl
je 0x101955c1
mov al, byte [ebp - 0x51]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x50]
add edx, 1
mov ah, byte [ebp - 0x52]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x4c], edx
jne 0x1019556f
mov al, byte [ebp - 0x52]
test al, 1
jne 0x101955f4
jmp 0x101955ca
xor eax, eax
mov ecx, dword [ebp - 0x44]
add ecx, 2
mov edx, dword [ebp - 0x40]
add edx, 1
mov esi, dword [ebp - 0x30]
cmp edx, esi
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], eax
jb 0x10195555
jmp 0x10195617
mov eax, dword [ebp - 0x44]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x101a6794], 0x114f
mov dword [ebp - 0x34], edi
mov eax, dword [ebp - 0x34]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10195622
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x68
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, dword [0x101a6798]
mov esi, edx
add esi, 0xffffedec
mov dword [0x101a6798], esi
mov dword [0x101a6794], 0x1040
mov esi, ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], ecx
jmp 0x10195683
mov eax, dword [ebp - 0x38]
add eax, 0xfffd1dac
mov dword [ebp - 0x40], eax
xor eax, eax
mov ecx, dword [ebp - 0x40]
mov dword [0x101a6798], ecx
mov dword [0x101a6794], 0x195f
mov dword [ebp - 0x44], eax
jmp 0x101956cf
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x34]
lea edx, section..data
imul esi, eax, 0xa0
mov edi, edx
add edi, esi
add edi, 0x8c
mov esi, dword [edi]
imul edi, eax, 0xa0
add edx, edi
add edx, 0x88
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x10c
mov ecx, edx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x3c], eax
je 0x1019565e
jmp 0x10195683
mov eax, dword [ebp - 0x44]
mov cl, byte [eax + 0x10199784]
mov dl, byte [eax + 0x10199755]
sub dl, cl
mov byte [ebp + eax - 0x2c], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x44], eax
jne 0x101956cf
lea eax, [ebp - 0x2c]
mov dword [0x101a6798], 0x79a
mov dword [0x101a6794], 0x1410
mov dword [ebp - 0x4c], eax
call fcn.10196101
mov dword [esp], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp + 4], eax
call fcn.10195bf3
mov ecx, eax
mov dword [0x101a67b4], eax
mov eax, esp
mov edx, dword [ebp - 0x48]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, ecx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x58], ecx
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x54]
lea edx, section..data
imul esi, eax, 0xa0
mov edi, edx
add edi, esi
add edi, 0x8c
mov esi, dword [edi]
imul edi, eax, 0xa0
mov ebx, edx
add ebx, edi
add ebx, 0x34
mov edi, dword [ebx]
imul ebx, eax, 0xa0
add edx, ebx
add edx, 0x88
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x50]
add esi, ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x64], edx
call fcn.101964dd
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x60]
add eax, ecx
mov edx, dword [ebp - 0x5c]
add edx, 1
cmp edx, 0x10c
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], edx
jne 0x10195758
mov eax, dword [ebp - 0x50]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x48]
mov dword [esp + 8], ecx
call fcn.10195f0e
xor eax, eax
mov ecx, dword [ebp - 0x50]
add ecx, 0x612a5
mov edx, dword [ebp - 0x30]
mov dword [edx], ecx
mov dword [edx + 4], 0x128000
mov ecx, dword [ebp - 0x50]
add ecx, 0x51905
mov dword [edx + 8], ecx
mov dword [edx + 0xc], 0x1f00
mov dword [0x101a6794], 0x131b
add esp, 0x68
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1019589a
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]
xor esi, esi
mov dword [0x101a67a0], 0
mov byte [0x101a67a4], 0
mov dword [0x101a6794], 0x12ba
mov dword [0x101a6798], 0x639
mov dword [0x101a679c], 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 dword [0x101a6798], 0x22b
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x101a679c]
add eax, 1
mov dword [0x101a679c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x101958e9
xor eax, eax
mov ecx, dword [0x101a6794]
add ecx, 0x1c54
mov dword [0x101a6798], ecx
mov dword [0x101a679c], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x101a67a8], 0
mov dword [0x101a6794], 0x19a
mov edx, dword [0x101a67a0]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x24], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov dword [0x101a67a8], edi
mov dword [0x101a6794], 0x1ec9
mov eax, edi
cdq
idiv ecx
mov dword [0x101a67a0], edx
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x101a67a4], cl
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov dword [0x101a6798], 0x1ba8
mov dword [0x101a6794], 0xfffffd12
mov cl, byte [0x101a67a4]
mov edx, dword [0x101a67a0]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov edx, dword [0x101a679c]
add edx, 1
mov dword [0x101a679c], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x1019593a
mov eax, dword [0x101a6798]
add eax, 0xffffe839
mov dword [0x101a6794], eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10195d60
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x101a6794], 0x195f
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x10199784]
mov dh, byte [eax + 0x10199755]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x30], ecx
jne 0x10195d82
lea eax, [ebp - 0x24]
mov dword [0x101a6798], 0x79a
mov dword [ebp - 0x34], eax
call fcn.10196101
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.10195bf3
mov dword [0x101a6798], 0x266c
mov dword [0x101a6794], 0x27b
cmp eax, 0
mov dword [ebp - 0x38], eax
je 0x10195e9a
mov eax, dword [ebp - 0x38]
mov dword [0x101a6798], 0x28b5
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 [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.10195fdb
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 8], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x40], ecx
mov dword [0x101a6798], 0xadb
mov dword [0x101a6794], 0x6bf
add ecx, 0x1383
mov esi, dword [ebp - 0x3c]
cmp esi, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
je 0x10195e91
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x50
pop esi
pop ebp
ret
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret