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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x720
mov eax, dword [0x41a520]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x718], ecx
lea ecx, [ebp - 0x304]
push 0x100
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x714]
push eax
lea eax, [ebp - 0x304]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x40bb85
push edi
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
lea eax, [ebp - 0x304]
push edi
push esi
push dword [ebp - 0x714]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x40bb7d
lea eax, [ebp - 0x714]
push eax
lea eax, [ebp - 0x71c]
push eax
push 0x401328
push edi
call sub.VERSION.dll_VerQueryValueW
mov ecx, dword [ebp - 0x71c]
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
lea eax, [ebp - 0x104]
push 0x40135c
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
xor esi, esi
add esp, 0x10
cmp dword [ebp + 0x14], esi
jle 0x40bb7d
lea eax, [ebp - 0x708]
mov dword [ebp - 0x70c], 0x200
mov dword [ebp - 0x710], eax
lea ecx, [ebp - 0x710]
lea eax, [ebp - 0x104]
push eax
call fcn.00413ad7
mov eax, dword [ebp - 0x718]
lea ecx, [ebp - 0x710]
push dword [eax + esi*8]
call fcn.00413ad7
mov eax, dword [ebp - 0x710]
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x714]
push eax
lea eax, [ebp - 0x720]
push eax
lea eax, [ebp - 0x708]
push eax
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
mov eax, dword [ebp - 0x718]
je 0x40bb63
push dword [ebp - 0x720]
jmp 0x40bb68
push 0x401390
push dword [eax + esi*8 + 4]
push ebx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
inc esi
cmp esi, dword [ebp + 0x14]
jl 0x40baef
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00413150
leave
ret 0x10

Function at 0x40bd22
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov ecx, dword [0x41a420]
push esi
push edi
or esi, 0xffffffff
xor edi, edi
cmp ecx, esi
je 0x40bd66
push edi
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 0xc]
add eax, eax
push eax
push dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
lea eax, [ebp - 4]
push eax
push 4
push 0x406490
push dword [0x41a420]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [0x41d7e0]
test ecx, ecx
je 0x40bdcf
cmp dword [0x41d808], edi
je 0x40bdcf
mov eax, dword [0x41d804]
cmp eax, 0x800
jb 0x40bda3
push edi
push edi
push 0x184
push ecx
mov dword [0x41d804], edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [0x41d7e0]
mov eax, dword [0x41d804]
push dword [ebp + 8]
inc eax
push edi
push 0x180
push ecx
mov dword [0x41d804], eax
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 1
push 0x115
push dword [0x41d7e0]
mov esi, eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
mov eax, esi
pop esi
leave
ret 8
Function at 0x40c36c
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [0x41a520]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [0x41a420]
push ebx
or ebx, 0xffffffff
push esi
cmp eax, ebx
jne 0x40c39a
xor eax, eax
cmp ecx, ebx
sete al
test eax, eax
je 0x40c4c6
cmp ecx, ebx
jne 0x40c4d9
push edi
mov esi, 0x4063f8
lea edi, [ebp - 0x20c]
push 0x1fa
lea eax, [ebp - 0x1fe]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor esi, esi
push esi
push eax
call sub.msvcrt.dll_memset
mov eax, dword [0x41d7f8]
add esp, 0xc
mov dword [ebp - 0x268], eax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x250], eax
xor eax, eax
mov dword [ebp - 0x234], eax
lea eax, [ebp - 0x26c]
push eax
mov dword [ebp - 0x26c], 0x58
mov dword [ebp - 0x264], esi
mov dword [ebp - 0x260], 0x406408
mov dword [ebp - 0x25c], esi
mov dword [ebp - 0x258], esi
mov dword [ebp - 0x254], esi
mov dword [ebp - 0x24c], 0x104
mov dword [ebp - 0x248], esi
mov dword [ebp - 0x244], esi
mov dword [ebp - 0x240], esi
mov dword [ebp - 0x23c], 0x406464
mov dword [ebp - 0x238], 0x806
mov dword [ebp - 0x230], 0x406488
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x228], esi
mov dword [ebp - 0x224], esi
call dword [sym.imp.COMDLG32.dll_GetSaveFileNameW]
pop edi
test eax, eax
je 0x40c4be
push esi
push 0x80
push 2
push esi
push esi
push 0x40000000
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push esi
lea ecx, [ebp - 0x214]
mov dword [0x41a420], eax
push ecx
push 2
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x210], 0xfeff
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [0x41a420]
jmp 0x40c4d9
cmp ecx, ebx
je 0x40c4d9
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, ebx
mov dword [0x41a420], ecx
xor eax, eax
cmp ecx, ebx
mov ecx, dword [ebp - 4]
setne al
xor ecx, ebp
pop esi
pop ebx
call fcn.00413150
leave
ret 4
Function at 0x40c856
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x41a520]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
call fcn.0040e199
test eax, eax
je 0x40c8dc
push 0x200
lea eax, [ebp - 0x404]
push eax
push 0x6e
push dword [0x41d7f4]
call dword [sym.imp.USER32.dll_LoadStringW]
xor esi, esi
test eax, eax
jle 0x40c8ac
push 0x30
push esi
lea eax, [ebp - 0x404]
push eax
push dword [0x41d7f8]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp dword [0x41a440], 5
jbe 0x40c92c
push 0x2000
push esi
mov edi, 0x41a440
push edi
call fcn.0040b86b
test al, al
je 0x40c92c
lea eax, [ebp - 0x424]
push eax
push 2
push esi
push esi
push 0x40b2f4
jmp 0x40c926
push 5
xor esi, esi
push esi
push esi
push 0x406678
push 0x4066d4
push dword [0x41d7f8]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [0x41a440], 5
jbe 0x40c92c
push 0x2000
push esi
mov edi, 0x41a440
push edi
call fcn.0040b86b
test al, al
je 0x40c92c
lea eax, [ebp - 0x424]
push eax
push 2
push esi
push esi
push 0x40b314
push edi
call fcn.0040b8ab
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00413150
leave
ret

