joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7b3271c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
test byte [0x7b33c120], 8
jne 0x7b3272f0
mov dword [esp + 8], 0xa
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._FindResourceW_12
sub esp, 0xc
test eax, eax
je 0x7b327240
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym._LoadResource_8
sub esp, 8
mov edi, eax
test eax, eax
je 0x7b327240
mov edx, dword [ebp + 0x10]
call sym._MCI_SetCommandTable
mov dword [esp], edi
mov ebx, eax
call sym._FreeResource_4
movzx eax, byte [0x7b33c120]
sub esp, 4
test al, 8
jne 0x7b3272a3
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
movzx eax, byte [0x7b33c120]
mov ebx, 0xffff
test al, 4
je 0x7b327228
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call sym._wine_dbgstr_wn
mov dword [esp + 0x14], str.No_command_table_found_in_module_for__s_n
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 0x688
mov dword [esp + 0xc], str.mciLoadCommandResource
mov dword [esp + 8], 0x7b33dd11
mov dword [esp + 4], 0x7b33c120
mov dword [esp], 2
call sym._ros_dbg_log
movzx eax, byte [0x7b33c120]
test al, 8
je 0x7b32722c
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], str.___04x_n
mov dword [esp + 0x10], 0x68a
mov dword [esp + 0xc], str.mciLoadCommandResource
mov dword [esp + 8], 0x7b33dd11
mov dword [esp + 4], 0x7b33c120
mov dword [esp], 3
call sym._ros_dbg_log
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call sym._wine_dbgstr_wn
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], str.__p___s___d___n
mov dword [esp + 0x10], 0x66f
mov dword [esp + 0xc], str.mciLoadCommandResource
mov dword [esp + 8], 0x7b33dd11
mov dword [esp + 4], 0x7b33c120
mov dword [esp], 3
call sym._ros_dbg_log
jmp 0x7b3271dc
Function at 0x7b32c0d0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xb4
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
test byte [0x7b33c188], 8
jne 0x7b32c100
cmp edi, 6
ja case.default.0x7b32c0f3
jmp dword [edi*4 + 0x7b33f360]
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], 0x7b33f328
mov dword [esp + 0x10], 0x2c
mov dword [esp + 0xc], str.mmioDosIOProc
mov dword [esp + 8], 0x7b33f17d
mov dword [esp + 4], 0x7b33c188
mov dword [esp], 3
call sym._ros_dbg_log
cmp edi, 6
jbe switch.0x7b32c0f3
test byte [0x7b33c188], 1
jne 0x7b32c242
xor ebx, ebx
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
and ebx, 0x10
jne 0x7b32c159
mov eax, dword [esi + 0x30]
mov dword [esp], eax
call sym.__lclose_4
sub esp, 4
jmp 0x7b32c1c7
mov eax, dword [ebp + 0x14]
mov dword [esp], ebx
mov ebx, 0x101
mov dword [esp + 4], eax
call sym._MoveFileA_8
sub esp, 8
test eax, eax
je 0x7b32c1c7
xor ebx, ebx
jmp 0x7b32c15b
mov eax, dword [ebp + 0x14]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [esi + 0x30]
mov dword [esp], eax
call sym.__lread_12
sub esp, 0xc
mov ebx, eax
cmp eax, 0xffffffff
je 0x7b32c1c7
add dword [esi + 0x2c], ebx
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov eax, dword [ebp + 0x14]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [esi + 0x30]
mov dword [esp], eax
call sym.__llseek_12
sub esp, 0xc
mov ebx, eax
cmp eax, 0xffffffff
je 0x7b32c1c7
mov dword [esi + 0x2c], eax
jmp 0x7b32c1c7
mov eax, dword [ebp + 0x14]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [esi + 0x30]
mov dword [esp], eax
call sym.__hwrite_12
sub esp, 0xc
mov ebx, eax
cmp eax, 0xffffffff
jne 0x7b32c1c4
jmp 0x7b32c1c7
mov eax, dword [esi]
test eax, 0x20000
jne 0x7b32c2a2
test ebx, ebx
jne 0x7b32c281
mov eax, dword [esi + 0x30]
cmp eax, 0xffffffff
jne 0x7b32c159
mov ebx, 0x103
jmp 0x7b32c1c7
mov dword [esp + 0x18], edi
xor ebx, ebx
mov dword [esp + 0x14], str.unexpected_message__u_n
mov dword [esp + 0x10], 0x84
mov dword [esp + 0xc], str.mmioDosIOProc
mov dword [esp + 8], 0x7b33f17d
mov dword [esp + 4], 0x7b33c188
mov dword [esp], 0
call sym._ros_dbg_log
jmp 0x7b32c15b
movzx eax, ax
mov dword [esp], ebx
mov dword [esp + 8], eax
lea eax, [ebp - 0x98]
mov dword [esp + 4], eax
call sym._OpenFile_12
sub esp, 0xc
mov dword [esi + 0x30], eax
jmp 0x7b32c232
test byte [0x7b33c188], 1
je 0x7b32c23b
mov dword [esp + 0x14], str.MMIO_GETTEMP_not_implemented_n
mov dword [esp + 0x10], 0x3a
mov dword [esp + 0xc], str.mmioDosIOProc
mov dword [esp + 8], 0x7b33f17d
mov dword [esp + 4], 0x7b33c188
mov dword [esp], 0
call sym._ros_dbg_log
jmp 0x7b32c23b
Function at 0x7b330c40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [0x7b3429e8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call sym._CreateEventW_16
mov dword [0x7b33c1c0], 0
sub esp, 0x10
mov dword [0x7b3429e0], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], sym._TIME_MMSysTimeThread_4
mov dword [esp + 4], 0
mov dword [esp], 0
call sym._CreateThread_24
sub esp, 0x18
mov dword [0x7b3429ec], eax
mov dword [esp + 4], 0xf
mov dword [esp], eax
call sym._SetThreadPriority_8
sub esp, 8
leave
ret
Function at 0x7b335d40
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x24
mov ebx, dword [ebp + 8]
test byte [0x7b33c1d4], 8
jne 0x7b335df2
mov dword [esp + 8], 0
mov dword [esp + 4], 3
mov dword [esp], ebx
call sym._MMDRV_Get
test eax, eax
je 0x7b335e30
mov eax, dword [eax + 0x30]
mov ebx, 5
test eax, eax
jne 0x7b335d90
mov eax, ebx
mov ebx, dword [ebp - 4]
leave
ret 4
mov eax, dword [eax + 4]
xor ebx, ebx
mov dword [esp], eax
call sym._SuspendThread_4
sub esp, 4
cmp eax, 0xffffffff
jne 0x7b335d83
mov ebx, 1
test byte [0x7b33c1d4], 4
je 0x7b335d83
call sym._GetLastError_0
mov dword [esp + 0x14], str.bad_Suspend___d__n
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 0x77b
mov dword [esp + 0xc], str.midiStreamPause
mov dword [esp + 8], 0x7b340175
mov dword [esp + 4], 0x7b33c1d4
mov dword [esp], 2
call sym._ros_dbg_log
jmp 0x7b335d83
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], 0x7b34083f
mov dword [esp + 0x10], 0x775
mov dword [esp + 0xc], str.midiStreamPause
mov dword [esp + 8], 0x7b340175
mov dword [esp + 4], 0x7b33c1d4
mov dword [esp], 3
call sym._ros_dbg_log
jmp 0x7b335d57
mov ebx, 5
mov eax, ebx
mov ebx, dword [ebp - 4]
leave
ret 4

