joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410190
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x580598
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5e9004]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [0x5f2988], 0x3c
jl 0x4101ed
push 0x5f298c
call fcn.00414110
mov edi, dword [0x5f2984]
add esp, 4
test edi, edi
je 0x4101df
mov eax, dword [edi]
mov dword [0x5f2984], eax
mov dword [0x5f298c], 1
test edi, edi
jne 0x410208
push 0x3c
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x410295
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
mov dword [edi], vtable.CVolObject.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov byte [ebp - 4], 1
lea ecx, [edi + 0x10]
mov dword [edi], vtable.CVolException.0
call fcn.0040a240
mov byte [ebp - 4], 2
mov dword [edi + 0xc], 0
mov byte [ebp - 4], 3
lea ecx, [edi + 0x20]
mov dword [edi], vtable.CVolException.0
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov eax, dword [ebx + 8]
mov dword [edi + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x1c]
mov dword [edi + 0x1c], eax
mov eax, dword [edi + 0x20]
call dword [eax + 0x44]
lea eax, [ebx + 0x20]
push eax
lea ecx, [edi + 0x20]
call fcn.00407110
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
call fcn.00566268
int3

Function at 0x4106c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57ed5d
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5e9004]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [0x5f2988], 0xc
jl 0x41071b
push 0x5f298c
call fcn.00414110
mov ecx, dword [0x5f2984]
add esp, 4
test ecx, ecx
je 0x41070d
mov eax, dword [ecx]
mov dword [0x5f2984], eax
mov dword [0x5f298c], 1
test ecx, ecx
jne 0x410732
push 0xc
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
je 0x41078f
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
mov dword [ecx], vtable.CVolObject.0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 1
mov dword [ecx], vtable.CVolUserApp.0
mov dword [0x5f29b0], ecx
mov byte [ebp - 4], 2
mov dword [ecx], vtable.CVolUserApp.0
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov dword [ecx + 8], eax
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
call fcn.00566268
int3
Function at 0x410af0
Capabilities:
Get system information on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5807eb
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push esi
mov eax, dword [0x5e9004]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x400000
mov dword [0x5f2970], 0x5c7470
mov dword [0x5f2978], 0x5c7674
push 0
mov dword [ebp - 0x14], 0x5f2970
mov dword [0x5f298c], 1
mov dword [0x5f2988], 0x100
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
je 0x410d9e
lea eax, [ecx + 0x400000]
mov dword [0x5f2984], ecx
mov dword [0x5f2980], eax
mov edx, 0x1555
mov eax, dword [0x5f2988]
mov dword [0x5f297c], ecx
add eax, ecx
mov dword [ecx], eax
mov eax, dword [0x5f2988]
add ecx, eax
add eax, ecx
mov dword [ecx], eax
mov eax, dword [0x5f2988]
add ecx, eax
add eax, ecx
mov dword [ecx], eax
mov eax, dword [0x5f2988]
add ecx, eax
sub edx, 1
jne 0x410b84
mov dword [ecx], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], 0x5f2990
mov dword [ebp - 0x18], 0x5f2990
mov dword [ebp - 0x1c], 0x5f2990
mov dword [0x5f2990], 0x5c65bc
mov dword [0x5f2994], edx
mov dword [0x5f2998], edx
mov byte [ebp - 4], 1
mov dword [0x5f2990], 0x5c61c8
mov dword [0x5f299c], edx
mov dword [0x5f29a4], edx
mov dword [0x5f29a0], edx
mov dword [0x5f29a8], 0x40
mov byte [ebp - 4], 2
mov dword [0x5f29a8], 0x80
mov byte [ebp - 4], 5
mov dword [0x5f29ac], edx
mov byte [ebp - 4], 6
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x5f29c0
mov dword [ebp - 0x20], 0x5f29c0
call esi
mov byte [ebp - 4], 7
mov dword [0x5f29d8], 0
mov byte [ebp - 4], 8
push 0x5f29e4
mov dword [ebp - 0x24], 0x5f29e4
call esi
mov byte [ebp - 4], 9
mov dword [0x5f29fc], 0x3e8
mov dword [ebp - 0x28], 0x5f2a10
mov dword [ebp - 0x2c], 0x5f2a10
mov dword [0x5f2a10], 0x5c65bc
mov dword [0x5f2a14], 0
mov dword [0x5f2a18], 0
mov byte [ebp - 4], 0xa
mov dword [0x5f2a10], 0x5c61c8
mov dword [0x5f2a1c], 0
mov dword [0x5f2a24], 0
mov dword [0x5f2a20], 0
mov dword [0x5f2a28], 0x40
mov byte [ebp - 4], 0xb
mov dword [0x5f2a28], 0x80
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x3c]
mov dword [0x5f2a04], 0x3e80
mov dword [0x5f2a08], 1
mov dword [0x5f2a0c], 0
lea eax, [eax*2 + 2]
mov dword [0x5f2a00], eax
mov byte [ebp - 4], 0xe
push 0x5f2a2c
call esi
mov byte [ebp - 4], 0xf
push ecx
mov ecx, 0x5f2a44
call fcn.0040fb50
mov byte [ebp - 4], 0x10
mov dword [0x5f29b0], 0
mov dword [0x5f2a6c], 0
movsd xmm0, qword [0x5c7760]
movsd qword [0x5f29b8], xmm0
xorps xmm0, xmm0
mov dword [0x5f2a70], 0
mov dword [0x5f2a74], 0
mov dword [0x5f2a78], 0
mov dword [0x5f29b4], 0
movq qword [0x5f29dc], xmm0
mov dword [ebp - 4], 0xffffffff
mov eax, 0x5f2970
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
call fcn.00566268
int3
Function at 0x411840
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov dword [esi + 0x14], 0
test ebx, ebx
jne 0x41185f
pop esi
lea eax, [ebx + 1]
pop ebx
pop ebp
ret 0xc
mov eax, dword [ecx]
push edi
xor edi, edi
call dword [eax]
push dword [ebp + 0x10]
mov ecx, eax
movzx eax, bx
push eax
push ecx
mov dword [ebp + 0xc], ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 8], eax
test eax, eax
je 0x411935
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0x10], eax
test eax, eax
je 0x411935
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x41192c
push dword [ebp + 8]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [esi + 0x14], 0
cmp dword [esi + 0x10], edi
jl 0x411910
cmp edi, 1
jne 0x4118d5
mov eax, dword [esi + 0xc]
mov cl, byte [ebx]
mov byte [eax], cl
inc dword [esi + 0x14]
jmp 0x411927
cmp edi, 2
jne 0x4118e8
mov eax, dword [esi + 0xc]
movzx ecx, word [ebx]
mov word [eax], cx
add dword [esi + 0x14], edi
jmp 0x411927
cmp edi, 4
jne 0x4118f9
mov eax, dword [esi + 0xc]
mov ecx, dword [ebx]
mov dword [eax], ecx
add dword [esi + 0x14], edi
jmp 0x411927
cmp edi, 8
jne 0x411910
mov eax, dword [esi + 0xc]
mov ecx, dword [ebx]
mov edx, dword [ebx + 4]
mov dword [eax], ecx
mov dword [eax + 4], edx
add dword [esi + 0x14], edi
jmp 0x411927
test edi, edi
jle 0x411927
push edi
mov ecx, esi
call fcn.00413750
push edi
push ebx
push eax
call fcn.00563240
add esp, 0xc
mov edi, 1
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x411c70
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp esi, dword [0x5f2988]
jg 0x411cab
push 0x5f298c
call fcn.00414110
mov ecx, dword [0x5f2984]
add esp, 4
test ecx, ecx
je 0x411c9d
mov eax, dword [ecx]
mov dword [0x5f2984], eax
mov dword [0x5f298c], 1
test ecx, ecx
jne 0x411cc1
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
je 0x411cc8
mov eax, ecx
pop esi
pop ebp
ret 4
push 0xffffffffffffffff
call fcn.00566268
int3