Function at 0x40e41d
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41a520]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, 0x41a440
push edi
xor edi, edi
push edi
push edi
push ebx
call fcn.0040b6c9
push edi
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push 0x404764
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
sbb eax, eax
inc eax
cmp dword [0x41a440], 5
mov dword [0x41d7f0], eax
jbe 0x40e497
push 0x2000
push edi
push ebx
call fcn.0040b86b
test al, al
je 0x40e497
lea eax, [ebp - 0x24]
push eax
push 2
push edi
push edi
push 0x40b101
push ebx
call fcn.0040b8ab
push esi
call fcn.0040c0b0
test eax, eax
je 0x40e4e2
jmp 0x40e4d1
lea eax, [ebp - 0x20]
push eax
push dword [0x41d7e8]
push dword [0x41d7f8]
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x40e4d1
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push edi
push edi
push edi
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x40e4a3
call fcn.0040e349
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00413150
leave
ret 0x10
Function at 0x410b4a
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
cmp dword [0x41de58], 0
push ebx
jne 0x410c1b
cmp dword [0x41de5c], 0
jne 0x410c1b
push 0x41de5c
xor ebx, ebx
push ebx
push ebx
push 1
push ebx
mov dword [0x41de60], ebx
call fcn.004107d9
test eax, eax
js 0x410c20
push esi
push edi
push 0x41de64
push ebx
push ebx
push 0x411b20
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
mov dword [ebp - 4], esi
test esi, esi
jne 0x410bd2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [0x41de5c]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x41de5c], ebx
test edi, edi
jle 0x410c0c
movzx edi, di
or edi, 0x80070000
jmp 0x410c0c
push 0xffffffffffffffff
push dword [0x41de5c]
call fcn.00410838
mov edi, dword [0x41de60]
test edi, edi
js 0x410bf4
mov dword [0x41de58], esi
mov dword [ebp - 4], ebx
jmp 0x410c0c
push dword [0x41de5c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [0x41de60]
mov dword [0x41de5c], ebx
lea eax, [ebp - 4]
push eax
call fcn.0040e20d
mov eax, edi
pop edi
pop esi
jmp 0x410c20
mov eax, 0x80004005
pop ebx
leave
ret

Function at 0x41279b
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004127a6

Function at 0x413604
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x419370
call fcn.004138c8
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x413664
cmp eax, 0xffffffff
je 0x413664
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x41365d
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x41365d
cmp edx, 0x10000000
jae 0x41365d
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x41365a
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4136d0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x41370e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x413706
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x413710
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x4136f6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4137e0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x413811
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x413811
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x413811
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x413cd9
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x413d00
lea eax, [ebp - 4]
push eax
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x413d45
mov ecx, dword [ebp - 4]
jmp 0x413d06
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0x18]
push edi
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x14]
lea eax, [ebp - 0xc]
push eax
push 0
push dword [ebp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test esi, esi
je 0x413d33
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
pop edi
jne 0x413d45
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0x1c]
jne 0x413d45
xor eax, eax
inc eax
jmp 0x413d47
xor eax, eax
pop esi
leave
ret 0x18

