joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403c0b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4170b4]
jne 0x403c15
repz ret
jmp fcn.004066e8

Function at 0x40b20c
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.0040601d
and dword [ebp - 4], 0
cmp dword [0x4192b8], 0
mov ebx, eax
jne 0x40b2bd
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40b36e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40fdbc
push edi
call esi
test eax, eax
je 0x40b36e
push eax
call fcn.00405fab
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4192b8], eax
call esi
push eax
call fcn.00405fab
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4192bc], eax
call esi
push eax
call fcn.00405fab
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4192c0], eax
call esi
push eax
call fcn.00405fab
pop ecx
mov dword [0x4192c8], eax
test eax, eax
je 0x40b2bd
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00405fab
pop ecx
mov dword [0x4192c4], eax
mov eax, dword [0x4192c4]
cmp eax, ebx
je 0x40b315
cmp dword [0x4192c8], ebx
je 0x40b315
push eax
call fcn.00406026
push dword [0x4192c8]
mov esi, eax
call fcn.00406026
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b315
test edi, edi
je 0x40b315
call esi
test eax, eax
je 0x40b30c
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b30c
test byte [ebp - 0xc], 1
jne 0x40b315
or dword [ebp + 0x10], 0x200000
jmp 0x40b34e
mov eax, dword [0x4192bc]
cmp eax, ebx
je 0x40b34e
push eax
call fcn.00406026
pop ecx
test eax, eax
je 0x40b34e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b34e
mov eax, dword [0x4192c0]
cmp eax, ebx
je 0x40b34e
push eax
call fcn.00406026
pop ecx
test eax, eax
je 0x40b34e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4192b8]
call fcn.00406026
pop ecx
test eax, eax
je 0x40b36e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40b370
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401460
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0xc], ecx
lea ecx, [ebp - 0xc]
mov dword [esp + 0x14], 4
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0
mov dword [esp + 0x10], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._RegSetValueExA_24
sub esp, 0x18
leave
ret

Function at 0x4023a2
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
lea esi, [ebp - 0x7c]
mov ebx, ecx
xor edi, edi
sub esp, 0x9c
mov dword [esp], esi
mov dword [esp + 4], str.lan_
call sym._strcpy
mov eax, dword [ebp + 8]
mov dword [esp], esi
mov dword [esp + 4], eax
call sym._strcat
mov dword [esp], esi
mov dword [esp + 4], str..txt
call sym._strcat
mov dword [esp], esi
mov dword [esp + 4], 0x425101
call sym._fopen
mov esi, eax
mov dword [esp + 0xc], eax
lea eax, [ebx + 0xe8]
mov dword [esp + 8], 0x4e20
mov dword [esp + 4], 1
mov dword [esp], eax
call sym._fread
mov dword [esp], esi
call sym._fclose
mov word [ebx + 0x4f08], 0xffff
mov word [ebx + 0x4f0a], 0xffff
mov ecx, 1
mov word [ebx + 0x4f0c], 0
mov word [ebx + 0x4f0e], 0
mov eax, 4
mov word [ebp - 0x8c], 1
mov word [ebp - 0x8a], 4
movsx edx, cx
mov si, word [ebx + edx*2 + 0xe8]
movsx edx, ax
test si, si
je 0x402528
add edx, edx
add edx, ebx
cmp si, 0xd
mov dword [ebp - 0x90], edx
mov word [edx + 0x4f08], si
jne 0x4024f8
movsx esi, word [ebp - 0x8a]
mov edx, ecx
sub edx, dword [ebp - 0x8c]
mov word [ebx + esi*2 + 0x4f04], dx
mov edx, dword [ebp - 0x90]
lea esi, [ebx + esi*2 + 0x4f08]
mov dword [ebx + edi*4 + 0x9d28], esi
inc edi
mov word [edx + 0x4f08], 0
lea edx, [eax + 1]
movsx edx, dx
mov word [ebx + edx*2 + 0x4f08], 0xffff
lea edx, [eax + 2]
movsx edx, dx
mov word [ebx + edx*2 + 0x4f08], 0xffff
lea edx, [eax + 3]
add eax, 4
movsx edx, dx
mov word [ebx + edx*2 + 0x4f08], 0
jmp 0x402521
cmp si, 0xa
jne 0x402521
mov esi, dword [ebp - 0x90]
lea edx, [ecx + 1]
mov word [ebp - 0x8c], dx
mov word [esi + 0x4f08], 0
lea esi, [eax + 1]
mov word [ebp - 0x8a], si
inc eax
inc ecx
jmp 0x402460
movsx eax, word [ebp - 0x8a]
sub ecx, dword [ebp - 0x8c]
mov word [ebx + eax*2 + 0x4f04], cx
lea eax, [ebx + eax*2 + 0x4f08]
mov dword [ebx + edi*4 + 0x9d28], eax
mov word [ebx + edx*2 + 0x4f08], 0
add esp, 0x9c
pop ebx
pop esi
pop edi
pop ebp
ret 4

