joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423da0
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
push esi
lea eax, [esp + 4]
push eax
push 0x104
push ebx
push 1
push 0
push 0
call sub.WINSPOOL.DRV_GetPrinterDriverDirectoryW
mov esi, eax
test esi, esi
je 0x423e14
push edi
xor eax, eax
mov ecx, 0x47
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x10], 0x11c
call edi
test eax, eax
jne 0x423df9
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x10], 0x114
call edi
cmp dword [esp + 0x10], 5
pop edi
jb 0x423e08
push 0x40751c
jmp 0x423e0d
push 0x407524
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
xor eax, eax
test esi, esi
setne al
pop esi
add esp, 0x120
ret

Function at 0x423fd0
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x208
push ebx
push esi
push edi
mov edi, dword [esp + 0x218]
xor ebx, ebx
cmp edi, ebx
mov esi, ecx
je 0x424023
cmp word [edi], bx
je 0x424023
cmp byte [esp + 0x21c], bl
jne 0x4240b0
lea ebx, [esp + 0xc]
call fcn.00423da0
test al, al
je 0x424021
push edi
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 4], eax
xor ebx, ebx
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x4240e2
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402fd4
push eax
call edi
mov edx, dword [esi + 4]
push 0x402fbc
push edx
mov dword [esi + 0xc], eax
call edi
mov dword [esi + 0x10], eax
mov eax, dword [esi + 4]
push 0x402fa4
push eax
call edi
mov ecx, dword [esi + 4]
push 0x402f8c
push ecx
mov dword [esi + 0x14], eax
call edi
mov edx, dword [esi + 4]
push 0x402f74
push edx
mov dword [esi + 0x18], eax
call edi
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 4]
push 0x402f58
push eax
call edi
cmp dword [esi + 0xc], ebx
mov dword [esi + 0x20], eax
je 0x4240bf
cmp dword [esi + 0x10], ebx
je 0x4240bf
cmp dword [esi + 0x14], ebx
je 0x4240bf
cmp dword [esi + 0x18], ebx
je 0x4240bf
cmp dword [esi + 0x1c], ebx
je 0x4240bf
cmp eax, ebx
je 0x4240bf
pop edi
pop esi
mov al, 1
pop ebx
add esp, 0x208
ret 8
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 4], eax
jmp 0x424023
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x4240e2
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 4], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x208
ret 8
Function at 0x100e609
Capabilities:
Initialize winsock library

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3f8
mov eax, dword [0x1041a30]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x234]
and dword [ebp - 0x3e0], 0
push ebx
push esi
push edi
mov dword [ebp - 0x3e4], eax
lea eax, [ebp - 0x3e0]
push eax
mov ebx, 0x1001390
push ebx
mov ecx, 0x8a
lea esi, [ebp + 8]
lea edi, [ebp - 0x24c]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0x230]
push 0x1001e70
push 0x32
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 0x3f8], esi
call sym.diskraid.exe_public:_void___thiscall_CDrCallTracer::constructor_unsigned_long_int__char_const__const__char_const__const__long_int_const__
xor eax, eax
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x190
xor edi, edi
lea eax, [ebp - 0x3dc]
push edi
push eax
call sub.msvcrt.dll_memset
mov eax, dword [ebp - 0x24c]
add esp, 0xc
sub eax, edi
je 0x100e7c5
dec eax
je 0x100e725
dec eax
je 0x100e6b6
mov dword [ebp - 0x3e0], 0x80004005
jmp 0x100e7e9
lea esi, [ebp - 0x244]
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x3e4]
push eax
push dword [ebp - 0x3f8]
movsd dword es:[edi], dword [esi]
push dword [ebp - 0x28]
movsd dword es:[edi], dword [esi]
push dword [ebp - 0x230]
lea eax, [ebp - 0x24]
push eax
movsd dword es:[edi], dword [esi]
call dword [sym.imp.ntdll.dll_RtlIpv6AddressToStringExW]
test eax, eax
je 0x100e7e9
push 0x1001e50
mov eax, 0x80004005
push eax
push dword [ebp - 0x3f4]
push 1
push 0x1224
push ebx
push 0x10012a4
mov dword [ebp - 0x3e0], eax
lea eax, [ebp - 0x3f4]
push 1
push eax
call sym.diskraid.exe_public:_void___cdecl_CDrCallTracer::LogMessage_unsigned_long_int__char__
add esp, 0x24
jmp 0x100e7e9
push 2
pop eax
push dword [ebp - 0x28]
mov word [ebp - 0x14], ax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x12], ax
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x3dc]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x100e76f
push 0x1001cb8
mov eax, 0x80004005
push eax
push dword [ebp - 0x3f4]
push 1
push 0x1207
jmp 0x100e703
lea eax, [ebp - 0x3e4]
push eax
push esi
push edi
push 0x10
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.WS2_32.dll_WSAAddressToStringW]
test eax, eax
je 0x100e7bd
push 0x1001e34
mov eax, 0x80004005
push eax
push dword [ebp - 0x3f4]
mov dword [ebp - 0x3e0], eax
push 1
push 0x1212
push ebx
push 0x10012a4
lea eax, [ebp - 0x3f4]
push 1
push eax
call sym.diskraid.exe_public:_void___cdecl_CDrCallTracer::LogMessage_unsigned_long_int__char__
add esp, 0x24
call dword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x100e7e9
push dword [ebp - 0x28]
lea eax, [ebp - 0x22c]
push eax
push 0x1001e20
push dword [ebp + 0x234]
push esi
call fcn.0100de1c
add esp, 0x14
mov dword [ebp - 0x3e0], eax
mov esi, dword [ebp - 0x3e0]
lea ecx, [ebp - 0x3f4]
call sym.diskraid.exe_public:_void___thiscall_CDrCallTracer::destructor_void_
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0103fbbb
leave
ret 0x230
Function at 0x10147f9
Capabilities:
Get hostname

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x1041a30]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x28], 0
lea eax, [ebp - 0x28]
push eax
push 0x10029bc
push 0x10030b8
push 0x32
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x2c], 0x10
call sym.diskraid.exe_public:_void___thiscall_CDrCallTracer::constructor_unsigned_long_int__char_const__const__char_const__const__long_int_const__
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x101485d
lea eax, [ebp - 0x24]
push eax
push 0x1db1
push 0x10030b0
push 0x4000271b
call fcn.0102ca54
add esp, 0x10
jmp 0x1014871
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x1014871
and eax, 0xffff
or eax, 0x80070000
push esi
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x28], eax
mov esi, eax
call sym.diskraid.exe_public:_void___thiscall_CDrCallTracer::destructor_void_
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0103fbbb
leave
ret
Function at 0x102c90e
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
lea eax, [ebp - 4]
push eax
push 0x100645c
push 0x1006480
xor edi, edi
push 0x3c
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], edi
call sym.diskraid.exe_public:_void___thiscall_CDrCallTracer::constructor_unsigned_long_int__char_const__const__char_const__const__long_int_const__
cmp dword [0x1042118], edi
je 0x102c98d
mov eax, dword [ebp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x102c946
push edi
sub eax, edx
lea ecx, [ebp - 0xc]
push ecx
sar eax, 1
push eax
push dword [ebp + 8]
push dword [0x104211c]
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
test eax, eax
jne 0x102ca2c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x102c985
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 4], eax
jmp 0x102ca2c
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
push edi
push edi
push edi
push edi
push 0xffffffffffffffff
push dword [ebp + 8]
push edi
push 1
call esi
mov ebx, eax
cmp ebx, edi
jne 0x102c9c1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x102c9bc
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 4], eax
jmp 0x102ca2b
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 8], eax
cmp eax, edi
jne 0x102c9da
mov dword [ebp - 4], 0x8007000e
jmp 0x102ca1d
push edi
push edi
push ebx
push eax
push 0xffffffffffffffff
push dword [ebp + 8]
push edi
push 1
call esi
cmp eax, edi
je 0x102ca06
push edi
lea ecx, [ebp - 0xc]
push ecx
dec eax
push eax
push dword [ebp - 8]
push dword [0x104211c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x102ca1d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x102ca1a
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 4], eax
cmp dword [ebp - 8], edi
je 0x102ca2b
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop ebx
cmp dword [0x1041a50], edi
jbe 0x102ca3c
push dword [ebp + 8]
call fcn.0102c845
mov esi, dword [ebp - 4]
lea ecx, [ebp - 0x1c]
call sym.diskraid.exe_public:_void___thiscall_CDrCallTracer::destructor_void_
pop edi
mov eax, esi
pop esi
leave
ret 4
Function at 0x103fba1
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x10400b8
call fcn.0103fde4
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], ebx
mov edi, 0x1042480
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x103f9b6
cmp eax, esi
jne 0x103f9a9
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x103f9b9
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x103f990
xor esi, esi
inc esi
mov eax, dword [0x104247c]
cmp eax, esi
jne 0x103f9cc
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x103fa07
mov eax, dword [0x104247c]
test eax, eax
jne 0x103fa01
mov dword [0x104247c], esi
push 0x100115c
push 0x1001150
call fcn.0103f90d
pop ecx
pop ecx
test eax, eax
je 0x103fa07
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x103fad1
mov dword [0x1042140], esi
mov eax, dword [0x104247c]
cmp eax, esi
jne 0x103fa2b
push 0x100114c
push 0x1001144
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x104247c], 2
cmp dword [ebp - 0x1c], ebx
jne 0x103fa38
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x1042484], ebx
je 0x103fa59
push 0x1042484
call fcn.0103fd59
pop ecx
test eax, eax
je 0x103fa59
push ebx
push 2
push ebx
call dword [0x1042484]
push dword [0x1042128]
push dword [0x104212c]
push dword [0x1042124]
call fcn.01014914
add esp, 0xc
mov dword [0x104213c], eax
cmp dword [0x1042130], ebx
jne 0x103fab7
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x20], ecx
push eax
push ecx
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x1042140], ebx
jne 0x103fac5
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x104213c]
call fcn.0103fe29
ret
call fcn.0103ff31
jmp 0x103f96e
Function at 0x10012d1
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x1004064]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
and dword [edi], 0
mov dword [ebp - 0x42c], eax
mov eax, dword [esi + 4]
test eax, eax
jne 0x10013e4
lea eax, [ebp - 0x420]
push eax
push dword [esi]
call fcn.010011de
test eax, eax
jne 0x1001424
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x424]
push eax
push 0
push 0x1001468
push dword [ebp - 0x420]
mov dword [ebp - 0x428], 0x20a
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1001420
push 2
pop eax
cmp dword [ebp - 0x424], eax
jne 0x1001420
cmp word [ebp - 0x41c], 0
je 0x1001420
push 0x104
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x210]
push eax
call fcn.010014f2
push esi
lea eax, [ebp - 0x210]
push eax
call fcn.010015ca
test eax, eax
jne 0x10013b8
push edi
push esi
lea eax, [ebp - 0x210]
push eax
call fcn.0100162e
mov dword [esi + 4], eax
lea eax, [esi + 8]
push eax
push 1
push 0x1001450
push dword [ebp - 0x420]
call fcn.01001592
push dword [ebp - 0x420]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esi + 4]
test eax, eax
je 0x1001411
mov ecx, dword [esi + 8]
test ecx, ecx
jne 0x10013f0
mov ecx, 0x1001444
push edi
push ecx
push eax
call fcn.01001483
push 0
push 0x1001428
mov dword [ebx], eax
push dword [esi + 4]
call fcn.01001483
mov ecx, dword [ebp - 0x42c]
mov dword [ecx], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.010014c8
leave
ret 0x10
mov dword [edi], eax
jmp 0x10013d1
mov dword [edi], eax
jmp 0x10013dd