Function at 0x411d30
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp esi, dword [0x5f297c]
jb 0x411da4
cmp esi, dword [0x5f2980]
jae 0x411da4
mov eax, dword [ebp + 0xc]
cmp eax, dword [0x5f2988]
jle 0x411db9
push edi
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x411dbd
push dword [0x5f2988]
push esi
push edi
call fcn.00563240
push 0x5f298c
call fcn.00414110
mov eax, dword [0x5f2984]
add esp, 0x10
mov dword [esi], eax
mov dword [0x5f2984], esi
mov esi, edi
mov dword [0x5f298c], 1
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
push dword [ebp + 0xc]
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov esi, eax
test esi, esi
jne 0x411d9d
push 0xffffffffffffffff
call fcn.00566268
int3
Function at 0x4128c0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x580ac5
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push esi
push edi
mov eax, dword [0x5e9004]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
test esi, esi
je 0x412a8a
cmp word [esi], 0
je 0x412a8a
lea ecx, [ebp - 0x38]
call fcn.0040a240
mov dword [ebp - 4], 0
movzx eax, word [esi]
mov edx, eax
test ax, ax
je 0x412a63
cmp word [esi + 2], 0
je 0x412972
mov ecx, esi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x412924
sub ecx, edi
mov eax, edx
sar ecx, 1
cmp word [esi + ecx*2 - 2], 0x5c
jne 0x412972
cmp word [esi + ecx*2 - 4], 0x3a
je 0x412972
lea eax, [ecx - 1]
push eax
push esi
lea ecx, [ebp - 0x38]
call fcn.00415310
mov esi, dword [ebp - 0x2c]
test esi, esi
jne 0x41296f
cmp dword [ebp - 0x14], esi
jne 0x41296c
movzx eax, word [0x5c402c]
mov esi, 0x5c402c
jmp 0x412972
mov esi, dword [ebp - 0x1c]
movzx eax, word [esi]
movzx eax, ax
test ax, ax
je 0x412a63
cmp eax, 0x5c
jne 0x41298e
cmp word [esi + 2], 0
je 0x412a63
cmp word [esi + 2], 0x3a
jne 0x4129b2
movzx eax, word [esi + 4]
test ax, ax
je 0x412a63
cmp eax, 0x5c
jne 0x4129b2
cmp word [esi + 6], 0
je 0x412a63
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
push esi
call edi
test eax, eax
jne 0x412a63
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x412a63
cmp eax, 3
jne 0x412a5f
push 0x5c
push esi
call fcn.00562ca3
mov edx, eax
add esp, 8
test edx, edx
je 0x412a5f
cmp word [edx + 2], 0
jne 0x412a11
sub edx, 2
cmp edx, esi
jb 0x412a5f
nop
cmp word [edx], 0x5c
je 0x412a11
sub edx, 2
cmp edx, esi
jae 0x412a00
xor esi, esi
jmp 0x412a68
lea ecx, [ebp - 0x64]
call fcn.0040a240
mov byte [ebp - 4], 1
sub edx, esi
sar edx, 1
lea ecx, [ebp - 0x64]
push edx
push esi
call fcn.00415310
lea ecx, [ebp - 0x64]
call fcn.00414ff0
mov ecx, eax
call fcn.004128c0
test eax, eax
je 0x412a53
push 0
push esi
call edi
mov esi, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.00409ef0
jmp 0x412a68
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.00409ef0
xor esi, esi
jmp 0x412a68
mov esi, 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00409ef0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x412aa0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x580b0d
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push esi
mov eax, dword [0x5e9004]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
test esi, esi
je 0x412bfc
cmp word [esi], 0
je 0x412bfc
push 0x44
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.005637c0
or dword [ebp - 0x50], 1
xor eax, eax
mov dword [ebp - 0x38], vtable.CVolCommonBaseWithMemManager.0
add esp, 0xc
mov dword [ebp - 0x7c], 0x44
mov word [ebp - 0x4c], ax
mov dword [ebp - 0x38], vtable.CVolObject.0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x38], vtable.CVolMem.0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], 0x40
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x38]
push esi
call fcn.00413840
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
cmp dword [ebp - 0x24], ecx
cmove eax, ecx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x7c]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x412b69
xor esi, esi
jmp 0x412b8c
push 0x1f4
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x1c]
call esi
mov esi, 1
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x38], vtable.CVolMem.0
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x412bc7
mov eax, dword [ebp - 0x38]
push ecx
mov eax, dword [eax + 0xc]
cmp eax, method.CVolBaseInputStream.virtual_12
jne 0x412bc2
mov ecx, 0x5f2978
call fcn.004142e0
jmp 0x412bc7
lea ecx, [ebp - 0x38]
call eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov dword [ebp - 0x38], vtable.CVolObject.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x412c10
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x580b40
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x5e9004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
test esi, esi
je 0x412d7f
cmp word [esi], 0
je 0x412d7f
lea ecx, [ebp - 0x244]
call fcn.0040a240
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x238], 0
test eax, eax
je 0x412c87
push eax
mov eax, dword [ebp - 0x234]
lea ecx, [ebp - 0x234]
call dword [eax + 0xc]
movzx eax, word [esi]
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x224], 0
cmp eax, 0x5c
je 0x412cc0
test ax, ax
je 0x412cf2
cmp word [esi + 2], 0x3a
jne 0x412cf2
cmp word [esi + 4], 0x5c
jne 0x412cf2
push 0x5c
push esi
call fcn.00562ca3
add esp, 8
test eax, eax
je 0x412cf2
cmp eax, esi
jbe 0x412cde
cmp word [eax - 2], 0x3a
lea ecx, [eax - 2]
cmovne eax, ecx
sub eax, esi
lea ecx, [ebp - 0x244]
add eax, 2
sar eax, 1
push eax
push esi
call fcn.00415310
mov edi, dword [ebp - 0x238]
test edi, edi
jne 0x412d15
cmp dword [ebp - 0x220], edi
jne 0x412d0b
mov edi, 0x5c402c
jmp 0x412d15
mov edi, dword [ebp - 0x228]
test edi, edi
je 0x412d60
cmp word [edi], 0
je 0x412d60
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x412d60
cmp word [edi], 0
je 0x412d3e
push edi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp word [ebp - 0x218], 0
mov esi, eax
je 0x412d69
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
jmp 0x412d69
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x244]
call fcn.00409ef0
mov eax, esi
jmp 0x412d81
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00561614
mov esp, ebp
pop ebp
ret
Function at 0x413a20
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x580c0d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x5e9004]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x30], vtable.CVolCommonBaseWithMemManager.0
mov dword [ebp - 0x30], vtable.CVolObject.0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], vtable.CVolMem.0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0x40
mov dword [ebp - 4], 1
mov eax, dword [ebx + 0x14]
mov esi, dword [ebp - 0x18]
lea edi, [eax*4 + 6]
mov eax, edi
cdq
idiv esi
mov eax, dword [ebp - 0x30]
sub esi, edx
add esi, edi
push esi
mov eax, dword [eax]
cmp eax, method.CVolBaseInputStream.virtual_0
jne 0x413ad4
mov ecx, 0x5f2978
call fcn.004141f0
mov dword [ebp - 0x10], eax
test eax, eax
je 0x413bf2
jmp 0x413adc
lea ecx, [ebp - 0x30]
call eax
mov dword [ebp - 0x10], eax
xor ecx, ecx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], edi
mov esi, eax
mov dword [ebp - 0x24], eax
mov word [eax], cx
mov ecx, dword [ebp - 0x14]
mov edi, dword [ebx + 0xc]
xor ebx, ebx
cmp dword [ecx + 0x14], ebx
jle 0x413b24
nop dword [eax]
movzx eax, byte [edi]
push eax
push str._02X
push esi
call fcn.00412280
mov eax, dword [ebp - 0x14]
lea edi, [edi + 1]
inc ebx
add esp, 0xc
add esi, 4
cmp ebx, dword [eax + 0x14]
jl 0x413b00
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0xc]
test ecx, ecx
jne 0x413b3b
cmp dword [edi + 0x24], ecx
mov ecx, 0x5c402c
je 0x413b3b
mov ecx, dword [edi + 0x1c]
cmp eax, ecx
je 0x413b7e
mov dword [edi + 0xc], 0
mov ecx, dword [edi + 0x1c]
test ecx, ecx
je 0x413b5a
mov eax, dword [edi + 0x10]
push ecx
lea ecx, [edi + 0x10]
call dword [eax + 0xc]
mov eax, dword [ebp - 0x10]
mov dword [edi + 0x1c], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x20], 0
cmp word [eax], 0
je 0x413b7e
push eax
lea ecx, [edi + 0x10]
call fcn.00413840
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x30], vtable.CVolMem.0
mov dword [ebp - 4], 2
mov edx, dword [ebp - 0x24]
test edx, edx
je 0x413bb9
mov eax, dword [ebp - 0x30]
push edx
mov eax, dword [eax + 0xc]
cmp eax, method.CVolBaseInputStream.virtual_12
jne 0x413bb4
mov ecx, 0x5f2978
call fcn.004142e0
jmp 0x413bb9
lea ecx, [ebp - 0x30]
call eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov dword [ebp - 0x30], vtable.CVolObject.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0xffffffffffffffff
call fcn.00566268
int3
Function at 0x418e33
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
mov eax, ecx
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], edi
je 0x418e78
call fcn.00421bd7
push 0xf0
push dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x418e75
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x418ebf
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov eax, dword [ebp - 4]
push ebx
xor ebx, ebx
inc ebx
test edi, edi
je 0x418e9b
mov ecx, dword [eax]
push dword [ebp + 0x10]
push edi
mov esi, dword [ecx + 0x20]
mov ecx, esi
push dword [ebp + 8]
call dword [0x5919e4]
mov ecx, dword [ebp - 4]
call esi
mov ebx, eax
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x70]
test edi, edi
je 0x418ebc
mov edx, dword [edi]
push dword [ebp + 0x10]
mov esi, dword [edx + 0xa0]
mov ecx, esi
call dword [0x5919e4]
mov ecx, edi
call esi
mov eax, ebx
pop ebx
pop edi
pop esi
leave
ret 0xc

