joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10050a70
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b3f9b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x10415990]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.1016034a
push 4
mov dword [ebp - 4], 0
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
mov edi, eax
add esp, 4
test edi, edi
je 0x10050af1
call fcn.10160217
mov dword [edi], eax
call fcn.1015ffd4
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.1016030b
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x10050ae7
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.10160333
jmp 0x10050af3
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
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 0x10054900
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b443e
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x10415990]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [edi], vtable.ifly_cnn::input_layer_float_.0
mov dword [ebp - 4], 2
xor ebx, ebx
mov dword [edi + 8], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ebx
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 0xc]
xor esi, esi
sar eax, 2
test eax, eax
je 0x1005498b
nop
mov ecx, dword [edi + 0xc]
cmp dword [ecx + esi*4], ebx
lea eax, [ecx + esi*4]
je 0x1005497d
mov ebx, dword [eax]
test ebx, ebx
je 0x10054971
push ebx
call fcn.10055450
push ebx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov edx, dword [edi + 0xc]
mov dword [edx + esi*4], 0
xor ebx, ebx
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 0xc]
inc esi
sar eax, 2
cmp esi, eax
jb 0x10054950
mov ecx, dword [edi + 0x10]
mov esi, dword [edi + 0xc]
cmp esi, ecx
je 0x100549b6
mov eax, ecx
sub eax, ecx
sar eax, 2
lea ebx, [eax*4]
push ebx
push ecx
push esi
call dword [sym.imp.MSVCR100.dll_memmove]
add ebx, esi
add esp, 0xc
mov dword [edi + 0x10], ebx
xor ebx, ebx
lea esi, [edi + 0x1c]
call fcn.10055260
mov eax, dword [esi]
mov dword [esi + 0x10], ebx
cmp eax, ebx
je 0x100549d1
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov eax, dword [edi + 0xc]
cmp eax, ebx
je 0x100549ea
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi], vtable.ifly_cnn::base_layer_float_.0
mov dword [edi + 4], 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
Function at 0x10056840
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b470e
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10415990]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov dword [ebx + 4], ecx
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebx], vtable.ifly_cnn::input_layer_float_.0
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
mov byte [ebp - 4], 1
lea esi, [ebx + 0x1c]
mov dword [ebp - 0x10], eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
lea eax, [ebp - 0x10]
push eax
xor edi, edi
call fcn.10058690
xor eax, eax
mov dword [esi + 0x10], eax
mov byte [ebp - 4], 2
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x34], eax
mov dword [ebx + 0x38], eax
mov eax, dword [ebx + 0x10]
mov edi, dword [ebx + 0xc]
cmp edi, eax
je 0x100568de
mov ecx, eax
sub ecx, eax
sar ecx, 2
add ecx, ecx
add ecx, ecx
push ecx
push eax
push edi
mov dword [ebp - 0x10], ecx
call dword [sym.imp.MSVCR100.dll_memmove]
mov ecx, dword [ebp - 0x10]
add esp, 0xc
add ecx, edi
mov dword [ebx + 0x10], ecx
call fcn.10055260
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
Function at 0x1005f900
Capabilities:
Create directory

Disassembly:
push esi
xor esi, esi
test ecx, ecx
je 0x1005f957
mov esi, ecx
lea edx, [esi + 1]
lea esp, [esp]
mov al, byte [esi]
inc esi
test al, al
jne 0x1005f910
sub esi, edx
test esi, esi
jle 0x1005f957
cmp esi, 0x180
jle 0x1005f92c
mov eax, 0x277b
pop esi
ret
push ecx
push 0x10447900
push 0x180
push 0x10457e08
call fcn.1005f880
mov esi, eax
mov al, 0x5c
add esp, 0x10
cmp byte [esi + 0x10457e07], al
je 0x1005f957
mov byte [esi + 0x10457e08], al
inc esi
push 0x10447904
push 0x10447908
lea eax, [esi + 0x10457e08]
push 0x40
push eax
call fcn.1005f880
add esp, 0x10
push 0
push 0x10457e08
mov byte [eax + esi + 0x10457e08], 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jle 0x1005f98d
xor eax, eax
pop esi
ret

