joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b7c0
Capabilities:
Log keystrokes via application hook

Disassembly:
mov eax, dword [0x9441f8]
sub esp, 0x24
test eax, eax
je 0x40b996
mov eax, dword [0x82e91c]
xor eax, 1
mov dword [0x82e91c], eax
je 0x40b996
push esi
mov esi, dword [esp + 0x2c]
lea eax, [esp + 4]
push edi
mov ecx, dword [esi + 0xc]
mov edx, dword [esi]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push ecx
push 0x433
push edx
call edi
mov eax, dword [0x4268f0]
cmp eax, 0xffffffff
je 0x40b82b
add eax, 0x96
push 4
push eax
mov eax, dword [0x9441f8]
push 0x411
push eax
call edi
mov dword [0x4268f0], 0xffffffff
mov eax, dword [0x82e534]
push ebx
xor ebx, ebx
push ebp
test eax, eax
jle 0x40b85a
cmp ebx, dword [esi + 0xc]
je 0x40b850
mov edx, dword [esi]
lea ecx, [ebx + 0x96]
push 4
push ecx
push 0x411
push edx
call edi
mov eax, dword [0x82e534]
inc ebx
cmp ebx, eax
jl 0x40b838
mov eax, dword [0x9441f8]
push 0
push 0xffffffffffffffff
push 0x448
push eax
call edi
mov dword [0x82e920], 0
mov ecx, dword [esi + 0xc]
mov edx, dword [esi]
push 6
push ecx
push 0x411
push edx
call edi
mov ecx, dword [esi]
lea eax, [esp + 0x10]
push 2
push eax
push 0
push ecx
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x20], 0x14
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
sub edx, 0x96
mov dword [esp + 0x24], ecx
mov dword [0x4268ec], edx
mov edx, dword [esp + 0x1c]
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x30], edx
mov edx, dword [0x82f340]
sub ecx, 0x96
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
push ecx
push edx
mov dword [esp + 0x34], eax
call dword [sym.imp.USER32.dll_GetSubMenu]
mov ebp, dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov ebx, eax
mov eax, dword [0x82e914]
test eax, eax
jne 0x40b90d
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x40bf50
push 2
call ebp
mov dword [0x82e914], eax
mov eax, dword [0x82e918]
test eax, eax
jne 0x40b92d
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x40bfe0
push 7
call ebp
mov dword [0x82e918], eax
mov ecx, dword [0x82f304]
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x14]
push ecx
push edx
push eax
push 0x40
push ebx
call dword [sym.imp.USER32.dll_TrackPopupMenuEx]
mov ecx, dword [esi + 0xc]
mov edx, dword [esi]
push 4
push ecx
push 0x411
push edx
call edi
mov eax, dword [0x82e914]
mov esi, dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
xor edi, edi
pop ebp
cmp eax, edi
pop ebx
je 0x40b978
push eax
call esi
mov dword [0x82e914], edi
mov eax, dword [0x82e918]
cmp eax, edi
je 0x40b98a
push eax
call esi
mov dword [0x82e918], edi
pop edi
mov dword [0x4268ec], 0xffffffff
pop esi
add esp, 0x24
ret 4
Function at 0x40d260
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x10
lea eax, [esp + 4]
push eax
push 0x2001f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionSetup
push reloc.Equ.dll_Ordinal_2
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40d2a3
lea ecx, [esp + 4]
push ecx
push str.SOFTWAREMicrosoftWindowsCurrentVersionSetup
push reloc.Equ.dll_Ordinal_2
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x40d2a3
or eax, 0xffffffff
add esp, 0x10
ret
lea edx, [esp + 8]
push esi
lea eax, [esp + 4]
push edx
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x14]
push eax
push ecx
push 0
push str.RunTime
push edx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 4
mov dword [esp + 0x28], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x40d306
mov ecx, dword [esp + 8]
lea eax, [esp + 4]
push 4
push eax
push 4
push 0
push str.RunTime
push ecx
mov dword [esp + 0x1c], 0x64
call esi
mov eax, dword [esp + 4]
test eax, eax
je 0x40d32f
cmp eax, 0xffffffff
je 0x40d32f
lea edx, [esp + 4]
dec eax
push 4
push edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x10]
push 4
push 0
push str.RunTime
push eax
call esi
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 4]
pop esi
add esp, 0x10
ret
Function at 0x40d3b0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x80
mov ecx, 0x13
xor eax, eax
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_LoadStringA]
push edi
mov edi, 0x944000
push 0x50
rep stosd dword es:[edi], eax
mov eax, dword [0x82f33c]
push str.Save_Audio_File
xor ebx, ebx
push 0xc36b
push eax
mov byte [0x82ebf4], bl
mov byte [0x82eaf0], bl
call esi
mov ecx, dword [0x82f33c]
mov edi, 0x104
push edi
push str.WaveFile__.WAV__.WAV_All_Files__.__._
push 0xc36c
push ecx
call esi
xor eax, eax
mov cl, byte [eax + str.WaveFile__.WAV__.WAV_All_Files__.__._]
cmp cl, bl
je 0x40d424
cmp cl, 0x40
jne 0x40d41f
mov byte [eax + str.WaveFile__.WAV__.WAV_All_Files__.__._], bl
inc eax
cmp eax, edi
jl 0x40d40a
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push str.HeroMp3.ini
lea edx, [esp + 0x10]
push 0x80
push edx
push 0x82d6c0
push str.SAVEPATH
push str.SETTING
call esi
test eax, eax
jne 0x40d46e
push str.HeroMp3.ini
lea eax, [esp + 0x10]
push 0x80
push eax
push 0x82d6c0
push str.INSTALLPATH
push str.INSTALL
call esi
mov ecx, dword [0x82f304]
lea edx, [esp + 0xc]
push 0x944000
mov dword [0x944000], 0x4c
mov dword [0x944004], ecx
mov dword [0x94400c], 0x426948
mov dword [0x944010], ebx
mov dword [0x944014], ebx
mov dword [0x944018], 1
mov dword [0x94401c], 0x82ebf4
mov dword [0x944020], edi
mov dword [0x944024], 0x82eaf0
mov dword [0x944028], edi
mov dword [0x94402c], edx
mov dword [0x944030], 0x426a4c
mov dword [0x944034], 0x802
mov word [0x944038], bx
mov word [0x94403a], bx
mov dword [0x94403c], 0x426e04
call sub.comdlg32.dll_GetSaveFileNameA
test eax, eax
jne 0x40d51c
pop edi
pop esi
mov dword [0x426f1c], 0xffffffff
pop ebx
add esp, 0x80
ret
lea eax, [esp + 0xc]
push eax
push 0x82ebf4
call fcn.0040d350
add esp, 8
lea ecx, [esp + 0xc]
push str.HeroMp3.ini
push ecx
push str.SAVEPATH
push str.SETTING
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push ebx
push 0x82ebf4
call dword [sym.imp.KERNEL32.dll__lcreat]
cmp eax, 0xffffffff
mov dword [0x426f1c], eax
jne 0x40d576
mov edx, dword [0x82f304]
push ebx
push str.Error
push str.Create_Error
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebx
add esp, 0x80
ret
Function at 0x40d8b0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x80
mov ecx, 0x13
xor eax, eax
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_LoadStringA]
push edi
mov edi, 0x944000
push 0x50
rep stosd dword es:[edi], eax
mov eax, dword [0x82f33c]
push str.Save_Picture
xor ebx, ebx
push 0xc377
push eax
mov byte [0x82ee00], bl
mov byte [0x82ecfc], bl
call esi
mov ecx, dword [0x82f33c]
push 0x300
push str._24Bits_True_Color_BMP_.BMP__24Bits_Double_Size_BMP_.BMP__Single_Color_BMP_.BMP__Single_Color_Double_Size_BMP_.BMP__256C_8X8_Pattern_dither_BMP_.BMP__256C_Error_diffuse_dither_BMP_.BMP__256C_Adaptable_Error_diffuse_BMP_.BMP__Single_Color_PCX_.PCX__Single_Color_Double_Size_PCX_.PCX__256C_8X8_Pattern_dither_PCX_.PCX__256C_Error_diffuse_dither_PCX_.PCX__256C_Adaptable_Error_diffuse_PCX_.PCX__YUV_Picture_File_YV12_Format_.YUV__
push 0xc378
push ecx
call esi
xor eax, eax
mov cl, byte [eax + str._24Bits_True_Color_BMP_.BMP__24Bits_Double_Size_BMP_.BMP__Single_Color_BMP_.BMP__Single_Color_Double_Size_BMP_.BMP__256C_8X8_Pattern_dither_BMP_.BMP__256C_Error_diffuse_dither_BMP_.BMP__256C_Adaptable_Error_diffuse_BMP_.BMP__Single_Color_PCX_.PCX__Single_Color_Double_Size_PCX_.PCX__256C_8X8_Pattern_dither_PCX_.PCX__256C_Error_diffuse_dither_PCX_.PCX__256C_Adaptable_Error_diffuse_PCX_.PCX__YUV_Picture_File_YV12_Format_.YUV__]
cmp cl, bl
je 0x40d926
cmp cl, 0x40
jne 0x40d91e
mov byte [eax + str._24Bits_True_Color_BMP_.BMP__24Bits_Double_Size_BMP_.BMP__Single_Color_BMP_.BMP__Single_Color_Double_Size_BMP_.BMP__256C_8X8_Pattern_dither_BMP_.BMP__256C_Error_diffuse_dither_BMP_.BMP__256C_Adaptable_Error_diffuse_BMP_.BMP__Single_Color_PCX_.PCX__Single_Color_Double_Size_PCX_.PCX__256C_8X8_Pattern_dither_PCX_.PCX__256C_Error_diffuse_dither_PCX_.PCX__256C_Adaptable_Error_diffuse_PCX_.PCX__YUV_Picture_File_YV12_Format_.YUV__], bl
inc eax
cmp eax, 0x200
jl 0x40d909
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push str.HeroMp3.ini
lea edx, [esp + 0x10]
push 0x80
push edx
push 0x82d6c0
push str.SAVEPATH
push str.SETTING
call esi
test eax, eax
jne 0x40d970
push str.HeroMp3.ini
lea eax, [esp + 0x10]
push 0x80
push eax
push 0x82d6c0
push str.INSTALLPATH
push str.INSTALL
call esi
mov ecx, dword [esp + 0x90]
mov eax, 0x104
lea edx, [esp + 0xc]
push 0x944000
mov dword [0x944000], 0x4c
mov dword [0x944004], ecx
mov dword [0x94400c], 0x426a9c
mov dword [0x944010], ebx
mov dword [0x944014], ebx
mov dword [0x944018], 1
mov dword [0x94401c], 0x82ee00
mov dword [0x944020], eax
mov dword [0x944024], 0x82ecfc
mov dword [0x944028], eax
mov dword [0x94402c], edx
mov dword [0x944030], 0x426d9c
mov dword [0x944034], 0x1800
mov word [0x944038], bx
mov word [0x94403a], bx
mov dword [0x94403c], 0x426e2c
call sub.comdlg32.dll_GetSaveFileNameA
pop edi
pop esi
test eax, eax
pop ebx
jne 0x40da18
add esp, 0x80
ret
lea eax, [esp]
push eax
push 0x82ee00
call fcn.0040d350
add esp, 8
lea ecx, [esp]
push str.HeroMp3.ini
push ecx
push str.SAVEPATH
push str.SETTING
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [0x944018]
add esp, 0x80
ret
Function at 0x40dc30
Capabilities:
Create thread