Function at 0x7b336240
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x20
mov ebx, dword [ebp + 8]
test byte [0x7b33c1d4], 8
jne 0x7b3362d0
mov dword [esp + 8], 0
mov dword [esp + 4], 3
mov dword [esp], ebx
call sym._MMDRV_Get
test eax, eax
je 0x7b336352
mov ebx, dword [eax + 0x30]
mov esi, 5
test ebx, ebx
je 0x7b3362a6
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sym._ResumeThread_4
lea edx, [eax - 1]
sub esp, 4
cmp edx, 0xfffffffd
jbe 0x7b336280
cmp eax, 0xffffffff
jne 0x7b3362b1
xor esi, esi
test byte [0x7b33c1d4], 4
jne 0x7b336310
lea esp, [ebp - 8]
mov eax, esi
pop ebx
pop esi
pop ebp
ret 4
call sym._GetTickCount_0
sub eax, dword [ebx + 0x14]
xor esi, esi
mov dword [ebx + 0x1c], eax
lea esp, [ebp - 8]
mov eax, esi
pop ebx
pop esi
pop ebp
ret 4
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], 0x7b34083f
mov dword [esp + 0x10], 0x7d9
mov dword [esp + 0xc], str.midiStreamRestart
mov dword [esp + 8], 0x7b340175
mov dword [esp + 4], 0x7b33c1d4
mov dword [esp], 3
call sym._ros_dbg_log
jmp 0x7b336254
call sym._GetLastError_0
mov dword [esp + 0x14], str.bad_Resume___d__n
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 0x7e7
mov dword [esp + 0xc], str.midiStreamRestart
mov dword [esp + 8], 0x7b340175
mov dword [esp + 4], 0x7b33c1d4
mov dword [esp], 2
call sym._ros_dbg_log
jmp 0x7b3362a6
lea esp, [ebp - 8]
mov esi, 5
mov eax, esi
pop ebx
pop esi
pop ebp
ret 4
Function at 0x7b3385b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
call sym._GetProcessHeap_0
mov dword [esp + 8], 0xc
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._HeapAlloc_12
sub esp, 0xc
test eax, eax
je 0x7b33871b
mov ebx, eax
mov eax, dword [ebp + 8]
mov dword [ebx], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 4], eax
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x7b338691
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call sym._CreateEventW_16
sub esp, 0x10
mov dword [ebx + 8], eax
mov edi, eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 8], sym._mmTaskRun_4
mov dword [esp + 4], 0
mov dword [esp], 0
call sym._CreateThread_24
sub esp, 0x18
mov esi, eax
test eax, eax
je 0x7b3386f0
mov dword [esp + 4], 0xf
mov dword [esp], eax
call sym._SetThreadPriority_8
mov eax, dword [ebp + 0xc]
sub esp, 8
mov dword [eax], edi
mov dword [esp], esi
call sym._CloseHandle_4
xor eax, eax
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
mov dword [ebx + 8], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 8], sym._mmTaskRun_4
mov dword [esp + 4], 0
mov dword [esp], 0
call sym._CreateThread_24
sub esp, 0x18
mov esi, eax
test eax, eax
je 0x7b338730
mov dword [esp + 4], 0xf
mov dword [esp], esi
call sym._SetThreadPriority_8
sub esp, 8
jmp 0x7b33867a
call sym._GetProcessHeap_0
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._HeapFree_12
sub esp, 0xc
test edi, edi
je 0x7b33871b
mov dword [esp], edi
call sym._CloseHandle_4
sub esp, 4
lea esp, [ebp - 0xc]
mov eax, 2
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
call sym._GetProcessHeap_0
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._HeapFree_12
mov eax, 2
sub esp, 0xc
jmp 0x7b338687

