joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46efc0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x5fc9f1
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x6f1550]
xor eax, esp
mov dword [esp + 0x110], eax
push ebp
push esi
push edi
mov eax, dword [0x6f1550]
xor eax, esp
push eax
lea eax, [esp + 0x124]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x10]
call fcn.00401a30
mov dword [esp + 0x12c], 0
xor eax, eax
mov cl, byte [eax + 0x6f8ea0]
mov byte [esp + eax + 0x1c], cl
add eax, 1
test cl, cl
jne 0x46f012
mov eax, dword [esp + 0x134]
lea ebp, [esi + 0x1d]
mov edx, ebp
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x46f031
push str.skin.ini
xor ecx, ecx
push ecx
xor eax, eax
push eax
push 0x61e98c
lea eax, [esp + 0x24]
push ebp
push eax
call fcn.0046c1a0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
push str.skin.ini
mov dword [esi + 0x88], ecx
xor ecx, ecx
push ecx
xor eax, eax
push eax
push 0x61ed44
lea eax, [esp + 0x3c]
push ebp
push eax
mov dword [esi + 0x8c], edx
call fcn.0046c1a0
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
add esp, 0x30
push 0x104
push str.notfound.bmp
push 0x61eba8
lea eax, [esp + 0x20]
mov dword [esi + 0x90], ecx
push eax
lea ecx, [esi + 0x1c]
mov dword [esi + 0x94], edx
call fcn.0046e3f0
mov byte [esp + 0x12c], 1
push eax
lea ecx, [esp + 0x14]
call fcn.004044c0
mov byte [esp + 0x12c], 0
lea ecx, [esp + 0x14]
call fcn.00401aa0
lea edi, [esp + 0x1c]
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x46f0e4
mov cx, word [0x612bbc]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x20]
mov word [edi], cx
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00426000
add esp, 0xc
mov byte [esp + 0x12c], 2
push eax
lea ecx, [esp + 0x14]
call fcn.004044c0
mov byte [esp + 0x12c], 0
lea ecx, [esp + 0x14]
call fcn.00401aa0
mov edx, dword [esp + 0x10]
push edx
mov ecx, esi
call fcn.0046c270
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push str.skin.ini
push 1
push str.hdiv
push ebp
call edi
push str.skin.ini
push 3
push str.vdiv
push ebp
mov dword [esi + 0x9c], eax
call edi
push str.skin.ini
push 0
push str.pushed
push ebp
mov dword [esi + 0xa0], eax
call edi
push str.skin.ini
push 3
test eax, eax
push 0x61ed48
setne al
push ebp
mov byte [esi + 0x98], al
call edi
neg eax
sbb eax, eax
neg eax
mov dword [esi + 0x84], eax
mov dword [esp + 0x12c], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00401aa0
mov ecx, dword [esp + 0x124]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.005bf6a4
add esp, 0x120
ret 4
Function at 0x472b90
Capabilities:
Check if file exists

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push DirectSoundCreate
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call edi
cmp eax, 2
je 0x472bd9
call edi
cmp eax, 0x6e
je 0x472bd9
cmp esi, 0xffffffff
je 0x472bd9
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
ret
pop edi
xor eax, eax
pop esi
ret

Function at 0x472c20
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x472c91
mov ecx, dword [ebp - 4]
cmp dword [ecx + 8], 0
je 0x472c91
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
test eax, eax
jne 0x472c7a
jmp 0x472c91
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
push 0x40
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8
Function at 0x474040
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x100
push esi
push edi
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [esp + 0xc]
push str.QTMLInitTermMutex_lx
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [esp + 8]
push ecx
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edi, eax
test edi, edi
je 0x474080
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [0x6f8fc0]
test eax, eax
jle 0x474094
inc eax
mov dword [0x6f8fc0], eax
jmp 0x474161
push str.QuickTime.qts
call fcn.00474360
add esp, 4
mov dword [0x6f8fc4], eax
test eax, eax
jne 0x4740b7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, 0xfffff7d3
jmp 0x474129
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str._CallComponentFunctionWithStorage
push eax
call esi
test eax, eax
mov dword [0x6c2c44], eax
je 0x474124
mov edx, dword [0x6f8fc4]
push str._CallComponent
push edx
call esi
test eax, eax
mov dword [0x6c2c40], eax
je 0x474124
mov eax, dword [0x6f8fc4]
push str.theQuickTimeDispatcher
push eax
call esi
test eax, eax
mov dword [0x6c2c3c], eax
je 0x474124
mov ecx, dword [esp + 0x10c]
mov dword [0x6c2c38], 0
push ecx
call fcn.00473f70
mov esi, eax
add esp, 4
test si, si
jne 0x474129
inc dword [0x6f8fc0]
jmp 0x474161
mov esi, 0xfffff7d2
mov eax, dword [0x6f8fc4]
test eax, eax
je 0x474143
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x6f8fc4], 0
mov eax, 0x473f90
mov dword [0x6c2c38], 0x474180
mov dword [0x6c2c40], eax
mov dword [0x6c2c44], eax
mov dword [0x6c2c3c], eax
test edi, edi
je 0x474173
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ax, si
pop edi
pop esi
add esp, 0x100
ret