Disassembly:
call fcn.0040dbf0
test eax, eax
je 0x40dc56
push 0x943ed0
push 0
push 0
push 0x40da80
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x943fe0], eax
ret

Function at 0x40dc80
Capabilities:
Read .ini file

Disassembly:
mov ecx, dword [esp + 0xc]
sub esp, 0x10c
lea eax, [esp]
push 0xa
push eax
push ecx
call fcn.0041babc
mov edx, dword [esp + 0x120]
add esp, 0xc
lea eax, [esp + 0xc]
lea ecx, [esp]
push edx
mov edx, dword [0x9549a0]
push 0x100
push eax
mov eax, dword [esp + 0x11c]
push 0x82d6c0
add edx, eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x40dcec
mov eax, dword [0x82f050]
test eax, eax
je 0x40dcec
lea ecx, [esp + 0xc]
push 0
push ecx
push 0x401
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
add esp, 0x10c
ret
Function at 0x40e480
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x2c
mov eax, dword [esp + 0x30]
push ebx
push ebp
push esi
push edi
push eax
call dword [sym.imp.USER32.dll_GetDC]
lea ecx, [esp + 0x14]
mov ebx, eax
push ecx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
push 4
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebp, dword [esp + 0x20]
lea edx, [esp + 0x24]
sub ebp, eax
mov eax, dword [0x82f05c]
push edx
push 0x18
push eax
mov dword [esp + 0x2c], ebp
call dword [sym.imp.GDI32.dll_GetObjectA]
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push ebx
call edi
mov esi, eax
mov eax, dword [0x82f058]
test eax, eax
jne 0x40e4e7
push ebx
call edi
mov dword [0x82f058], eax
mov eax, dword [0x82f064]
test eax, eax
je 0x40e4f7
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [0x82f05c]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push ecx
push esi
call edi
mov dword [esp + 0x10], eax
mov eax, dword [0x82f054]
test eax, eax
je 0x40e52c
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
sub edx, eax
mov eax, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x18]
sub eax, edx
push eax
jmp 0x40e536
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push ecx
push edx
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [0x82f064], eax
push eax
mov eax, dword [0x82f058]
push eax
call edi
mov ebp, eax
mov eax, dword [0x82f054]
test eax, eax
push 0xcc0020
je 0x40e593
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x24]
push 0
sub eax, edx
mov edx, dword [esp + 0x24]
push 0
push esi
sub ecx, edx
mov edx, dword [0x82f058]
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_StretchBlt]
jmp 0x40e5b3
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [0x82f058]
push 0
push 0
push esi
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
call fcn.0040dd00
mov eax, dword [esp + 0x10]
push eax
push esi
call edi
mov ecx, dword [0x82f058]
push ebp
push ecx
call edi
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edx, dword [esp + 0x40]
push ebx
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
Function at 0x40ebd0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [0x82f300]
push 0x104
push 0x943900
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x40ec02
jl 0x40ebf9
mov cl, 0x5c
cmp byte [eax + 0x943900], cl
je 0x40ebf9
dec eax
jns 0x40ebee
mov byte [eax + 0x943901], 0
jmp 0x40ec26
push str.HeroMp3.ini
push 0x104
push 0x943900
push 0x82d6c0
push str.INSTALLPATH
push str.INSTALL
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x943900
call fcn.00401200
add esp, 4
push str.STHMP3AUDIO.INI
push 0x943900
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x943900
call fcn.0041acc0
add esp, 4
push 0x943900
push 0x8000
push str.ADOCACHESIZE
push str.CONFIG
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x426e8c], eax
mov eax, 1
ret