Function at 0x413d4c
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x413d71
lea eax, [ebp - 4]
push eax
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x413da1
mov eax, dword [ebp - 4]
jmp 0x413d77
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
push edi
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x1c]
push 0
push dword [ebp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
test esi, esi
je 0x413d9c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
pop edi
je 0x413da5
xor eax, eax
jmp 0x413da8
xor eax, eax
inc eax
pop esi
leave
ret 0x18
Function at 0x414db8
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41a520]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x20], ebx
je 0x414de5
push 1
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
cmp dword [ebp + 0xc], 0
je 0x414efd
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [ebx + 0xc]
lea eax, [ebp - 0x14]
push eax
add esi, 4
sub esp, 0x10
mov edi, esp
mov ecx, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004142c1
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x14]
push 0x10
push eax
push ecx
push dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
push dword [ebp - 0x14]
mov dword [ebp - 0x1c], ecx
push 0xffffffffffffffff
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esi, dword [ebx + 0xc]
xor edi, edi
cmp dword [esi + 0x1c], edi
je 0x414ed6
add esi, 0x20
lea edi, [ebp - 0x14]
push 2
lea eax, [ebp - 0x14]
push eax
push dword [ebx + 4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor edi, edi
push edi
call dword [sym.imp.USER32.dll_MapWindowPoints]
push dword [ebp - 8]
mov eax, dword [ebx + 0x10]
push dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push dword [ebp - 0x18]
mov ebx, eax
push dword [ebp - 0x1c]
push edi
push edi
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push edi
push edi
push edi
push edi
mov esi, eax
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push 4
push ebx
mov edi, eax
push esi
push edi
call dword [sym.imp.GDI32.dll_CombineRgn]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ebx, dword [ebp - 0x20]
push 0
push edi
push dword [ebx + 4]
mov dword [ebx + 0x10], edi
call dword [sym.imp.USER32.dll_SetWindowRgn]
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x414ef2
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x414ef2
cmp dword [ebx + 0x10], edi
je 0x414ef2
push edi
push edi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowRgn]
push dword [ebx + 0x10]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebx + 0x10], edi
push 8
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00413150
leave
ret 8
Function at 0x4150a4
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
lea edi, [ecx + 0x208]
xor ebx, ebx
cmp dword [edi], ebx
jne 0x4150d0
push edi
push 1
push ebx
push ecx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4150d0
mov dword [edi], ebx
mov esi, 0x41a53c
cmp dword [edi], ebx
je 0x415119
lea eax, [ebp - 8]
mov dword [ebp - 8], 4
push eax
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push dword [esi - 4]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x415119
mov eax, dword [ebp - 4]
cmp dword [esi], ebx
je 0x415116
cmp eax, dword [esi + 4]
jge 0x41510b
mov eax, dword [esi + 4]
mov dword [ebp - 4], eax
cmp eax, dword [esi + 8]
jle 0x415116
mov eax, dword [esi + 8]
mov dword [ebp - 4], eax
mov dword [esi + 0xc], eax
add esi, 0x18
cmp esi, 0x41a8e4
jl 0x4150d5
pop edi
pop esi
pop ebx
leave
ret