Function at 0x1005fa70
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push edi
test ecx, ecx
je 0x1005fab8
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x1005fab8
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x1005fab8
push esi
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x1005fa97
mov dword [esi], 0
push ecx
push edi
push 1
push eax
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
test esi, esi
je 0x1005faab
mov dword [esi], eax
sub eax, edi
neg eax
sbb eax, eax
pop esi
and eax, 0xfffffffe
pop edi
pop ebp
ret
or eax, 0xffffffff
pop edi
pop ebp
ret

Function at 0x1005fac0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push edi
test ecx, ecx
je 0x1005fb08
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x1005fb08
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x1005fb08
push esi
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x1005fae7
mov dword [esi], 0
push ecx
push edi
push 1
push eax
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
test esi, esi
je 0x1005fafb
mov dword [esi], eax
sub eax, edi
neg eax
sbb eax, eax
pop esi
and eax, 0xfffffffe
pop edi
pop ebp
ret
or eax, 0xffffffff
pop edi
pop ebp
ret

Function at 0x1005fb90
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x10415990]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test eax, eax
je 0x1005fc03
test esi, esi
je 0x1005fc03
push edi
push 0
push eax
lea edi, [ebp - 0x204]
call fcn.1005fc80
push 0
push esi
lea edi, [ebp - 0x404]
call fcn.1005fc80
add esp, 0x10
push 0
mov eax, edi
push eax
lea ecx, [ebp - 0x204]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea edx, [ebp - 0x204]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1015eea7
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 0x277a
pop esi
call fcn.1015eea7
mov esp, ebp
pop ebp
ret
Function at 0x1005fc20
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x10415990]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
test eax, eax
jne 0x1005fc4d
mov eax, 0x277a
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1015eea7
mov esp, ebp
pop ebp
ret
push edi
push 0
push eax
lea edi, [ebp - 0x204]
call fcn.1005fc80
add esp, 8
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop edi
call fcn.1015eea7
mov esp, ebp
pop ebp
ret
Function at 0x1018c7b0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x101b2308
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10415990]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebp, ecx
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x1018c811
push 0x10377400
push ebx
call sub.MSVCR100.dll_fopen
mov esi, eax
add esp, 8
test esi, esi
je 0x1018c811
push 2
push 0
push esi
call sub.MSVCR100.dll_fseek
push esi
call sub.MSVCR100.dll_ftell
push esi
mov edi, eax
call sub.MSVCR100.dll_fclose
add esp, 0x14
test edi, edi
jne 0x1018c818
mov eax, 0xea64
jmp 0x1018c885
push edi
call sub.MSVCR100.dll_void____cdecl_operator_new___unsigned_int_
mov esi, eax
mov dword [esp + 0x2c], esi
push 0x1037300c
push ebx
mov dword [esp + 0x28], 0
call sub.MSVCR100.dll_fopen
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x1018c855
push ebx
push edi
push 1
push esi
call sub.MSVCR100.dll_fread
push ebx
call sub.MSVCR100.dll_fclose
add esp, 0x14
jmp 0x1018c85b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x28]
push ecx
push edx
push edi
push esi
push eax
mov ecx, ebp
call fcn.1018afd0
push esi
mov edi, eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x14
Function at 0x402e60
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x118
mov eax, dword [0x4331d4]
xor eax, esp
mov dword [esp + 0x114], eax
push ebx
push esi
lea eax, [esp + 0xc]
push eax
push 0x20019
push 0
push str.SoftwareIntelDisplayigfxcuiigfxsrvcDesktopGammaDefault
xor bl, bl
push reloc.OLEAUT32.dll_SysReAllocString
mov esi, ecx
mov dword [esp + 0x20], 0
mov byte [esp + 0x1f], 0
mov byte [esp + 0x1e], bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402fc8
push edi
push 0x104
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.004124e0
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
add esp, 0xc
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push str.BrightnessDefault
push edx
mov dword [esp + 0x30], 0x104
mov dword [esp + 0x2c], 1
call edi
test eax, eax
jne 0x402f20
lea eax, [esp + 0x1c]
push eax
call fcn.004129ae
push 0x104
lea ecx, [esp + 0x24]
push 0
push ecx
mov dword [esi + 0xc], eax
call fcn.004124e0
add esp, 0x10
mov byte [esp + 0xf], 1
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push str.ContrastDefault
push edx
call edi
test eax, eax
jne 0x402f64
lea eax, [esp + 0x1c]
push eax
call fcn.004129ae
push 0x104
lea ecx, [esp + 0x24]
push 0
push ecx
mov dword [esi + 0x10], eax
call fcn.004124e0
add esp, 0x10
mov bl, 1
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push str.GammaDefault
push edx
call edi
pop edi
test eax, eax
jne 0x402fac
lea eax, [esp + 0x18]
push eax
call fcn.004129ae
push 0x104
lea ecx, [esp + 0x20]
push 0
push ecx
mov dword [esi + 0x14], eax
call fcn.004124e0
add esp, 0x10
mov byte [esp + 0xa], 1
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [esp + 0xb], 0
jne 0x402fd9
test bl, bl
jne 0x402fe6
cmp byte [esp + 0xa], bl
jne 0x402fe6
mov ecx, esi
call fcn.00402ce0
test eax, eax
jl 0x402fe6
mov bl, 1
mov byte [esp + 0xa], bl
mov eax, dword [esi + 0xc]
cmp eax, 0xffffffc4
jl 0x402fe6
cmp eax, 0x64
jle 0x402fed
mov dword [esi + 0xc], 0
test bl, bl
je 0x402ffe
mov eax, dword [esi + 0x10]
cmp eax, 0x28
jl 0x402ffe
cmp eax, 0x64
jle 0x403005
mov dword [esi + 0x10], 0x32
cmp byte [esp + 0xa], 0
je 0x403019
mov eax, dword [esi + 0x14]
cmp eax, 0xa
jl 0x403019
cmp eax, 0x32
jle 0x403020
mov dword [esi + 0x14], 0xa
mov ecx, dword [esp + 0x11c]
pop esi
pop ebx
xor ecx, esp
call fcn.004124d0
add esp, 0x118
ret