Function at 0x4741f0
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x100
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [esp + 8]
push str.QTMLInitTermMutex_lx
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
test esi, esi
je 0x47422f
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [0x6f8fc0]
test eax, eax
jg 0x474244
mov dword [0x6f8fc0], 0
jmp 0x47427e
dec eax
test eax, eax
mov dword [0x6f8fc0], eax
jg 0x47427e
call fcn.00473f80
mov edx, dword [0x6f8fc4]
mov eax, 0x473f90
push edx
mov dword [0x6c2c38], 0x474180
mov dword [0x6c2c40], eax
mov dword [0x6c2c44], eax
mov dword [0x6c2c3c], eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test esi, esi
je 0x474290
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
add esp, 0x100
ret
Function at 0x4753f0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
cmp eax, 1
je 0x47543c
jle 0x475437
cmp eax, 3
jg 0x475437
push esi
mov esi, dword [ecx]
test esi, esi
je 0x47542e
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
push ebx
sub ecx, eax
push edi
sub edx, eax
mov edi, dword [ecx + eax]
mov ebx, dword [eax]
xor edi, ebx
mov dword [edx + eax], edi
add eax, 4
dec esi
jne 0x47541c
pop edi
pop ebx
mov eax, 1
pop esi
ret 0x10
xor eax, eax
ret 0x10
mov eax, dword [ecx + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
mov eax, dword [esp + 8]
push ecx
push edx
push eax
call fcn.00476430
mov eax, 1
ret 0x10

Function at 0x4759b0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
cmp eax, 1
je 0x4759fc
jle 0x4759f7
cmp eax, 3
jg 0x4759f7
push esi
mov esi, dword [ecx]
test esi, esi
je 0x4759ee
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
push ebx
sub ecx, eax
push edi
sub edx, eax
mov edi, dword [ecx + eax]
mov ebx, dword [eax]
xor edi, ebx
mov dword [edx + eax], edi
add eax, 4
dec esi
jne 0x4759dc
pop edi
pop ebx
mov eax, 1
pop esi
ret 0x10
xor eax, eax
ret 0x10
mov eax, dword [ecx + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
mov eax, dword [esp + 8]
push ecx
push edx
push eax
call fcn.004768a0
mov eax, 1
ret 0x10
Function at 0x475ed0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x124]
push edi
mov eax, dword [esi + 8]
mov ebx, dword [esi]
mov edi, dword [esi + 4]
mov ecx, dword [esi + 0x124]
sub eax, 2
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], ecx
je 0x476012
dec eax
je 0x475f16
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10c
ret 0xc
mov ecx, dword [esi + 0x20]
push esi
mov edi, ecx
lea eax, [esp + 0x20]
and ecx, 0x1f
mov ebx, 1
push 1
push eax
shr edi, 5
shl ebx, cl
call fcn.00475460
test eax, eax
mov ebp, dword [esp + 0x124]
je 0x475f54
push esi
push 1
push ebp
call fcn.00475460
test eax, eax
je 0x475f54
mov eax, 1
jmp 0x475f56
xor eax, eax
mov ecx, dword [esp + 0x10]
lea edi, [esp + edi*4 + 0x1c]
cmp ecx, 1
mov dword [edi], ebx
je 0x475fc7
dec ecx
mov dword [esp + 0x10], ecx
test eax, eax
je 0x475fb4
lea ecx, [esp + 0x1c]
push esi
lea edx, [esp + 0x20]
push ecx
lea eax, [esp + 0x24]
push edx
push eax
call fcn.004757e0
test eax, eax
je 0x475fb4
push esi
push ebp
push ebp
push ebp
call fcn.004757e0
test eax, eax
je 0x475fb4
mov ecx, dword [esp + 0x120]
push esi
push ebp
push ebp
lea edx, [esp + 0x28]
push ecx
push edx
call fcn.00475850
test eax, eax
je 0x475fb4
mov eax, 1
jmp 0x475fb6
xor eax, eax
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
xor edx, ebx
dec ecx
mov dword [edi], edx
mov dword [esp + 0x10], ecx
jne 0x475f6a
test eax, eax
je 0x475f07
lea eax, [esp + 0x1c]
push esi
push eax
push ebp
push ebp
push ebp
call fcn.00475850
test eax, eax
je 0x475f07
mov ecx, dword [esp + 0x120]
push esi
lea edx, [esp + 0x20]
push ecx
push edx
call fcn.00475520
test eax, eax
je 0x475f07
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10c
ret 0xc
xor esi, esi
xor edx, edx
test edi, edi
mov edi, dword [esp + 0x124]
je 0x476069
mov ebx, dword [esp + 0x120]
mov eax, edx
shr eax, 5
mov ecx, edx
mov ebx, dword [ebx + eax*4]
and ecx, 0x1f
shr ebx, cl
mov ebp, dword [edi + eax*4]
and ebx, 1
xor esi, ebx
mov ebx, esi
not ebx
and ebx, 1
shl ebx, cl
not ebx
and ebx, ebp
mov ebp, esi
and ebp, 1
shl ebp, cl
or ebx, ebp
inc edx
mov dword [edi + eax*4], ebx
mov eax, dword [esp + 0x10]
cmp edx, eax
jne 0x476021
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi + ebx*4 - 4]
xor eax, eax
test esi, esi
sete al
shl edx, cl
shr edx, cl
mov dword [edi + ebx*4 - 4], edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret 0xc