Function at 0x7b338810
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push edi
lea edi, [ebp - 0x50]
sub esp, 0x5c
mov dword [esp], str.WARNING:_calling_stub_WINMM_3___n
call sym._DbgPrint
xor eax, eax
mov ecx, 0x12
mov dword [ebp - 0x58], 0x80000100
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x54], 1
mov dword [esp], eax
mov dword [ebp - 0x44], str.winmm.dll
mov dword [ebp - 0x40], str.WINMM_3
mov dword [ebp - 0x48], 2
call sym._RtlRaiseException_4

Function at 0x7b338870
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push edi
lea edi, [ebp - 0x50]
sub esp, 0x5c
mov dword [esp], str.WARNING:_calling_stub_WINMM_4___n
call sym._DbgPrint
xor eax, eax
mov ecx, 0x12
mov dword [ebp - 0x58], 0x80000100
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x54], 1
mov dword [esp], eax
mov dword [ebp - 0x44], str.winmm.dll
mov dword [ebp - 0x40], str.WINMM_4
mov dword [ebp - 0x48], 2
call sym._RtlRaiseException_4
Function at 0x7b3388d0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 0x1c]
mov dword [esp], str.WARNING:_calling_stub_gfxBatchChange_0x_p_0x_lx_0x_p_0x_lx_0x_p_0x_lx__n
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
call sym._DbgPrint
xor eax, eax
leave
ret 0x18