Function at 0x1001721
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
xor ebx, ebx
mov edi, 0x1004040
push edi
mov dword [ebp - 0xc], 4
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [ebp + 8]
dec dword [esi + 0xc]
lea eax, [ebp - 4]
push eax
push dword [esi]
call fcn.010011de
test eax, eax
jne 0x100177f
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push 0x100179c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1001d85
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 4], ebx
pop edi
pop esi
pop ebx
je 0x1001797
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
leave
ret 4
cmp dword [ebp - 0x10], 4
jne 0x100177f
cmp dword [ebp - 8], 1
jne 0x100177f
cmp dword [esi + 0xc], ebx
jne 0x100177f
jmp 0x1002a1b
mov eax, dword [esi + 4]
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esi + 4]
mov dword [eax + 8], ebx
jmp 0x100177f
Function at 0x1002592
Capabilities:
Access pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x10025b1
push dword [esi + 0x1c]
push dword [esi + 0x18]
push dword [esi + 0x14]
push eax
call fcn.01002717
mov esi, dword [esi + 0x20]
test esi, esi
jne 0x1002967
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push dword [eax + 8]
call dword [sym.imp.ntdll.dll_RtlImageNtHeader]
test eax, eax
je 0x10025db
push dword [eax + 0x64]
call dword [sym.imp.RPCRT4.dll_RpcMgmtSetServerStackSize]
pop esi
pop ebp
ret 4
shl esi, 0xa
push esi
jmp 0x10025d5

