joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401690
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4016ab
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4016e2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x4016de
jmp 0x4016d0
cmp esi, eax
jae 0x4016e2
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4016d0
cmp esi, eax
jb 0x4016e9
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x401760
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0xc]
xor eax, eax
mov esi, ecx
test edi, edi
je 0x401781
mov edx, dword [ebp + 8]
mov cl, byte [esi + 0x1078]
xor byte [eax + edx], cl
inc eax
cmp eax, edi
jb 0x401773
pop edi
pop esi
pop ebp
ret 8

Function at 0x4024b0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x6f8]
push edi
push eax
lea edi, [esi + 0xb8]
push edi
call fcn.00401790
mov ecx, dword [esi + 0x6f8]
push ecx
push edi
mov ecx, esi
call fcn.00401760
mov edx, 2
lea ebx, [esi + 0xa8]
push 0xc350
mov word [ebx], dx
mov dword [esi + 0xac], 0xffffffff
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [esi + 0x94]
push 0x10
push ebx
push 0
mov word [esi + 0xaa], ax
mov eax, dword [esi + 0x6f8]
push eax
push edi
push ecx
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, 0xffffffff
jne 0x402533
push 0
push 0
push str.Send_data_is_failure_
mov ecx, esi
call fcn.0041684a
or eax, 0xffffffff
pop edi
pop esi
pop ebx
ret

Function at 0x402a90
Capabilities:
Send data
Send data on socket

Disassembly:
movzx eax, byte [ecx + 0x108c]
movzx edx, byte [ecx + 0x108d]
mov byte [ecx + 0xbd], al
movzx eax, byte [ecx + 0x108e]
mov byte [ecx + 0xbe], dl
movzx edx, byte [ecx + 0x108f]
mov byte [ecx + 0xbf], al
movzx eax, byte [ecx + 0x1090]
mov byte [ecx + 0xc0], dl
movzx edx, byte [ecx + 0x1091]
mov dword [ecx + 0xb8], 0x600aa55
mov byte [ecx + 0xbc], 0x59
mov byte [ecx + 0xc1], al
mov byte [ecx + 0xc2], dl
mov dword [ecx + 0x6f8], 0xb
jmp fcn.004024b0
Function at 0x405100
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push edi
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x405175
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40514d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40516c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp + 0x10]
movzx edx, word [ebp + 0xc]
push ebx
push esi
push ecx
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0
lea ecx, [ebp - 4]
push ecx
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
pop esi
pop ebx
test ecx, ecx
jg 0x4051d5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4051f4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40f568
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.0041b56e
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x40f5a1
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.0040f1aa
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x40f5ff
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x78], ebx
test ebx, 0xffff0000
jne 0x40f623
cmp dword [edi + 0x74], 0
jne 0x40f623
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.0041b56e
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0040f5c0
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x412893
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x4128db
call fcn.0041b56e
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4128db
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x41291e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x412907
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x412907
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x68], 0
je 0x41291b
mov ecx, dword [esi + 0x68]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x41479e
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x526ffa
call fcn.0050bf2b
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x4147c3
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x414815
call fcn.0041b737
push eax
lea ecx, [ebp - 0x10]
call fcn.00402c20
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0050e12c
push eax
call fcn.0040bb4b
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401030
mov eax, esi
call fcn.0050c003
ret 8

Function at 0x41ac86
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x41accd
call fcn.0041b56e
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x41accd
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x41ace9
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0041a78b
mov esi, eax
test edi, edi
je 0x41ace7
test ebx, ebx
je 0x41ace7
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x41c09a
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.0041bc0c
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x41c0e4
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00411cac
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0040ddd1
jmp 0x41c0ef
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0041d8d9
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x41c0f5
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.00414090
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x41c132
call fcn.0041bc0c
mov dword [esi + 0xc], 1
jmp 0x41c137
call fcn.0041bc0c
cmp dword [esi], 0
je 0x41c180
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
test eax, eax
jle 0x41c158
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00411cac
jmp 0x41c16a
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.00402de0
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0040ddd1
jmp 0x41c1a4
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x41c1a4
push dword [esi]
push dword [ebp + 8]
call fcn.0041d8d9
pop esi
pop ebp
ret 0xc
Function at 0x45b514
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.004e13f5
call fcn.0041af9f
cmp dword [eax + 0x14], 0
jne 0x45b531
mov ecx, esi
pop esi
jmp fcn.0045b019
pop esi
ret

Function at 0x45eb46
Capabilities:
Get common file path
Get file system object information

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.0044b599
call fcn.0041af9f
cmp dword [eax + 0x14], 0
jne 0x45eb63
mov ecx, esi
pop esi
jmp fcn.0045e519
pop esi
ret

Function at 0x4979a1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x4979bb
call fcn.0041b56e
mov esi, dword [eax + 0xc]
push dword [0x59e204]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4979d9
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x4979d1
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x497a06
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x4979d3
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.004978cf
mov esi, eax
jmp 0x4979f8

Function at 0x4eadce
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x4eade6
mov edi, dword [esi + 0xc]
jmp 0x4eae26
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4eadff
call fcn.0041c4e5
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4eae14
call fcn.0041c4e5
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4eae26
call fcn.0041c4e5
call fcn.0041b56e
cmp dword [eax + 0x3c], 0
je 0x4eae3b
push edi
mov ecx, ebx
call fcn.004e9c8c
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004eace8
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x4eae59
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4eae65
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x50a1b1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x598e78]
jne 0x50a1bb
repz ret
jmp fcn.005126ec
Function at 0x51e424
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x598e78]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.005120e5
and dword [ebp - 0x14], 0
cmp dword [0x5a0798], 0
mov dword [ebp - 0x18], eax
jne 0x51e4d7
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x51e57f
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x51e57f
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x5593e0
push ebx
mov dword [0x5a0798], eax
call edi
push eax
call esi
push 0x5593cc
push ebx
mov dword [0x5a079c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x5a07a0], eax
call edi
push eax
call esi
mov dword [0x5a07a8], eax
test eax, eax
je 0x51e4d7
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x5a07a4], eax
mov eax, dword [0x5a07a4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x51e530
cmp dword [0x5a07a8], ecx
je 0x51e530
push eax
call esi
push dword [0x5a07a8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x51e530
test ebx, ebx
je 0x51e530
call edi
test eax, eax
je 0x51e527
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x51e527
test byte [ebp - 8], 1
jne 0x51e530
or dword [ebp + 0x10], 0x200000
jmp 0x51e563
mov eax, dword [0x5a079c]
cmp eax, dword [ebp - 0x18]
je 0x51e563
push eax
call esi
test eax, eax
je 0x51e563
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x51e563
mov eax, dword [0x5a07a0]
cmp eax, dword [ebp - 0x18]
je 0x51e563
push eax
call esi
test eax, eax
je 0x51e563
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x5a0798]
call esi
test eax, eax
je 0x51e57f
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x51e581
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050a1b1
leave
ret
Function at 0x1002fe1
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
test edx, edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
je 0x100300d
push esi
push edi
movzx esi, byte [ecx]
movzx edi, al
xor esi, edi
shr eax, 8
xor eax, dword [esi*4 + 0x100c4c0]
inc ecx
dec edx
jne 0x1002ff5
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x10078d7
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov eax, esi
shr eax, 2
test eax, eax
push edi
mov edi, dword [ebp + 0x10]
jle 0x1007914
push ebx
movzx edx, byte [ecx]
xor ebx, ebx
inc ecx
mov bh, byte [ecx]
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x10
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x18
or edx, ebx
inc ecx
xor edi, edx
dec eax
jne 0x10078f1
pop ebx
and esi, 3
xor eax, eax
dec esi
je 0x1007930
dec esi
je 0x1007929
dec esi
jne 0x1007935
movzx eax, byte [ecx]
shl eax, 0x10
inc ecx
xor edx, edx
mov dh, byte [ecx]
or eax, edx
inc ecx
movzx ecx, byte [ecx]
or eax, ecx
xor eax, edi
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x401000
Capabilities:
Get disk information

Disassembly:
sub esp, 0x104
push str.GetDiskSerial.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x40105c
push str.GetSerialNumber
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.97392612_852
push 0
mov dword [0x406910], eax
call eax
mov edx, eax
test edx, edx
je 0x40105c
push edi
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
je 0x40105c
push edx
push str.SerialNo:_s_n
call fcn.004010a0
add esp, 8
xor eax, eax
add esp, 0x104
ret
push 0xa
push 0
push 0
lea eax, [esp + 0xc]
push 0
push eax
lea ecx, [esp + 0x18]
push 0x100
push ecx
push 0x406040
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov edx, dword [esp]
push edx
push str.SerialNo:_08X
call fcn.004010a0
add esp, 8
xor eax, eax
add esp, 0x104
ret

Function at 0x402635
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4063c0
cmp edx, dword [eax]
je 0x402657
add eax, 8
inc ecx
cmp eax, 0x406450
jl 0x402648
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4063c0]
jne 0x402785
mov eax, dword [0x40691c]
cmp eax, 1
je 0x40275f
test eax, eax
jne 0x402688
cmp dword [0x40608c], 1
je 0x40275f
cmp edx, 0xfc
je 0x402785
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4026bf
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00402d20
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00402930
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x402702
lea eax, [ebp - 0x1a4]
push eax
call fcn.00402930
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4053fc
push edi
call fcn.00403e00
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00402d20
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00402d30
lea eax, [ebp - 0xa0]
push 0x4053dc
push eax
call fcn.00402d30
push dword [esi + 0x4063c4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00402d30
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00403d6e
add esp, 0x2c
pop edi
jmp 0x402785
lea eax, [ebp + 8]
lea esi, [esi + 0x4063c4]
push 0
push eax
push dword [esi]
call fcn.00402930
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408ecc
mov ecx, 0x22e94c03
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..rsrc
nop
nop
mov ebx, 0x42e1d0
mov ecx, 0x30dc63d7
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x103a0bb
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
push edi
push dword [ebp + 0xc]
push eax
call fcn.0103a06f
mov eax, dword [esi]
movzx edx, word [eax]
movzx ecx, dx
cmp ecx, 0x66
jg 0x103a1b6
je 0x103a1ac
cmp ecx, 0x30
jl 0x103a227
cmp ecx, 0x37
jle 0x103a169
push 0x5c
pop edi
cmp ecx, edi
je 0x103a15a
cmp ecx, 0x61
je 0x103a149
cmp ecx, 0x63
je 0x103a117
cmp ecx, 0x65
jne 0x103a227
push 0x1b
jmp 0x103a22e
push dword [ebp + 0xc]
add eax, 2
push eax
mov dword [esi], eax
call fcn.0103a06f
mov eax, dword [esi]
lea ecx, [eax + 2]
mov dword [esi], ecx
movzx edi, word [eax]
lea eax, [edi - 0x61]
cmp ax, 0x19
ja 0x103a141
push edi
call fcn.0102f4a6
movzx edi, ax
xor edi, 0x40
jmp 0x103a234
cmp byte [ebp + 0x10], 0
je 0x103a227
push 7
jmp 0x103a22e
cmp byte [ebp + 0x10], 0
je 0x103a227
jmp 0x103a22f
lea ecx, [eax + 2]
mov dword [esi], ecx
mov ax, word [eax]
sub ax, 0x30
movzx edi, ax
mov eax, dword [esi]
movzx ecx, word [eax]
push 0x30
pop edx
cmp dx, cx
ja 0x103a234
push 0x37
pop edx
cmp dx, cx
jb 0x103a234
push dword [ebp + 0xc]
add eax, 2
lea ecx, [ecx + edi*8 - 0x30]
push eax
movzx edi, cx
mov dword [esi], eax
call fcn.0103a06f
jmp 0x103a178
cmp byte [ebp + 0x10], 0
je 0x103a227
push 0xc
jmp 0x103a22e
sub ecx, 0x6e
je 0x103a221
sub ecx, 4
je 0x103a217
dec ecx
dec ecx
je 0x103a20d
dec ecx
dec ecx
je 0x103a203
dec ecx
dec ecx
jne 0x103a227
add eax, 2
mov dword [esi], eax
xor edi, edi
mov ebx, dword [esi]
movzx eax, word [ebx]
push eax
call fcn.0102f866
test al, al
je 0x103a234
movzx eax, word [ebx]
push eax
call fcn.0102f8a7
push dword [ebp + 0xc]
shl edi, 4
add eax, edi
movzx edi, ax
lea eax, [ebx + 2]
push eax
mov dword [esi], eax
call fcn.0103a06f
jmp 0x103a1d3
cmp byte [ebp + 0x10], 0
je 0x103a227
push 0xb
jmp 0x103a22e
cmp byte [ebp + 0x10], 0
je 0x103a227
push 9
jmp 0x103a22e
cmp byte [ebp + 0x10], 0
je 0x103a227
push 0xd
jmp 0x103a22e
cmp byte [ebp + 0x10], 0
jne 0x103a22c
movzx edi, dx
jmp 0x103a22f
push 0xa
pop edi
add eax, 2
mov dword [esi], eax
mov ax, di
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
call 0x43200c
nop
pop eax
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x432030
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219