Function at 0x7b338970
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x10]
mov dword [esp], str.WARNING:_calling_stub_gfxEnumerateGfxs_0x_p_0x_p_0x_lx__n
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
call sym._DbgPrint
xor eax, eax
leave
ret 0xc

Function at 0x7b3389d0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push edi
lea edi, [ebp - 0x50]
sub esp, 0x5c
mov dword [esp], str.WARNING:_calling_stub_mmioInstallIOProc16___n
call sym._DbgPrint
xor eax, eax
mov ecx, 0x12
mov dword [ebp - 0x58], 0x80000100
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x54], 1
mov dword [esp], eax
mov dword [ebp - 0x44], str.winmm.dll
mov dword [ebp - 0x40], str.mmioInstallIOProc16
mov dword [ebp - 0x48], 2
call sym._RtlRaiseException_4
Function at 0x7b33aba0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
lea esi, [ebp + 0xc]
sub esp, 0x10
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1b
lea ebx, [eax + 0x40]
mov dword [esp + 4], 1
mov dword [esp + 0xc], ebx
mov dword [esp], 0x7b341418
call sym._fwrite
mov eax, dword [ebp + 8]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.msvcrt.dll_vfprintf]
call sym._abort
lea esi, [esi]
Function at 0x10008230
Capabilities:
Get storage device properties

Disassembly:
sub esp, 0x50c
push ebx
mov eax, dword [esp + 0x514]
push ebp
push esi
xor ebx, ebx
push edi
push ebx
push ebx
push 3
push ebx
push 3
push ebx
mov edi, 1
push eax
mov dword [esp + 0x2c], ecx
push edi
xor ebp, ebp
call fcn.100099d0
add esp, 4
call eax
mov esi, eax
call dword [0x10040060]
mov ecx, dword [0x10047bd4]
and eax, 0xffff
add ecx, eax
mov dword [0x10047bd4], ecx
je 0x1000828e
mov al, byte [0x10047ba5]
mov dword [0x10047bd8], edi
cmp al, bl
jne 0x10008294
mov dword [0x10047bd8], ebx
movsx ecx, byte [0x10047ba6]
push 0xe2c9ffff
push ecx
call fcn.10007780
add esp, 8
cmp esi, 0xffffffff
mov byte [0x10047ba8], al
je 0x1000849b
mov al, byte [0x10047ba0]
mov dword [esp + 0x14], ebx
cmp al, bl
jne 0x100082d4
cmp word [0x10047bba], bx
mov word [0x10047bae], bx
je 0x100082db
mov word [0x10047bae], di
movsx edx, byte [0x10047ba3]
push 0x77cdffff
push edx
call fcn.10007780
mov ecx, dword [0x10047bc4]
lea edi, [esp + 0x20]
add ecx, eax
xor eax, eax
mov dword [0x10047bc4], ecx
mov ecx, 0x21
rep stosd dword es:[edi], eax
mov edx, dword [0x10047bd0]
mov ecx, dword [0x10047bc0]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [0x10047bdc]
push ecx
or eax, 0x9b83ffff
push 0xe23ffff
add edx, eax
inc word [0x10047bb0]
mov byte [0x10047ba2], 0xff
mov dword [esp + 0x28], ebx
mov dword [0x10047bd0], edx
call fcn.10007740
mov cl, byte [0x10047ba2]
lea edi, [esp + 0xb0]
add cl, al
xor eax, eax
mov byte [0x10047ba2], cl
mov ecx, 0x11e
movsx edx, byte [0x10047ba3]
rep stosd dword es:[edi], eax
mov cl, byte [0x10047bbc]
or edx, 0x6077ffff
stosw word es:[edi], ax
stosb byte es:[edi], al
mov al, byte [0x10047ba5]
mov dword [0x10047bdc], edx
mov edx, dword [0x10047bd0]
inc al
dec cl
push edx
push 0x55c7ffff
mov dword [esp + 0x34], ebx
mov byte [0x10047ba1], al
mov byte [0x10047ba5], cl
call fcn.10007700
mov ecx, dword [0x10047bc0]
push 0x3437ffff
add ecx, eax
movsx eax, byte [0x10047ba7]
push eax
mov dword [0x10047bc0], ecx
call fcn.100075f0
mov ecx, dword [0x10047bd8]
add ecx, eax
mov dword [0x10047bd8], ecx
mov ecx, dword [0x10047bd4]
push ecx
push 0xb875ffff
call fcn.100078b0
add esp, 0x28
lea edx, [esp + 0x14]
mov word [0x10047bb0], ax
lea eax, [esp + 0xa0]
push ebx
push edx
push 0x47b
push eax
lea ecx, [esp + 0x28]
push 0x87
push ecx
push 0x2d1400
push esi
push 8
call fcn.100099d0
add esp, 4
call eax
test eax, eax
je 0x10008465
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0xa0]
push edx
call fcn.10007b70
mov ecx, dword [0x10047bcc]
xor eax, eax
cmp word [0x10047bbc], bx
mov ebp, 1
mov dword [0x10047bdc], 0xbf5fffff
setne al
add ecx, eax
dec word [0x10047bba]
mov dword [0x10047bcc], ecx
movsx eax, word [0x10047baa]
movsx ecx, byte [0x10047ba8]
sub eax, ecx
push esi
push ebx
mov dword [0x10047be4], eax
call fcn.100099d0
add esp, 4
call eax
movsx dx, byte [0x10047ba0]
and edx, dword [0x10047bcc]
mov word [0x10047bb6], dx
movsx eax, word [0x10047bbc]
mov ecx, dword [0x10047bdc]
push eax
push ecx
call fcn.10007740
add esp, 8
mov byte [0x10047ba3], al
mov eax, ebp
mov byte [0x10047ba9], bl
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50c
ret 4
Function at 0x1001d580
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1003ef39
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov al, byte [esp + 0x28]
push ebx
xor ebx, ebx
push esi
push ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], ebx
mov byte [esp + 0x10], al
call dword [0x10040148]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x24], ebx
mov ecx, dword [eax + 4]
cmp ecx, ebx
jne 0x1001d5c6
xor eax, eax
jmp 0x1001d5cb
mov eax, dword [eax + 8]
add eax, ecx
mov edx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
push edx
push eax
push ecx
lea eax, [esp + 0x20]
lea ecx, [esp + 0x44]
push eax
push ecx
call fcn.1001e5c0
mov esi, dword [esp + 0x48]
mov dl, byte [esp + 0x28]
add esp, 0x1c
mov byte [esi], dl
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov eax, dword [0x10040150]
lea edx, [esp + 0xc]
mov ecx, dword [eax]
push ecx
push ebx
push edx
mov ecx, esi
call dword [0x1004015c]
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x1001d64c
mov al, byte [ecx - 1]
cmp al, bl
je 0x1001d642
cmp al, 0xff
je 0x1001d642
dec al
mov byte [ecx - 1], al
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
dec ecx
push ecx
call fcn.1002cda0
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret

Function at 0x10023ac0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x1003f1eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [esp + 0x40]
push ebx
push esi
lea ecx, [esp + 8]
push eax
push ecx
mov ecx, dword [esp + 0x4c]
call fcn.10023be0
mov esi, eax
lea edx, [esp + 0x48]
xor ebx, ebx
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], 0x10047afc
call dword [0x100401e8]
mov al, byte [esi]
mov ecx, dword [0x10040150]
mov byte [esp + 0x24], al
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov edx, dword [ecx]
lea ecx, [esp + 0x24]
push edx
push ebx
push esi
mov byte [esp + 0x48], 1
call dword [0x1004015c]
mov eax, dword [0x100400ac]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc]
mov byte [esp + 0x3c], 3
cmp eax, ebx
je 0x10023b6b
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x10023b62
cmp al, 0xff
je 0x10023b62
dec al
mov byte [ecx], al
jmp 0x10023b6b
push ecx
call fcn.1002cda0
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
call fcn.1003c9f0
mov eax, dword [esp + 0x28]
mov ecx, dword [0x100400ac]
cmp eax, ebx
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x18], ecx
je 0x10023bb7
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x10023bae
cmp al, 0xff
je 0x10023bae
dec al
mov byte [ecx], al
jmp 0x10023bb7
push ecx
call fcn.1002cda0
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call dword [0x100401e4]
mov ecx, dword [esp + 0x34]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x10026770
Capabilities:
Hash data with md5