Function at 0x477290
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x18]
sub eax, 0x182
je 0x4772c4
sub eax, 0x64
je 0x4772c4
sub eax, 0x64
cmp word [esp + 0x20], 6
jb 0x4772c4
push 0xc
call fcn.0047cb20
add esp, 0x24
ret
push 4
call fcn.0047cb20
add esp, 0x24
ret
Function at 0x47c070
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
sub esp, 0x51c
lea edx, [eax + 0x1f]
push ebx
push ebp
lea ebp, [ecx + 0x1f]
push esi
shr edx, 5
shr ebp, 5
cmp edx, ebp
mov ebx, edx
ja 0x47c095
mov ebx, ebp
mov ecx, dword [esp + 0x53c]
xor esi, esi
xor eax, eax
cmp ecx, esi
setne al
cmp ebx, esi
mov dword [esp + 0xc], eax
je 0x47c29c
cmp ebx, 0x40
ja 0x47c29c
lea eax, [esp + 0x324]
mov ecx, ebx
mov dword [eax - 0x204], esi
mov dword [eax], esi
mov dword [eax - 0x104], esi
mov dword [eax + 0x100], esi
add eax, 4
dec ecx
jne 0x47c0c3
mov ecx, dword [esp + 0x120]
mov esi, dword [esp + 0x52c]
xor ecx, 1
push edi
mov dword [esp + 0x124], ecx
mov ecx, edx
lea edi, [esp + 0x224]
push edx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x53c]
lea ecx, [ebp*4]
mov dword [esp + 0x24], ecx
mov eax, ecx
lea edi, [esp + 0x42c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x534]
push ecx
call fcn.0047b090
push ebp
mov edx, dword [esp + 0x53c]
mov dword [esp + 0x328], eax
push edx
call fcn.0047b090
xor edx, edx
mov dword [esp + 0x528], eax
mov eax, edx
mov dword [esp + 0x18], edx
shl eax, 7
add eax, edx
shl eax, 2
mov ecx, eax
neg ecx
mov esi, dword [esp + ecx + 0x528]
test esi, esi
je 0x47c23e
lea esi, [esp + eax + 0x124]
lea ebp, [esp + ecx + 0x328]
mov dword [esp + 0x1c], ebp
mov eax, dword [esi + 0x200]
mov ecx, dword [ebp + 0x200]
cmp eax, ecx
jb 0x47c230
sub eax, ecx
push ebx
mov edi, eax
lea eax, [esp + 0x28]
push eax
lea eax, [ebp + 0x100]
push edi
push eax
call fcn.0047ae80
lea edx, [esi + 0x100]
lea ecx, [esp + 0x24]
mov eax, edx
mov dword [esp + 0x14], ebx
mov ebp, dword [ecx]
add ecx, 4
xor dword [eax], ebp
mov ebp, dword [esp + 0x14]
add eax, 4
dec ebp
mov dword [esp + 0x14], ebp
jne 0x47c1c2
push ebx
push edx
call fcn.0047b090
mov dword [esi + 0x200], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x47c214
mov ebp, dword [esp + 0x1c]
lea ecx, [esp + 0x24]
push ebx
push ecx
push edi
push ebp
call fcn.0047ae80
lea ecx, [esp + 0x24]
mov eax, esi
sub ecx, esi
mov edx, ebx
mov edi, dword [ecx + eax]
xor dword [eax], edi
add eax, 4
dec edx
jne 0x47c207
jmp 0x47c218
mov ebp, dword [esp + 0x1c]
mov eax, dword [esi + 0x200]
mov ecx, dword [ebp + 0x200]
cmp eax, ecx
jae 0x47c19b
mov edx, dword [esp + 0x18]
mov eax, 1
sub eax, edx
mov edx, eax
jmp 0x47c154
mov edi, dword [esp + 0x544]
test edi, edi
je 0x47c25b
mov eax, edx
mov ecx, ebx
shl eax, 7
add eax, edx
lea esi, [esp + eax*4 + 0x224]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x47c28a
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x540]
mov eax, edx
shl eax, 7
add eax, edx
mov edx, ecx
shr ecx, 2
lea esi, [esp + eax*4 + 0x124]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x51c
ret 0x18
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x51c
ret 0x18
Function at 0x47f50f
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
cmp dword [0x6f94ec], 0
je 0x47f528
mov eax, dword [0x6c3430]
leave
ret
push edi
push esi
push 0x25
xor eax, eax
pop ecx
lea edi, [ebp - 0x94]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x47f5ea
xor eax, eax
cmp dword [ebp - 0x84], 2
sete al
test eax, eax
mov dword [0x6c3430], eax
je 0x47f5b9
push 0x620424
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
test edi, edi
je 0x47f5ea
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtQuerySystemInformation
push edi
call esi
test eax, eax
mov dword [0x6f94d4], eax
je 0x47f59d
mov dword [0x6c3428], 0x4000
push str.NtOpenFile
push edi
call esi
push str.RtlInitUnicodeString
push edi
mov dword [0x6f94d8], eax
call esi
mov dword [0x6f94dc], eax
jmp 0x47f5ea
push 0x6203d8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x47f5ea
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x6203c8
push edi
call esi
push 0x6203b8
push edi
mov dword [0x6f94e0], eax
call esi
mov dword [0x6f94e4], eax
mov eax, dword [0x6c3430]
pop esi
mov dword [0x6f94ec], 1
pop edi
leave
ret

Function at 0x480d05
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 2
call fcn.00480d48
test eax, eax
je 0x480d44
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
push 3
push 0
push str.Seed
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
leave
ret 8

Function at 0x480d80
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
xor ecx, ecx
xor edx, edx
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov cl, byte [esi + 0x100]
mov dl, byte [esi + 0x101]
test ebp, ebp
je 0x480dcf
inc ecx
mov ebx, 0xff
and ecx, ebx
xor eax, eax
mov al, byte [esi + ecx]
add edx, eax
and edx, ebx
xor ebx, ebx
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov byte [esi + edx], al
add al, bl
mov bl, byte [edi]
mov al, byte [esi + eax]
xor bl, al
mov byte [edi], bl
inc edi
dec ebp
jne 0x480da4
pop ebp
pop edi
lea eax, [esi + 0x100]
pop esi
mov byte [eax], cl
pop ebx
mov byte [eax + 1], dl
ret 0xc

Function at 0x480de1
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
mov eax, 0x3020100
push esi
mov ecx, 0x40
mov esi, dword [esp + 0xc]
push edi
mov edx, esi
push ebp
mov dword [edx], eax
add edx, 4
add eax, 0x4040404
dec ecx
jne 0x480df5
xor ecx, ecx
xor edi, edi
mov ebp, dword [esp + 0x1c]
mov byte [esi + 0x100], cl
mov byte [esi + 0x101], cl
xor ebx, ebx
xor edx, edx
xor eax, eax
mov dl, byte [edi + esi]
mov al, byte [ebp + ecx]
add bl, al
inc ecx
add bl, dl
inc edi
mov al, byte [ebx + esi]
mov byte [edi + esi - 1], al
cmp dword [esp + 0x18], ecx
mov byte [ebx + esi], dl
jne 0x480e3b
xor ecx, ecx
cmp edi, 0x100
jb 0x480e18
pop ebp
pop edi
pop esi
pop ebx
ret 0xc
Function at 0x4810e0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret 4
Function at 0x481e90
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push edi
mov esi, ecx
lea edi, [esi + 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi + 0x14], 0
je 0x481eb2
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
xor eax, eax
pop esi
pop ecx
ret
lea eax, [esp + 8]
push eax
push 0
push esi
push 0x481e60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 0x14], eax
push edi
je 0x481ea6
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, 1
pop esi
pop ecx
ret