Function at 0x41cb13
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
cmp dword [ecx + 0x58], esi
je 0x41cb66
push esi
push dword [ebp + 8]
call fcn.0041ccfc
mov edi, eax
test edi, edi
je 0x41cb61
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x41cb61
mov eax, dword [ebp - 8]
jmp 0x41cb78
mov eax, dword [ebp + 0x10]
jmp 0x41cb78
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop edi
pop esi
leave
ret 0xc

Function at 0x423dc5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor esi, esi
mov ebx, ecx
push edi
cmp dword [ebp + 8], esi
je 0x423e04
call fcn.00421bd7
push 0xf0
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x423e04
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x423e0c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push esi
mov ecx, ebx
call fcn.0047d943
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x424807
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x424893
cmp dword [esi + 0x20], 0
je 0x424893
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x424893
cmp dword [ebp + 8], 0
je 0x424893
xor edi, edi
mov ebx, edi
call fcn.00421bd7
push 0x593eb8
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 8], eax
test eax, eax
je 0x424877
mov ebx, dword [ebp - 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 8]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x424893
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push edi
push ebx
push esi
call fcn.0047e43d
mov edi, eax
add esp, 0xc
test edi, edi
je 0x42488f
mov ecx, esi
call fcn.004245a5
mov eax, edi
jmp 0x424895
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x433f0a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
push edi
test esi, esi
jne 0x433f23
call fcn.00421bd7
mov esi, dword [eax + 0xc]
push 0x594b4c
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x433f65
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x433f65
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x433f65
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.00433f6e
jmp 0x433f67
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x458fee
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x581378
call fcn.00561cdc
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x459014
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x45906e
lea ecx, [ebp - 0x10]
call fcn.00416915
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call dword [0x5919e4]
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.0056d39e
push eax
call fcn.00416cbe
add esp, 0x14
test esi, esi
je 0x459061
push esi
call fcn.0056cb34
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004165e0
mov eax, ebx
call fcn.00561caa
ret 8