Function at 0x417aa0
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor esi, esi
mov dword [ebp - 4], edi
lea ebx, [edi + 0x4c]
mov dword [edi + 0x50], esi
push ebx
push esi
push esi
push 1
push esi
call fcn.004107d9
test eax, eax
js 0x417b3b
lea eax, [edi + 0x48]
push eax
push esi
push edi
push 0x4181a0
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
mov dword [ebp - 8], esi
test esi, esi
jne 0x417b03
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebx]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [ebx], esi
test edi, edi
jle 0x417b30
movzx edi, di
or edi, 0x80070000
jmp 0x417b30
push 0xffffffffffffffff
push dword [ebx]
call fcn.00410838
mov edi, dword [edi + 0x50]
test edi, edi
js 0x417b1f
mov eax, dword [ebp - 4]
and dword [ebp - 8], 0
mov dword [eax + 0x44], esi
jmp 0x417b30
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
and dword [ebx], 0
mov edi, dword [eax + 0x50]
lea eax, [ebp - 8]
push eax
call fcn.0040e20d
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x431003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
nop
mov ecx, 0x252d51da
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x431024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x7ba15170
nop
nop
nop
test eax, eax
nop
nop
je 0x431084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43106c
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x10002220
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x10002278
cmp byte [esi + ebx - 1], 0xa
je 0x1000224c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x10007084], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
Function at 0x10002820
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xe0
mov edi, dword [0x10007094]
mov esi, dword [ebp + 8]
test edi, edi
je 0x100029e0
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call dword [0x10007094]
movzx eax, al
bt eax, esi
jae 0x10002a40
mov ecx, dword [0x10007084]
xor eax, eax
mov edx, dword fs:[0x18]
cmp dword [edx + 0x24], ecx
je 0x100028e5
test byte [0x10003030], 8
jne 0x10002980
lea ebx, [ebp - 0xd4]
mov edi, ebx
test byte [0x10003040], 8
jne 0x10002930
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov dword [esp + 4], str._04x:
mov dword [esp], edi
mov dword [esp + 8], eax
call sym._sprintf
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x100028b4
cmp esi, 3
jbe 0x100028f0
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.ucrtbase.dll_strlen]
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0xe0
pop ebx
pop esi
pop edi
pop ebp
ret
add eax, edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 8], str._s:_s:_s
mov dword [esp], eax
mov dword [esp + 0x14], edi
mov edi, dword [ebp + 0xc]
lea edx, [edi + 1]
mov dword [esp + 0x10], edx
mov edx, dword [esi*4 + 0x100051e8]
mov dword [esp + 0xc], edx
mov edx, ebx
sub edx, eax
add edx, 0xc8
mov dword [esp + 4], edx
call sym._snprintf.constprop.0
jmp 0x100028b4
mov ecx, dword [0x10007094]
test ecx, ecx
je 0x10002a20
mov dword [esp], 0x10003040
call dword [0x10007094]
test al, 8
je 0x1000288b
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x20]
mov dword [esp], edi
mov dword [esp + 4], str._04x:
mov dword [esp + 8], eax
call sym._sprintf
add edi, eax
jmp 0x1000288b
mov ebx, dword [0x10007094]
test ebx, ebx
je 0x10002a00
mov dword [esp], 0x10003030
call dword [0x10007094]
test al, 8
je 0x10002876
call dword [sym.imp.kernel32.dll_GetTickCount]
lea ebx, [ebp - 0xd4]
mov dword [esp + 4], str._3u._03u:
mov ecx, eax
mov eax, 0x10624dd3
mov dword [esp], ebx
mul ecx
shr edx, 6
imul eax, edx, 0x3e8
mov dword [esp + 8], edx
sub ecx, eax
mov dword [esp + 0xc], ecx
call sym._sprintf
lea edi, [ebx + eax]
jmp 0x1000287e
mov ecx, sym._fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x10007094
call sym._load_func.part.0
jmp 0x1000283d
mov ecx, sym._fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x10007094
call sym._load_func.part.0
jmp 0x1000298a
mov ecx, sym._fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x10007094
call sym._load_func.part.0
jmp 0x1000293e
mov eax, 0xffffffff
jmp 0x100028e5
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x4e047e02
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..text_1
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
mov ebx, 0x4304d8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x622b070e
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219