Function at 0x40ec80
Capabilities:
Capture screenshot
Encode data using xor

Disassembly:
mov al, byte [0x82f3e4]
inc al
cmp al, 3
mov byte [0x82f3e4], al
jbe 0x40ecb7
push 3
call fcn.00404210
add esp, 4
test eax, eax
je 0x40ecb0
mov eax, dword [0x82f304]
push 0
push 0
push eax
call fcn.00408e20
add esp, 0xc
mov byte [0x82f3e4], 0
push 2
call fcn.00404210
add esp, 4
test eax, eax
jne 0x40ecd3
mov eax, dword [0x426480]
test eax, eax
jne 0x40ecd3
jmp fcn.0040a100
jmp fcn.00409af0
Function at 0x40f730
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [0x426e98]
sub esp, 0x80
test eax, eax
je 0x40f7f2
push esi
push edi
call fcn.0040f6c0
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push 0xc
push esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push esi
push 0
mov edi, eax
call dword [sym.imp.USER32.dll_ReleaseDC]
push str.HeroMp3.ini
lea eax, [esp + 0xc]
push 0x80
push eax
push 0x82d6c0
push str.FaceBitmap
push str.SETTING
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x40f7a3
lea ecx, [esp + 8]
push ecx
push edi
call fcn.0040f5c0
add esp, 8
mov dword [0x82f3fc], eax
mov eax, dword [0x82f3fc]
test eax, eax
jne 0x40f7d5
cmp edi, 8
jg 0x40f7bf
mov edx, dword [0x82f33c]
push 0x95
push edx
jmp 0x40f7ca
mov eax, dword [0x82f33c]
push 0x94
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
mov dword [0x82f3fc], eax
call fcn.0040f420
call fcn.00408380
mov ecx, dword [0x82f304]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
add esp, 0x80
ret
Function at 0x410700
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x80
mov ecx, 0x13
xor eax, eax
push ebx
push esi
push edi
mov edi, 0x943e80
rep stosd dword es:[edi], eax
mov eax, dword [0x82f33c]
push 0x50
push 0x426ecc
xor ebx, ebx
push 0xc352
push eax
mov byte [0x943d60], bl
mov byte [0x943c40], bl
call dword [sym.imp.USER32.dll_LoadStringA]
xor eax, eax
mov cl, byte [eax + 0x9549c0]
cmp cl, bl
je 0x41075c
cmp cl, 0x40
jne 0x410754
mov byte [eax + 0x9549c0], bl
inc eax
cmp eax, 0x1f4
jl 0x41073f
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push str.HeroMp3.ini
lea ecx, [esp + 0x10]
push 0x80
push ecx
push 0x82d6c0
push str.OPENPATH
push str.SETTING
call esi
test eax, eax
jne 0x4107a6
push str.HeroMp3.ini
lea edx, [esp + 0x10]
push 0x80
push edx
push 0x82d6c0
push str.INSTALLPATH
push str.INSTALL
call esi
mov eax, dword [esp + 0x90]
mov ecx, dword [0x426ec8]
mov dword [0x943e84], eax
mov eax, 0x104
lea edx, [esp + 0xc]
push 0x943e80
mov dword [0x943e80], 0x4c
mov dword [0x943e8c], 0x9549c0
mov dword [0x943e90], ebx
mov dword [0x943e94], ebx
mov dword [0x943e98], ecx
mov dword [0x943e9c], 0x943d60
mov dword [0x943ea0], eax
mov dword [0x943ea4], 0x943c40
mov dword [0x943ea8], eax
mov dword [0x943eac], edx
mov dword [0x943eb0], 0x426ecc
mov dword [0x943eb4], 0x1800
mov word [0x943eb8], bx
mov word [0x943eba], bx
mov dword [0x943ebc], 0x427358
call sub.comdlg32.dll_GetOpenFileNameA
mov ecx, dword [0x943e98]
pop edi
pop esi
cmp eax, ebx
mov dword [0x426ec8], ecx
pop ebx
jne 0x41085d
xor eax, eax
add esp, 0x80
ret
lea edx, [esp]
push edx
push 0x943d60
call fcn.0040d350
add esp, 8
lea eax, [esp]
push str.HeroMp3.ini
push eax
push str.OPENPATH
push str.SETTING
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, 1
add esp, 0x80
ret

