joyce8/EMBER2024-capa huggingface dataset:
Function at 0x487307
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
and dword [ebp - 8], 0
push ebx
push esi
mov ebx, dword [eax]
mov eax, dword [eax + 0x3d0]
push edi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], eax
call fcn.0047855d
mov ecx, dword [ebp - 4]
mov esi, eax
mov edi, edx
mov dword [ebx + 0x50], esi
mov dword [ebx + 0x54], edi
mov dword [ebx + 0x58], esi
mov dword [ebx + 0x5c], edi
cmp dword [ecx], 3
je 0x48758a
invalid
mov eax, dword [ebp - 8]

Function at 0x487846
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x4b1810]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, dword [eax + 0x3d0]
mov edi, dword [eax]
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x88]
push eax
mov dword [ebp - 0x88], 0x80
lea eax, [ebp - 0x84]
push eax
mov eax, dword [esi + 0x154]
push 0
add eax, 4
push eax
push dword [esi + 0x15c]
push dword [esi + 0x14]
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [esi + 0x148], 0
mov dword [esi + 0x14c], eax
jne 0x4878d7
push dword [ebp - 0x88]
lea eax, [ebp - 0x84]
push eax
lea eax, [esi + 0xc8]
push eax
call fcn.0048e2f0
mov eax, dword [ebp - 0x88]
add esp, 0xc
mov dword [esi + 0x148], eax
mov ebx, dword [esi + 0x14c]
cmp ebx, 4
jge 0x487909
push 0x40ad88
push edi
call fcn.004768f6
pop ecx
pop ecx
mov dword [esi + 0xc], 7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004918a1
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x15c]
movzx eax, byte [ecx]
shl ax, 8
movzx edx, ax
movzx eax, byte [ecx + 1]
or edx, eax
mov dword [esi + 0xc], edx
sub edx, 3
je 0x48798b
dec edx
je 0x4879fd
dec edx
je 0x487964
dec edx
je 0x487949
push 0x40ada4
push 0x413c94
push edi
call fcn.004768f6
jmp 0x4879fa
lea eax, [ebx - 2]
push eax
lea eax, [ecx + 2]
push eax
push esi
call fcn.004875f9
add esp, 0xc
test eax, eax
je 0x4879fd
jmp 0x4878f8
mov edx, ecx
movzx eax, byte [edx + 2]
shl ax, 8
movzx ecx, ax
movzx eax, byte [edx + 3]
or ecx, eax
lea eax, [edx + 4]
push eax
push 0x40699c
push edi
mov dword [esi + 8], ecx
call fcn.0047698c
jmp 0x4879fa
cmp ebx, 4
jle 0x4879fd
movzx eax, byte [ecx + 2]
shl ax, 8
movzx edx, ax
movzx eax, byte [ecx + 3]
or edx, eax
movzx eax, word [esi + 0x40]
inc eax
and eax, 0xffff
cmp eax, edx
jne 0x4879fd
lea eax, [ebx - 4]
push eax
lea eax, [ecx + 4]
push eax
push 1
push dword [ebp - 0x8c]
call fcn.004766f9
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x4879de
push 5
push esi
call fcn.00488083
pop ecx
pop ecx
mov eax, ebx
jmp 0x4878f8
mov eax, dword [esi + 0x14c]
sub eax, 4
cdq
add dword [edi + 0x38], eax
adc dword [edi + 0x3c], edx
push dword [edi + 0x3c]
push dword [edi + 0x38]
push edi
call fcn.0047e9ef
add esp, 0xc
push dword [ebp - 0x8c]
call fcn.0047ebd9
pop ecx
test eax, eax
je 0x4878f6
push 5
push esi
call fcn.00488083
pop ecx
pop ecx
push 0x2a
pop eax
jmp 0x4878f8
Function at 0x487a23
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 3
pop ebx
mov eax, dword [esi + 0x10]
mov edi, dword [eax]
mov eax, dword [ebp + 0xc]
sub eax, ebx
je 0x487b8b
dec eax
dec eax
je 0x487b33
dec eax
je 0x487ac9
dec eax
je 0x487a67
push 0x40acb0
push 0x413c94
push edi
call fcn.004768f6
add esp, 0xc
push 0x47
jmp 0x487c3e
inc dword [esi + 0x18]
movzx eax, word [esi + 0x40]
push dword [esi + 0x18]
inc eax
and eax, 0xffff
push eax
push 0x40ac7c
push edi
call fcn.0047698c
mov eax, dword [esi + 0x18]
add esp, 0x10
cmp eax, dword [esi + 0x20]
jle 0x487a9c
mov dword [esi + 8], 0xffffff9d
mov dword [esi], ebx
jmp 0x487c65
push dword [esi + 0x148]
lea eax, [esi + 0xc8]
push eax
push 0
push 4
push dword [esi + 0x160]
push dword [esi + 0x14]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jns 0x487c65
jmp 0x487c1e
xor eax, eax
xor ebx, ebx
mov word [esi + 0x40], ax
mov dword [esi + 0x18], ebx
mov eax, dword [esi + 0x160]
mov byte [eax], bl
mov eax, dword [esi + 0x160]
mov byte [eax + 1], 4
movzx edx, word [esi + 0x40]
mov eax, dword [esi + 0x160]
mov ecx, edx
shr ecx, 8
mov byte [eax + 2], cl
mov eax, dword [esi + 0x160]
mov byte [eax + 3], dl
lea eax, [esi + 0xc8]
push dword [esi + 0x148]
push eax
push ebx
push 4
push dword [esi + 0x160]
push dword [esi + 0x14]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
js 0x487c1e
mov dword [esi], 1
jmp 0x487c5b
mov eax, dword [esi + 0x160]
xor ebx, ebx
mov byte [eax], bl
mov eax, dword [esi + 0x160]
mov byte [eax + 1], 5
movzx edx, word [esi + 0x40]
mov eax, dword [esi + 0x160]
mov ecx, edx
shr ecx, 8
mov byte [eax + 2], cl
mov eax, dword [esi + 0x160]
mov byte [eax + 3], dl
lea eax, [esi + 0xc8]
push dword [esi + 0x148]
push eax
push ebx
push 4
push dword [esi + 0x160]
push dword [esi + 0x14]
call dword [sym.imp.WS2_32.dll_sendto]
push 3
pop eax
mov dword [esi], eax
jmp 0x487c65
mov ecx, dword [esi + 0x15c]
movzx eax, byte [ecx + 2]
shl ax, 8
movzx edx, ax
movzx eax, byte [ecx + 3]
or edx, eax
movzx eax, word [esi + 0x40]
inc eax
and eax, 0xffff
cmp eax, edx
je 0x487bc5
push eax
push edx
push 0x40ac3c
push edi
call fcn.0047698c
add esp, 0x10
jmp 0x487c65
mov word [esi + 0x40], dx
xor ebx, ebx
mov dword [esi + 0x18], ebx
mov eax, dword [esi + 0x160]
mov byte [eax], bl
mov eax, dword [esi + 0x160]
mov byte [eax + 1], 4
movzx edx, word [esi + 0x40]
mov eax, dword [esi + 0x160]
mov ecx, edx
shr ecx, 8
mov byte [eax + 2], cl
mov eax, dword [esi + 0x160]
mov byte [eax + 3], dl
lea eax, [esi + 0xc8]
push dword [esi + 0x148]
push eax
push ebx
push 4
push dword [esi + 0x160]
push dword [esi + 0x14]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jns 0x487c41
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push dword [esi + 0x10]
call fcn.0046bef5
push eax
push 0x413c94
push edi
call fcn.004768f6
add esp, 0x14
push 0x37
pop eax
jmp 0x487c67
mov eax, dword [esi + 0x154]
xor ecx, ecx
add eax, 4
inc ecx
cmp dword [esi + 0x14c], eax
push 3
pop eax
cmovl ecx, eax
mov dword [esi], ecx
lea eax, [esi + 0x38]
push eax
call fcn.004929bf
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x48a633
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, dword [eax + 0x2c]
mov edi, dword [ebx]
mov esi, dword [edi + 0x1a4]
test esi, esi
jne 0x48a64e
mov esi, dword [eax + 0x28]
push dword [eax + 0x24]
push dword [eax + 0x20]
call fcn.0047855d
push edx
push eax
call fcn.00478507
add esp, 0x10
sub esi, eax
cmp dword [edi + 0x19c], 0
je 0x48a698
push dword [ebx + 0x124]
push dword [ebx + 0x120]
call fcn.0047855d
push edx
push eax
call fcn.00478507
mov ecx, dword [edi + 0x19c]
add esp, 0x10
sub ecx, eax
cmp esi, ecx
cmovl ecx, esi
mov esi, ecx
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret
Function at 0x48b2d7
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xc
push eax
call dword [0x4b1370]
mov edi, eax
pop ecx
test edi, edi
je 0x48b3c1
lea ecx, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], ecx
mov eax, dword [esi + 0xc]
add eax, ecx
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [edi + 8], eax
cmp ebx, dword [esi + 0x10]
jbe 0x48b340
push ecx
call dword [esi]
push ebx
push dword [ebp + 0xc]
push dword [edi + 4]
call dword [esi + 4]
mov eax, dword [edi + 8]
add eax, dword [esi + 0xc]
push dword [edi + 4]
mov dword [ebp - 4], eax
push eax
call dword [esi + 8]
mov ebx, dword [esi + 0x14]
add esp, 0x18
mov dword [ebp + 0x10], ebx
jmp 0x48b346
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
push dword [edi + 4]
call dword [esi]
push dword [edi + 8]
call dword [esi]
mov eax, dword [ebp + 0x10]
xor ebx, ebx
pop ecx
pop ecx
test eax, eax
je 0x48b3b9
mov dword [ebp - 8], eax
mov ebx, eax
mov eax, dword [ebp - 4]
push 1
mov al, byte [eax]
xor al, 0x36
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push eax
push dword [edi + 4]
call dword [esi + 4]
mov ecx, dword [ebp - 4]
push 1
mov al, byte [ecx]
xor al, 0x5c
inc ecx
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push eax
push dword [edi + 8]
mov dword [ebp - 4], ecx
call dword [esi + 4]
add esp, 0x18
dec ebx
jne 0x48b360
mov ebx, dword [ebp - 8]
jmp 0x48b3b9
push 1
push 0x40b984
push dword [edi + 4]
call dword [esi + 4]
push 1
push 0x40b985
push dword [edi + 8]
call dword [esi + 4]
add esp, 0x18
inc ebx
cmp ebx, dword [esi + 0x10]
jb 0x48b39b
mov eax, edi
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x48b418
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret
Function at 0x48c4fd
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi]
cmp dword [eax + 4], 2
jne 0x48c527
mov ecx, dword [esi + 0xc]
test ecx, ecx
jne 0x48c518
xor eax, eax
jmp 0x48c57a
push dword [eax + 8]
push dword [ebp + 0x10]
push 1
push dword [ebp + 0xc]
call ecx
jmp 0x48c558
cmp dword [esi + 8], 0
jne 0x48c548
push 0x412f64
push dword [eax + 8]
call fcn.00495c78
mov dword [esi + 8], eax
pop ecx
pop ecx
test eax, eax
jne 0x48c548
or eax, 0xffffffff
jmp 0x48c57a
push dword [esi + 8]
push dword [ebp + 0x10]
push 1
push dword [ebp + 0xc]
call fcn.0049419a
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x48c578
cmp dword [esi + 8], eax
je 0x48c572
push dword [esi + 8]
call fcn.00494668
and dword [esi + 8], edi
pop ecx
mov eax, dword [esi]
mov eax, dword [eax]
mov dword [esi], eax
mov eax, edi
pop edi
pop esi
pop ebp
ret
Function at 0x4a63d2
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4b1810]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00498f17
mov dword [ebp - 0x14], eax
cmp dword [0x4b6edc], esi
jne 0x4a64c5
push 0x800
push esi
push 0x405164
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4a6452
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4a65a5
push esi
push esi
push 0x405164
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4a65a5
push 0x4100d0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4a65a5
push eax
call ebx
push 0x4100dc
push edi
mov dword [0x4b6edc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x4100ec
push edi
mov dword [0x4b6ee0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x410100
push edi
mov dword [0x4b6ee4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4b6eec], eax
test eax, eax
je 0x4a64c2
push 0x41011c
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4b6ee8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4a64ea
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4a64dd
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4a64ff
push 4
pop eax
jmp 0x4a65a7
cmp dword [ebp - 0x14], esi
je 0x4a64ff
push dword [0x4b6edc]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4a64e4
mov eax, dword [0x4b6ee8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4a655d
cmp dword [0x4b6eec], edi
je 0x4a655d
push eax
call ebx
push dword [0x4b6eec]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4a655d
test eax, eax
je 0x4a655d
call ecx
test eax, eax
je 0x4a6552
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4a6552
test byte [ebp - 8], 1
jne 0x4a655d
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4a658d
mov eax, dword [0x4b6ee0]
cmp eax, edi
je 0x4a658a
push eax
call ebx
test eax, eax
je 0x4a658a
call eax
mov esi, eax
test esi, esi
je 0x4a658a
mov eax, dword [0x4b6ee4]
cmp eax, edi
je 0x4a658a
push eax
call ebx
test eax, eax
je 0x4a658a
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4b6edc]
call ebx
test eax, eax
je 0x4a65a5
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4a65a7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004918a1
mov esp, ebp
pop ebp
ret
Function at 0x401000
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x58
push esi
push edi
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [esp + 0xc], 3
mov edi, dword [sym.imp.SHLWAPI.dll_StrCmpW]
mov esi, eax
jl 0x401039
mov ecx, dword [esi + 4]
push str._runtime
push ecx
call edi
cmp dword [esp + 0xc], 5
jl 0x40104b
mov edx, dword [esi + 0xc]
push str._runtime
push edx
call edi
lea eax, [esp + 8]
push eax
push 0
push str.701D2A09_14BE_45F8_9233_1CE0ED0023A9
mov edi, str.A2BCA9F1_566C_4805_97D1_7FDC93386723
push edi
mov dword [esp + 0x18], 0
call sub.msi.dll_MsiAdvertiseScriptW
mov ecx, dword [esp + 8]
test ecx, ecx
jbe 0x40107b
add ecx, 1
mov dword [esp + 8], ecx
jmp 0x401094
lea edi, [esp + 0x10]
mov ecx, edi
push ecx
push 0
push 0
push str.8DA920D5_C41C_42E0_BF31_87BA49984EE4
call sub.msi.dll_MsiSourceListClearAllW
mov ecx, dword [esp + 8]
test eax, eax
je 0x4010a5
test ecx, ecx
jne 0x4010c5
pop edi
lea eax, [ecx + 3]
pop esi
add esp, 0x58
ret
test ecx, ecx
jne 0x4010c5
lea edx, [esp + 8]
push edx
push ecx
push str.701D2A09_14BE_45F8_9233_1CE0ED0023A9
push edi
call sub.msi.dll_MsiAdvertiseScriptW
mov ecx, dword [esp + 8]
add ecx, 1
mov dword [esp + 8], ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea eax, [ecx + ecx]
push eax
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x4010fc
lea ecx, [esp + 0xc]
push ecx
push esi
push str.701D2A09_14BE_45F8_9233_1CE0ED0023A9
push edi
call sub.msi.dll_MsiAdvertiseScriptW
cmp eax, 3
jl 0x4010fc
cmp eax, 4
jle 0x401108
pop ebx
pop edi
mov eax, 4
pop esi
add esp, 0x58
ret
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov edi, dword [esp + 0x6c]
mov dword [edi], eax
je 0x4010fc
push esi
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edx, dword [edi]
push str.AppEntryWinMain
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [esp + 0x68]
mov dword [ecx], eax
neg eax
sbb eax, eax
pop ebx
and eax, 0xfffffffc
pop edi
add eax, 4
pop esi
add esp, 0x58
ret

Function at 0x401150
Capabilities:
Identify system language via api

Disassembly:
push esi
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx edx, ax
xor eax, eax
movzx esi, dx
mov ecx, 0x40500c
cmp esi, dword [ecx]
je 0x401173
add eax, 1
add ecx, 0x10
cmp eax, 0x11
jb 0x401164
cmp eax, 0x11
jne 0x40119d
xor eax, eax
and edx, 0x3ff
mov ecx, 0x40500c
mov si, word [ecx]
and si, 0x3ff
cmp dx, si
je 0x40119d
add eax, 1
add ecx, 0x10
cmp eax, 0x10
jb 0x401185
pop esi
ret
Function at 0x4011a0
Capabilities:
Terminate process

Disassembly:
sub esp, 8
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.SetDllDirectoryA
push str.kernel32.dll
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4011c9
push 0x40206c
call eax
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
call section..text
mov esi, eax
add esp, 8
test esi, esi
je 0x401215
call fcn.00401150
push 0
push 0x30
shl eax, 4
mov eax, dword [eax + 0x405010]
push str.Adobe_AIR
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxExW]
mov eax, esi
jmp 0x401223
mov edx, dword [esp + 8]
push edx
push 0
call edi
push eax
call dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x4da1a3a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
lea esp, [esp + 4]
je fcn.041f2c38
bt ebp, 3
btc cx, 0xd
rol ch, 7
and cl, 0x63
add edx, eax
sete cl
mov ecx, dword [esi + 0x7c]
push 0x40ac190e
cmp cl, 0xa6
pushfd
add ecx, edx
jmp 0x42668f6
stc
mov dword [ebp - 0x10], ecx
sbb cx, 0xcf2b
clc
mov ecx, dword [ebp + 0xc]
bt eax, 0x1f
push 0xe402e7f9
test cl, 0xfa
bt eax, 0x16
cmp ecx, 0xffff
push edx
lea esp, [esp + 0x10]
jbe 0x4d9ef0b
sbb edi, edx
xadd edi, ebx
not di
mov edi, dword [edx + 0x24]
mov ch, 0x2f
adc ecx, ebp
add edi, eax
shr cl, 3
jmp fcn.04da0c1a
stc
pushfd
bt dx, sp
sub ecx, dword [edx + 0x10]
cmp bl, 0xa8
push dword [esp]
pushal
loop 0x4278751
dec edx
adc byte [eax + 0x34ffa8fb], al
and al, 0x60
call fcn.04daedfc
add edx, eax
xor ch, 0x11
mov ecx, dword [esi + 0x7c]
test cl, 0xf6
clc
cmc
pushal
add ecx, edx
pushfd
call fcn.042512b3
cmp eax, 0x2349a2e0
mov edx, 0xb2278ab1
cmp cl, ch
jno 0x4278724
mov ah, byte [edi]
mov dl, 0x38
jmp 0xe98453cb
pop esp
in eax, 0x75
mov eax, 0xc958d031
push ecx
enter 0x7041, 0xfffffffffffffff8
dec ebp
ret
jmp 0x427871f
lea esp, [esp + 0x24]
je fcn.041f2c38
xor dh, 0x39
or si, 0xa07c
sbb si, 0x6f43
mov esi, dword [eax + 0x3c]
btc dx, ax
movsx dx, bl
add esi, eax
bswap dx
shr dh, cl
mov edx, dword [esi + 0x78]
bt eax, ebx
clc
jge 0x4da28df
test edx, edx
pushal
jmp 0x4da1cd3
lea esp, [esp + 0x20]
je fcn.041f2c38
call 0x4278734
mov esi, edx
invalid
test cl, 0x9b
bt bp, 0xa
test edx, edx
push 0xf1e2ee75
jmp 0x41f498f
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.DLL_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp fcn.00401219
Function at 0x405940
Capabilities:
Encode data using xor

Disassembly:
mov esi, dword [esi + 0x6bcdbfc]
jge 0x4058fd
inc eax
dec edi
mov esp, dword [eax + 0x12]
leave
push dword [ebx]
sal dl, 0xae
repne scasb al, byte es:[edi]
loopne 0x4058d9
aam 0x8b
ror dword [ebx - 0x2c0563a4], 0xd9
add edx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 8]
mov esp, edx
xor dword [esi + 3], 0x76
rol byte [ebx + esi*8], 0xa4
mov esi, dword [eax]
cli
inc ebp
clc
test esi, esi
jne 0x4058eb
mov eax, dword [ebp - 0x35]
pop edi
pop esi
mov byte [edx], 0
pop ebx
mov ebx, dword [edi - 0x6f6f56a3]
nop
clc
nop
push ebp
mov ebp, esp
sub esp, 8
in al, 0x8b
or eax, 0x40f3c8
mov eax, dword [0x40f3aa]
mov dl, byte [0xc34033ca]
not dword [esi - 0x75]
jne 0x405904
mov word [ebp - 0x77], cx
inc edx
dec ebp
or byte [esi + esi*8 - 0x7ef76a9], al
mov byte [ebx + esi*8 + 0x7ff85d8d], ch
push esi
jl 0x405978
or al, 0x7a
jae 0x405997
mov ebx, dword [esi - 0x43ea74f0]
add byte [eax], al
mov ecx, eax
pop edi
pop esi
dec edx
mov dword [ecx], edx
mov dl, byte [0xa14062c0]
mov byte [ecx + 4], dl
mov edx, dword [ebx + 0x5d]
ret 0xc
test dword [edi + edi*2 - 0x7ef783d3], ecx
stc
push 3
add byte [eax], al
jae 0x4059c8
push ds
jne 0x4059b8
push ecx
push str._3d
push 5
push esi
call 0x770d2e80
add esp, 0x10
test eax, eax
push esi
invalid
adc byte [ebp + 0xfc656c0], al
invalid
mov edi, ecx
mov eax, ecx
mov edx, esi
mov ecx, 0xba00000a
stosb byte es:[edi], al
out 0xff, eax
add edx, eax
add al, ch
xor bl, byte [esi]
sub al, 0xdc
or al, 0xc8
fdivr st(2), st(0)
or al, 0xc8
div esi
jl 0x4059c8
jg 0x4059de
cmp dword [ebx - 0x33], 0x6000003
inc ebx
inc ebx
jmp 0x4059c8

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, 0x1c754c6c
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0x2f2022e
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219