Disassembly:
movsx eax, byte [0x10047ba1]
push esi
mov esi, ecx
mov ecx, dword [0x10047bcc]
push eax
push ecx
call fcn.10007700
mov cl, byte [0x10047ba8]
mov edx, dword [0x10047bd8]
add cl, al
mov eax, dword [0x10047bdc]
push edx
push eax
mov byte [0x10047ba8], cl
call fcn.100078b0
mov cl, byte [0x10047ba1]
lea edx, [esi + 0x10]
add cl, al
add esp, 0x10
mov byte [0x10047ba1], cl
xor ecx, ecx
mov dword [edx], ecx
push 0x5451ffff
mov dword [edx + 4], ecx
call dword [0x10040020]
mov word [0x10047bb6], ax
mov eax, dword [0x10047be0]
push eax
push 0x6fabffff
call fcn.100076b0
mov word [0x10047bb4], ax
mov dword [esi], 0x67452301
movsx ecx, word [0x10047bba]
push ecx
push 0xb9d5ffff
call fcn.10007740
movsx edx, byte [0x10047ba1]
push edx
push 0xfd5fffff
mov dword [0x10047bd4], eax
call fcn.10007700
mov cl, byte [0x10047ba9]
add esp, 0x18
add cl, al
mov al, byte [0x10047ba0]
test al, al
mov byte [0x10047ba9], cl
je 0x10026846
cmp word [0x10047baa], 0
mov dword [0x10047be4], 1
jne 0x10026850
mov dword [0x10047be4], 0
push 0xe365ffff
mov dword [esi + 4], 0xefcdab89
call dword [0x1004024c]
push 0xffffffffffffffff
mov byte [0x10047ba4], al
call dword [0x10040248]
mov cl, byte [0x10047ba5]
push 0x8ebfffff
add cl, al
mov byte [0x10047ba5], cl
mov dword [esi + 8], 0x98badcfe
mov eax, dword [0x10047bdc]
push eax
call fcn.100076b0
add word [0x10047bba], ax
mov al, byte [0x10047bb8]
imul byte [0x10047bd4]
mov byte [0x10047ba2], al
mov dword [esi + 0xc], 0x10325476
mov cl, byte [0x10047bd0]
mov al, byte [0x10047baa]
mov dl, byte [0x10047ba5]
sub cl, al
movsx eax, word [0x10047bb6]
add dl, cl
add esp, 8
mov byte [0x10047ba5], dl
movsx edx, byte [0x10047ba6]
sub edx, eax
mov dword [0x10047bd0], edx
call dword [0x10040244]
mov word [0x10047bac], ax
pop esi
ret
Function at 0x401280
Capabilities:
Get disk information
Get disk size

Disassembly:
sub esp, 0x18
xor eax, eax
lea edx, [esp + 0x1c]
push esi
mov esi, dword [esp + 0x20]
mov ecx, esi
mov dword [ecx], eax
mov dword [ecx + 4], eax
push eax
push eax
push eax
push eax
push edx
push eax
push eax
push 0x457194
mov dword [ecx + 8], eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x4012b4
mov eax, dword [esp + 0x20]
mov dword [esi], eax
lea ecx, [esp + 0xc]
lea edx, [esp + 4]
push ecx
lea eax, [esp + 0x18]
push edx
push eax
push 0x457194
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x4012e0
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
pop esi
add esp, 0x18
ret

Function at 0x4012f0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x1c
xor eax, eax
lea edx, [esp]
push ebx
push esi
push edi
mov edi, dword [esp + 0x2c]
mov ecx, edi
push edx
mov dword [ecx], eax
mov word [ecx + 4], ax
call fcn.00401280
add esp, 4
xor ecx, ecx
mov eax, ecx
mov esi, 6
cdq
idiv esi
mov bl, byte [edx + edi]
lea eax, [edx + edi]
mov dl, byte [esp + ecx + 0xc]
xor bl, dl
inc ecx
cmp ecx, 0xc
mov byte [eax], bl
jl 0x401313
mov bl, byte [esp + 0x30]
xor ecx, ecx
mov eax, ecx
mov esi, 6
cdq
idiv esi
mov eax, 0x3c
sar eax, cl
and al, bl
lea esi, [edx + edi]
mov dl, byte [edx + edi]
xor dl, al
inc ecx
cmp ecx, 6
mov byte [esi], dl
jl 0x401337
pop edi
pop esi
pop ebx
add esp, 0x1c
ret