Function at 0x411390
Capabilities:
Get disk information

Disassembly:
xor eax, eax
sub esp, 0x210
mov al, byte [0x8320b8]
or al, 0x20
push esi
mov esi, dword [esp + 0x218]
sub eax, 0x61
cmp esi, eax
je 0x4113b8
xor eax, eax
pop esi
add esp, 0x210
ret
xor eax, eax
lea ecx, [esp + 0x14]
mov dword [esp + 8], eax
mov dword [esp + 4], eax
push 0x100
lea edx, [esp + 0x10]
push ecx
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x10]
push eax
mov eax, dword [esp + 0x22c]
push ecx
lea edx, [esp + 0x128]
push 0x100
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x411402
pop esi
add esp, 0x210
ret
mov ecx, dword [esi*8 + 0x82f428]
mov eax, dword [esp + 4]
cmp ecx, eax
jne 0x41142a
mov edx, dword [esi*8 + 0x82f42c]
mov eax, dword [esp + 8]
cmp edx, eax
jne 0x41142a
xor eax, eax
pop esi
add esp, 0x210
ret
mov eax, 1
pop esi
add esp, 0x210
ret
Function at 0x411440
Capabilities:
Get disk information

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
cmp eax, 0x8000
push edi
jne 0x4115dd
mov edi, dword [esp + 0x1c]
cmp dword [edi + 4], 2
jne 0x4115dd
cmp word [edi + 0x10], 1
jne 0x4115dd
mov esi, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
xor ebp, ebp
xor ebx, ebx
mov eax, 1
mov ecx, ebx
shl eax, cl
test dword [edi + 0xc], eax
je 0x411515
mov cl, bl
push 0x426f28
add cl, 0x41
mov byte [0x426f28], cl
call esi
cmp eax, 5
jne 0x411515
mov al, byte [0x82f31c]
test al, al
jne 0x4114d5
push ebp
push 0x426f28
mov dword [0x88e0f8], ebp
call fcn.00419ad0
add esp, 8
test eax, eax
jne 0x411524
mov dl, byte [0x426f28]
push edx
call fcn.0041a570
add esp, 4
test eax, eax
jne 0x41154c
jmp 0x411515
push 0x426f28
push ebx
call fcn.00411390
add esp, 8
test eax, eax
je 0x411515
push ebp
push 0x426f28
mov dword [0x88e0f8], ebp
call fcn.00419ad0
add esp, 8
test eax, eax
jne 0x411573
mov al, byte [0x426f28]
push eax
call fcn.0041a570
add esp, 4
test eax, eax
jne 0x4115ab
inc ebx
cmp ebx, 0x20
jl 0x411476
pop edi
pop esi
pop ebp
pop ebx
ret
movsx ecx, byte [0x426f28]
mov edx, dword [esp + 0x14]
push ebp
push 0x9cc8
push 0x111
push edx
mov dword [0x88e0e8], ecx
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
pop ebp
pop ebx
ret
movsx eax, byte [0x426f28]
mov ecx, dword [esp + 0x14]
push ebp
push 0x9ce4
push 0x111
push ecx
mov dword [0x943a34], eax
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
pop ebp
pop ebx
ret
mov esi, dword [esp + 0x14]
mov edi, dword [sym.imp.USER32.dll_PostMessageA]
push ebp
push 0x9c4b
push 0x111
push esi
call edi
movsx edx, byte [0x426f28]
push ebp
push 0x9cc8
push 0x111
push esi
mov dword [0x88e0e8], edx
call edi
pop edi
pop esi
pop ebp
pop ebx
ret
mov esi, dword [esp + 0x14]
mov edi, dword [sym.imp.USER32.dll_PostMessageA]
push ebp
push 0x9c4b
push 0x111
push esi
call edi
movsx eax, byte [0x426f28]
push ebp
push 0x9ce4
push 0x111
push esi
mov dword [0x943a34], eax
call edi
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x412150
Capabilities:
Create thread