Function at 0x404e70
Capabilities:
Check os version

Disassembly:
sub esp, 0x98
mov eax, dword [0x4331d4]
xor eax, esp
mov dword [esp + 0x94], eax
push esi
push 0x94
xor esi, esi
lea eax, [esp + 8]
push esi
push eax
call fcn.004124e0
add esp, 0xc
lea ecx, [esp + 4]
push ecx
mov dword [esp + 8], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x404ebb
cmp dword [esp + 8], 6
lea eax, [esi + 1]
je 0x404ebd
mov eax, esi
mov ecx, dword [esp + 0x98]
pop esi
xor ecx, esp
call fcn.004124d0
add esp, 0x98
ret
Function at 0x406020
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
mov eax, dword [ecx]
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x406040
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, ecx
test esi, esi
jne 0x406054
pop edi
lea eax, [esi + 0xd]
pop esi
ret 0xc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 0xc]
mov edx, dword [edi]
inc eax
push eax
mov eax, dword [esp + 0x18]
push esi
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
ret 0xc

Function at 0x406080
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 4], ecx
test ebp, ebp
jne 0x406096
lea eax, [ebp + 0xd]
pop ebp
pop ecx
ret 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
push edi
xor edi, edi
mov esi, ebp
push esi
call ebx
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x4060a3
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret 8
Function at 0x406bb0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x124
mov eax, dword [0x4331d4]
xor eax, esp
mov dword [esp + 0x120], eax
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, ecx
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
lea esi, [esp + 0x14]
push esi
xor edi, edi
or eax, 0x2001f
push eax
push edi
push edx
push ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, dword [esp + 0xc]
mov esi, eax
cmp esi, edi
jne 0x406c26
xor eax, eax
cmp ecx, edi
je 0x406c14
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], edi
mov esi, eax
mov dword [esp + 0xc], ecx
cmp eax, edi
je 0x406c34
cmp ecx, edi
je 0x406cd2
push ecx
jmp 0x406ccc
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea eax, [esp + 0x20]
push eax
push edi
push edi
push edi
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x3c]
push eax
push edi
push ecx
mov dword [esp + 0x38], 0x100
call esi
test eax, eax
jne 0x406c9c
lea esp, [esp]
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x10]
call fcn.00406bb0
mov dword [esp + 0x14], eax
cmp eax, edi
jne 0x406ceb
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x10]
push edi
push edi
push edi
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x3c]
push ecx
push edi
push edx
mov dword [esp + 0x38], 0x100
call esi
test eax, eax
je 0x406c60
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x406caf
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebx]
push eax
push ecx
mov dword [esp + 0x18], edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x406cd2
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.004124d0
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0xc]
cmp ecx, edi
je 0x406cd4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x12c]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004124d0
mov esp, ebp
pop ebp
ret 4

Function at 0x406f40
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push 0
push 0
push 0
push 0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 0x34], eax
test eax, eax
jne 0x406f5e
xor al, al
pop esi
pop ecx
ret
lea eax, [esp + 4]
push eax
push 0
push esi
push 0x406f30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
neg eax
sbb eax, eax
neg eax
pop esi
pop ecx
ret
Function at 0x40c9c0
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x20
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push 0
mov esi, eax
call dword [sym.imp.ole32.dll_CoInitialize]
mov eax, dword [esp + 0x30]
push 0x426988
push eax
push 0x432170
mov ecx, 0x4348b0
call fcn.00406660
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov cx, word [0x4275f8]
mov dl, byte [0x4275fa]
mov dword [0x4348e0], eax
lea eax, [esp + 0xc]
push eax
push esi
mov word [esp + 0x14], cx
mov byte [esp + 0x16], dl
xor ebx, ebx
call fcn.004068e0
mov esi, eax
add esp, 8
test esi, esi
je 0x40ca64
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
lea esp, [esp]
push str.UnregServer
push esi
call edi
test eax, eax
je 0x40cae8
push str.RegServer
push esi
call edi
test eax, eax
je 0x40cb0a
lea ecx, [esp + 0xc]
push ecx
push esi
call fcn.004068e0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40ca30
mov ecx, 0x4348b0
call fcn.00406f40
push 1
push 4
mov ecx, 0x4348b0
call fcn.00406e60
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push 0
push 0
push 0
lea edx, [esp + 0x1c]
push edx
call esi
test eax, eax
je 0x40cab8
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea esp, [esp]
lea eax, [esp + 0x10]
push eax
call edi
push 0
push 0
push 0
lea ecx, [esp + 0x1c]
push ecx
call esi
test eax, eax
jne 0x40caa0
mov ecx, 0x4348b0
call fcn.00406ef0
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x4348b0
call fcn.00406dc0
call dword [sym.imp.ole32.dll_CoUninitialize]
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x20
ret 0x10
push 0
push 0
push 0x64
push 0x4348b0
call fcn.0040c5a0
push 0
push 1
mov ecx, 0x4348b0
call fcn.0040b880
mov ebx, eax
jmp 0x40cacd
push 0
push 1
push 0x64
push 0x4348b0
call fcn.0040c5a0
push 0
push 1
mov ecx, 0x4348b0
call fcn.0040b7f0
mov ebx, eax
jmp 0x40cacd

Function at 0x4124d0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4331d4]
jne 0x4124da
repz ret
jmp fcn.0041694c
Function at 0x4212f4
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00414c52
and dword [ebp - 4], 0
cmp dword [0x435330], 0
mov ebx, eax
jne 0x4213a5
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x421456
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x421456
push eax
call fcn.00414be0
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x435330], eax
call esi
push eax
call fcn.00414be0
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x435334], eax
call esi
push eax
call fcn.00414be0
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x435338], eax
call esi
push eax
call fcn.00414be0
pop ecx
mov dword [0x435340], eax
test eax, eax
je 0x4213a5
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00414be0
pop ecx
mov dword [0x43533c], eax
mov eax, dword [0x43533c]
cmp eax, ebx
je 0x4213fd
cmp dword [0x435340], ebx
je 0x4213fd
push eax
call fcn.00414c5b
push dword [0x435340]
mov esi, eax
call fcn.00414c5b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4213fd
test edi, edi
je 0x4213fd
call esi
test eax, eax
je 0x4213f4
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4213f4
test byte [ebp - 0xc], 1
jne 0x4213fd
or dword [ebp + 0x10], 0x200000
jmp 0x421436
mov eax, dword [0x435334]
cmp eax, ebx
je 0x421436
push eax
call fcn.00414c5b
pop ecx
test eax, eax
je 0x421436
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x421436
mov eax, dword [0x435338]
cmp eax, ebx
je 0x421436
push eax
call fcn.00414c5b
pop ecx
test eax, eax
je 0x421436
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x435330]
call fcn.00414c5b
pop ecx
test eax, eax
je 0x421456
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x421458
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e072
mov ebx, 0x407ef8
nop
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x78b94da4
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x42e060
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e0d2
nop
mov ebx, 0x42cd70
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x7f227861
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219