Function at 0x40275c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
lea eax, [ebp + 0x10]
mov dword [esp + 0x14], 4
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._RegSetValueExA_24
sub esp, 0x18
leave
ret 0xc
Function at 0x40279a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea eax, [ecx + 0xc]
add ecx, 8
mov ebp, esp
sub esp, 0x38
mov dword [ecx + 4], 4
mov dword [esp + 0x14], eax
lea eax, [ebp - 0xc]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 0
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._RegQueryValueExA_24
sub esp, 0x18
test eax, eax
jne 0x4027e5
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
leave
ret 0xc

Function at 0x4027ea
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x14], 0x4000
mov dword [esp + 0xc], 3
mov dword [esp + 8], 0
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._RegSetValueExA_24
sub esp, 0x18
leave
ret 0xc

Function at 0x402828
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov eax, 0x4030
mov ebp, esp
push edi
push esi
call fcn.0041aa80
sub esp, eax
lea eax, [ebp - 0x400c]
lea esi, [ebp - 0x4008]
add ecx, 8
mov dword [esp + 8], 0
mov dword [ebp - 0x400c], 0x4000
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], ecx
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._RegQueryValueExA_24
sub esp, 0x18
test eax, eax
jne 0x402889
mov ecx, 0x1000
mov edi, dword [ebp + 0x10]
rep movsd dword es:[edi], dword [esi]
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret 0xc

Function at 0x406146
Capabilities:
Set registry value

Disassembly:
push ebp
mov edx, str.helpb
mov ebp, esp
push ebx
mov ebx, ecx
push eax
movzx ecx, byte [ecx + 0x1b9afc]
mov eax, dword [ebx + 0x2d4]
call method.Reg.setreg_HKEY____char_const__long___clone_.constprop.48_
mov ecx, dword [ebx + 0x2a8]
mov eax, dword [ebx + 0x2d4]
mov edx, str.colori
call method.Reg.setreg_HKEY____char_const__long___clone_.constprop.48_
mov ecx, dword [ebx + 0x1b9b84]
mov eax, dword [ebx + 0x2d4]
mov edx, 0x4255ed
call method.Reg.setreg_HKEY____char_const__long___clone_.constprop.48_
movzx ecx, byte [ebx + 0x3d91c]
mov eax, dword [ebx + 0x2d4]
mov edx, str.soundb
call method.Reg.setreg_HKEY____char_const__long___clone_.constprop.48_
movzx ecx, byte [ebx + 0x3d91d]
mov eax, dword [ebx + 0x2d4]
mov edx, str.musicb
call method.Reg.setreg_HKEY____char_const__long___clone_.constprop.48_
mov ecx, dword [ebx + 0x1b9b10]
mov eax, dword [ebx + 0x2d4]
mov edx, str.mult
call method.Reg.setreg_HKEY____char_const__long___clone_.constprop.48_
mov ecx, dword [ebx + 0x3d9b8]
mov eax, dword [ebx + 0x2d4]
mov edx, str.delayb
call method.Reg.setreg_HKEY____char_const__long___clone_.constprop.48_
movzx ecx, byte [ebx + 0x1b9b80]
mov eax, dword [ebx + 0x2d4]
mov edx, str.barb
call method.Reg.setreg_HKEY____char_const__long___clone_.constprop.48_
movzx ecx, byte [ebx + 0x1b9b9c]
mov eax, dword [ebx + 0x2d4]
mov edx, str.singleb
pop ebx
pop ebx
pop ebp
jmp method.Reg.setreg_HKEY____char_const__long___clone_.constprop.48_
Function at 0x406f56
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push eax
mov ebx, ecx
call method.Window.savesetting__
cmp byte [ebx + 0x1b9afd], 0
jne 0x406faa
mov eax, dword [ebx + 0x2f4]
dec eax
cmp eax, 2
ja 0x406faa
mov ecx, ebx
mov dword [ebx + 0x2f8], 1
call method.Window.saveboard__
mov dword [ebx + 0x1b9ba0], 1
mov eax, dword [ebx + 0x2d4]
mov ecx, 1
pop ebx
pop ebx
pop ebp
mov edx, str.boardb
jmp method.Reg.setreg_HKEY____char_const__long___clone_.constprop.48_
pop eax
pop ebx
pop ebp
ret

Function at 0x40893a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0xc], ecx
call sym._IsWin49
test al, al
je 0x408955
mov ecx, dword [ebp - 0xc]
leave
jmp method.Window.initbmp____clone_.part.44_
leave
ret

Function at 0x4094d6
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
lea ebx, [ebp - 0x220]
mov esi, ecx
lea edi, [ebp - 0x224]
sub esp, 0x23c
mov dword [esp + 4], ebx
mov dword [esp], 0x104
call sym._GetTempPathA_8
push eax
push eax
mov dword [esp], ebx
mov dword [esp + 4], str.screenshot_
call sym._strcat
mov dword [esp], edi
call sym._time
mov dword [esp], edi
call sym._localtime
mov edx, dword [eax]
mov dword [esp + 0x1c], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x18], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x14], edx
mov edi, dword [eax + 0x14]
lea edx, [edi + 0x76c]
lea edi, [ebp - 0x11c]
mov dword [esp + 0x10], edx
mov ecx, dword [eax + 0x10]
lea edx, [ecx + 1]
mov dword [esp + 0xc], edx
mov eax, dword [eax + 0xc]
mov dword [esp], edi
mov dword [esp + 4], str._d_d_d_d_d_d
mov dword [esp + 8], eax
call sym._sprintf
mov dword [esp + 4], edi
mov dword [esp], ebx
call sym._strcat
mov dword [esp], ebx
mov dword [esp + 4], str..png
call sym._strcat
call sym._GetWin75
mov dword [esp + 4], ebx
mov dword [esp], eax
call sym._SaveBMP205
lea ecx, [esi + 0x2c310]
mov dword [esp], ebx
call method.Steam.savescr_char_
mov eax, dword [esi + 0x3d918]
push edx
lea ecx, [esi + 0x3d8a8]
mov dword [esp], eax
call method.Sound.playsound_long_
push ecx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x410816
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
lea eax, [ecx + 0x3d8a8]
mov ebp, esp
push edi
push esi
push ebx
lea esi, [ecx + 0x1b9b20]
mov ebx, ecx
sub esp, 0x2c
mov dword [ebp - 0x1c], eax
call sym._IsNextMsg261
test al, al
je 0x4109f6
cmp dword [ebx + 0x3d9bc], 0
jne 0x410830
mov dword [esp], 1
call sym._GetAsyncKeyState_4
push edx
test ax, ax
setne byte [ebx + 0x1b9b88]
mov dword [esp], 2
call sym._GetAsyncKeyState_4
test ax, ax
push ecx
setne byte [ebx + 0x1b9b89]
call sym._IsMouseLeft277
test al, al
je 0x4108bd
mov byte [ebx + 0x1b9b94], 1
mov dword [ebx + 0x1b9b8c], 0xffffffff
mov dword [ebx + 0x1b9b90], 0xffffffff
call sym._GetMousePosY298
mov edi, eax
call sym._GetMousePosX297
mov dword [esp + 8], 1
mov dword [esp + 4], edi
mov ecx, ebx
mov dword [esp], eax
call method.Window.mouseevent_long__long__long_
sub esp, 0xc
call sym._IsMouseRight281
test al, al
je 0x410906
mov byte [ebx + 0x1b9b94], 1
mov dword [ebx + 0x1b9b8c], 0xffffffff
mov dword [ebx + 0x1b9b90], 0xffffffff
call sym._GetMousePosY298
mov edi, eax
call sym._GetMousePosX297
mov dword [esp + 8], 2
mov dword [esp + 4], edi
mov ecx, ebx
mov dword [esp], eax
call method.Window.mouseevent_long__long__long_
sub esp, 0xc
call sym._IsMouseMove286
test al, al
je 0x4109a8
mov edi, dword [ebx + 0x1b9b84]
cmp edi, 1
jle 0x4109a8
cmp dword [ebx + 0x3d9d0], 0
jne 0x4109a8
cmp byte [ebx + 0x1b9b94], 0
je 0x4109a8
cmp byte [ebx + 0x1b9b88], 0
je 0x41096a
call sym._GetMousePosY298
mov dword [ebp - 0x20], eax
call sym._GetMousePosX297
mov ecx, dword [ebp - 0x20]
mov dword [esp + 0xc], edi
mov dword [esp + 8], 1
mov dword [esp], eax
mov dword [esp + 4], ecx
mov ecx, ebx
call method.Window.mouseeventboard_long__long__long__long_
sub esp, 0x10
cmp byte [ebx + 0x1b9b89], 0
je 0x4109a8
mov ecx, dword [ebx + 0x1b9b84]
mov dword [ebp - 0x20], ecx
call sym._GetMousePosY298
mov edi, eax
call sym._GetMousePosX297
mov ecx, dword [ebp - 0x20]
mov dword [esp + 8], 2
mov dword [esp + 4], edi
mov dword [esp], eax
mov dword [esp + 0xc], ecx
mov ecx, ebx
call method.Window.mouseeventboard_long__long__long__long_
sub esp, 0x10
call sym._IsKey268
test al, al
je 0x4109c1
call sym._GetKey269
mov ecx, ebx
mov dword [esp], eax
call method.Window.keyevent_long_
push edi
mov dword [esp], 0xf
call sym._IsMsg264
test al, al
jne 0x410a08
mov dword [esp], 0xa1
call sym._IsMsg264
test al, al
jne 0x410a08
mov dword [esp], 0x112
call sym._IsMsg264
test al, al
jne 0x410a08
jmp 0x410830
mov dword [ebx + 0x3d9bc], 0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
call sym._GetHwnd78
mov dword [esp + 4], esi
mov dword [esp], eax
call sym._GetWindowPlacement_8
push eax
push eax
mov eax, dword [ebx + 0x1b9b28]
and eax, 3
cmp eax, 3
sete al
cmp al, byte [ebx + 0x1b9b4d]
mov byte [ebx + 0x1b9b4c], al
je 0x410a6e
movzx eax, al
mov ecx, ebx
mov dword [esp], 0
mov dword [ebx + 0x1b9b10], eax
call method.Window.initwindow_bool_
mov eax, dword [ebx + 0x3d90c]
mov ecx, dword [ebp - 0x1c]
push edx
mov dword [esp], eax
call method.Sound.playsound_long_
mov al, byte [ebx + 0x1b9b4c]
push ecx
mov byte [ebx + 0x1b9b4d], al
mov ecx, ebx
call method.Window.paintevent__
jmp 0x410830
Function at 0x41a540
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x431048
call sym._EnterCriticalSection_4
mov ebx, dword [0x431040]
sub esp, 4
test ebx, ebx
je 0x41a58b
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x41a584
test esi, esi
je 0x41a584
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x41a560
mov dword [esp], 0x431048
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x41a770
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x41a7c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x41a898
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x41a7fe
cmp eax, 4
jne 0x41a820
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x41a80e
cmp edx, 4
je 0x41a80e
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.0041a770
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x405590
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
sub esp, 0x10
push esi
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4055ae
or eax, eax
pop esi
add esp, 0x10
ret
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push ecx
mov dword [esp + 0xc], eax
mov word [esp + 8], 2
call dword [sym.imp.WS2_32.dll_htons]
lea edx, [esp + 4]
push 0x10
push edx
push esi
mov word [esp + 0x12], ax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x4055ef
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
or eax, 0xffffffff
pop esi
add esp, 0x10
ret
mov eax, esi
pop esi
add esp, 0x10
ret

Function at 0x430000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x4f5c04e0
nop
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x430024
nop
nop
nop
mov eax, str.cst
nop
nop
mov ebx, 0x42e1d0
mov ecx, 0x73233ac4
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
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 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43000c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
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
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
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
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
jmp int.00401219