Function at 0x483aa0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5fcfaf
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x6f1550]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov eax, dword [esi + 0x30]
test eax, eax
mov dword [esp + 0x18], 1
je 0x483ae0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi + 0x58], 0
je 0x483af1
mov eax, dword [esi + 0x58]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea ecx, [esi + 4]
mov dword [esp + 0x18], 0xffffffff
call fcn.00485d50
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x488560
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x5fd7c9
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x6f1550]
xor eax, esp
mov dword [esp + 0x14c], eax
push ebx
push ebp
push esi
mov eax, dword [0x6f1550]
xor eax, esp
push eax
lea eax, [esp + 0x160]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x170]
lea eax, [ebp - 0x10]
push eax
mov dword [esp + 0x16c], 0
mov dword [esp + 0x1c], eax
call fcn.00403f80
add eax, 0x10
add esp, 4
mov dword [esp + 0x10], eax
push 0x5c
mov bl, 1
push 0x2f
lea ecx, [esp + 0x18]
mov byte [esp + 0x170], bl
call fcn.00432e60
mov esi, dword [esp + 0x10]
push 0x5c
push esi
call fcn.005c282c
add esp, 8
test eax, eax
jne 0x4885f1
or eax, 0xffffffff
jmp 0x4885f3
sub eax, esi
add eax, 1
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
call fcn.0042ebc0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x16c], 2
call fcn.004044c0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x168], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48863e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1c]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4886b8
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00418de0
add esp, 0xc
push eax
mov ecx, edi
mov byte [esp + 0x16c], 3
call fcn.004048b0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x168], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4886a5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1c]
push ecx
push esi
call ebp
test eax, eax
jne 0x488657
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x168], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4886e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x168], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x488708
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x160]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x14c]
xor ecx, esp
call fcn.005bf6a4
add esp, 0x15c
ret
Function at 0x4907d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5fe1df
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6f1550]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push edi
push eax
call fcn.00490510
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], ebx
mov dword [esi + 0x98], ebx
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xa4], 0xa
lea ebp, [esi + 0x48]
mov ecx, ebp
mov byte [esp + 0x20], 1
call fcn.00481dd0
mov ecx, dword [esp + 0x28]
lea eax, [esi + 0xac]
push eax
mov dword [esi], vtable.CSubPicQueue.2.0
mov dword [esi + 0xc], vtable.CSubPicQueue.1.0
mov dword [ebp], vtable.CSubPicQueue.0
mov dword [esi + 0xa8], ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
cmp edi, ebx
mov byte [esp + 0x20], 3
mov dword [esi + 0xc8], ebx
mov dword [esi + 0xcc], ebx
je 0x49088b
cmp dword [edi], ebx
jl 0x4908cf
cmp dword [esi + 0xa8], 1
jge 0x4908a2
cmp edi, ebx
mov eax, esi
je 0x4908d1
mov dword [edi], 0x80070057
jmp 0x4908d1
mov byte [esi + 0xd8], bl
lea edi, [esi + 0xdc]
mov ebp, 2
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [edi], eax
add edi, 4
sub ebp, 1
jne 0x4908b3
lea ecx, [esi + 0x48]
call fcn.00481e90
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0xc