Disassembly:
mov eax, dword [0x943ecc]
push edi
test eax, eax
je 0x412218
mov edi, dword [esp + 8]
mov dword [0x82f3e0], 1
push edi
mov byte [0x830815], 0
call fcn.004120a0
add esp, 4
test eax, eax
jne 0x412187
mov dword [0x82f3e0], eax
pop edi
ret
push 3
call fcn.00404210
add esp, 4
test eax, eax
je 0x4121e9
mov eax, dword [0x82f32c]
test eax, eax
jne 0x4121d8
push 0x82f330
push 0
push 0
push 0x40ece0
push 0
push 0
mov dword [0x426eb8], 0x64
mov dword [0x426eb4], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
mov dword [0x82f32c], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push 1
call fcn.00408aa0
add esp, 4
call fcn.00417410
jmp 0x4121f8
call fcn.00417410
push 1
call fcn.00412040
add esp, 4
push 2
call fcn.00404210
add esp, 4
test eax, eax
jne 0x412218
push eax
push 0x9c43
push 0x111
push edi
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
ret
Function at 0x413d30
Capabilities:
Get disk information

Disassembly:
push ecx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov byte [esp + 9], 0x3a
mov byte [esp + 0xa], 0x5c
mov byte [esp + 0xb], 0
mov ebx, 0x41
lea eax, [esp + 8]
mov byte [esp + 8], bl
push eax
call esi
cmp eax, 5
jne 0x413d6d
lea ecx, [ebx - 0x41]
push ecx
call fcn.00413d10
add esp, 4
test eax, eax
jne 0x413d79
inc ebx
cmp ebx, 0x5a
jle 0x413d4d
pop esi
xor eax, eax
pop ebx
pop ecx
ret
pop esi
mov eax, 1
pop ebx
pop ecx
ret

Function at 0x413d90
Capabilities:
Get disk information

Disassembly:
push ecx
mov eax, dword [0x82f33c]
push ebx
push ebp
push esi
push edi
push 0x200
push 0x943a40
push 0xc387
push eax
mov byte [esp + 0x21], 0x3a
mov byte [esp + 0x22], 0x5c
mov byte [esp + 0x23], 0
xor esi, esi
call dword [sym.imp.USER32.dll_LoadStringA]
mov ebp, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ebx, 0x41
lea ecx, [esp + 0x10]
mov byte [esp + 0x10], bl
push ecx
call ebp
cmp eax, 5
jne 0x413e1e
lea edx, [ebx - 0x41]
push edx
call fcn.00413d10
add esp, 4
test eax, eax
je 0x413e1e
push 0x943ac0
push 0x943a40
mov byte [0x943ac0], bl
mov byte [0x943ac1], 0x3a
mov byte [0x943ac2], 0x20
mov byte [0x943ac3], 0
call edi
mov esi, 1
inc ebx
cmp ebx, 0x5a
jle 0x413dd2
pop edi
test esi, esi
pop esi
pop ebp
pop ebx
jne 0x413e47
mov eax, dword [0x82f33c]
push 0x200
push 0x943a40
push 0xc386
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
pop ecx
ret