Function at 0x44b9f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.HSP1
lea edi, [esi - 0x2c000]
push edi
or ebp, 0xffffffff
jmp 0x44ba12
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x44ba19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x44ba08
mov eax, 1
add ebx, ebx
jne 0x44ba2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x44ba3c
jne 0x44ba4c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x44ba4c
dec eax
add ebx, ebx
jne 0x44ba48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x44ba20
xor ecx, ecx
sub eax, 3
jb 0x44ba64
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x44bad6
sar eax, 1
mov ebp, eax
jmp 0x44ba6f
add ebx, ebx
jne 0x44ba6f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x44ba7c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x44baa0
inc ecx
add ebx, ebx
jne 0x44ba8c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x44ba81
jne 0x44ba9d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x44ba81
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x44bac0
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x44bab1
jmp 0x44ba0e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x44bac0
add edi, ecx
jmp 0x44ba0e
pop esi
mov edi, esi
mov ecx, 0x328
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x44bade
cmp byte [edi], 2
jne 0x44bade
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x44bae3
lea edi, [esi + 0x49000]
mov eax, dword [edi]
or eax, eax
je 0x44bb5b
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x4d140]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4d17c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x44bb10
mov ecx, edi
jns 0x44bb3f
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x4d180]
or eax, eax
je 0x44bb55
mov dword [ebx], eax
add ebx, 4
jmp 0x44bb2d
call dword [esi + 0x4d184]
popal
jmp 0x402940
Function at 0x1cc1510
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x15e8000]
push edi
or ebp, 0xffffffff
jmp 0x1cc1532
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1cc1539
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1cc1528
mov eax, 1
add ebx, ebx
jne 0x1cc154b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1cc155c
jne 0x1cc157b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1cc157b
dec eax
add ebx, ebx
jne 0x1cc1568
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1cc1540
add ebx, ebx
jne 0x1cc1577
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1cc15cd
xor ecx, ecx
sub eax, 3
jb 0x1cc1593
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1cc1602
sar eax, 1
mov ebp, eax
jmp 0x1cc159e
add ebx, ebx
jne 0x1cc159e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1cc156c
inc ecx
add ebx, ebx
jne 0x1cc15ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1cc156c
add ebx, ebx
jne 0x1cc15b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1cc15ae
jne 0x1cc15ca
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1cc15ae
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1cc15ec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1cc15de
jmp 0x1cc152e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1cc15ec
add edi, ecx
jmp 0x1cc152e
pop esi
mov edi, esi
mov ecx, 0x46ff2
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1cc160a
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x1cc160f
lea edi, [esi + 0x18bd000]
mov eax, dword [edi]
or eax, eax
je 0x1cc1677
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x190d344]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x190d484]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1cc1635
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x190d488]
or eax, eax
je 0x1cc1671
mov dword [ebx], eax
add ebx, 4
jmp 0x1cc1652
call dword [esi + 0x190d498]
mov ebp, dword [esi + 0x190d48c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x1cc16ab
sub esp, 0xffffff80
jmp 0xc57944
Function at 0x403268
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4032c1
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call sub.kernel32.dll_GetCommandLineA
lea edx, [ebp - 8]
call fcn.00403104
mov dword [ebp - 4], eax
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00403104
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
je 0x4032ab
inc ebx
jmp 0x403294
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4032c8
lea eax, [ebp - 8]
call fcn.00404afc
ret

Function at 0x4032d0
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404afc
test esi, esi
jne 0x403307
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.00404bec
jmp 0x403328
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00403104
mov dword [esp], eax
test esi, esi
je 0x403328
cmp dword [ebx], 0
je 0x403328
dec esi
jmp 0x40330f
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x403b4c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x52e020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403be4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403bc4
xor eax, eax
push ebp
push 0x403bbd
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403c00
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403bc4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x52e020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x52e020], ax
mov esp, ebp
pop ebp
ret

Function at 0x404958
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x53704c], 0
je 0x4049b9
cmp word [0x537220], 0xd7b2
jne 0x404981
cmp dword [0x537228], 0
jbe 0x404981
mov eax, 0x53721c
call dword [0x537238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x52e06c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4049e0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x52e030], 0
jne 0x4049d5
push 0
push 0x52e064
push 0x52e06c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret