joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414396
Capabilities:
Identify system language via api

Disassembly:
push 0x38
mov eax, 0x46e967
call fcn.004337ef
xor edi, edi
mov dword [ebp - 0x2c], 7
xor eax, eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x30], edi
mov word [ebp - 0x40], ax
xor ebx, ebx
inc ebx
mov byte [ebp - 4], bl
call fcn.00415488
cmp eax, 0x12
jg 0x414497
je 0x414480
sub eax, 4
je 0x414469
sub eax, 3
je 0x414452
sub eax, 3
je 0x41443b
dec eax
sub eax, ebx
je 0x414424
sub eax, 4
je 0x41440d
sub eax, ebx
jne 0x4144b6
lea eax, [ebp + 8]
mov esi, 0x47514c
push eax
push ecx
mov eax, esp
mov dword [eax], 0x475160
jmp 0x41452c
lea eax, [ebp + 8]
mov esi, str.Installazione_fallita
push eax
push ecx
mov eax, esp
mov dword [eax], str.Impossibile_inizializzare_GOG_Galaxy_Web_Installer._Contatta_support.gog.com_per_ricevere_assistenza._Codice_errore:_.
jmp 0x41452c
lea eax, [ebp + 8]
mov esi, 0x47590c
push eax
push ecx
mov eax, esp
mov dword [eax], 0x475940
jmp 0x41452c
lea eax, [ebp + 8]
mov esi, str.Instalaci
push eax
push ecx
mov eax, esp
mov dword [eax], str.El_instalador_web_de_GOG_Galaxy_no_ha_podido_iniciarse._Visita_support.gog.com_para_recibir_ayuda._C
jmp 0x41452c
lea eax, [ebp + 8]
mov esi, str.Installation_fehlgeschlagen
push eax
push ecx
mov eax, esp
mov dword [eax], str.GOG_Galaxy_Installationsprogramm_fehlgeschlagen._Hilfe_erh
jmp 0x41452c
lea eax, [ebp + 8]
mov esi, 0x47505c
push eax
push ecx
mov eax, esp
mov dword [eax], 0x475068
jmp 0x41452c
lea eax, [ebp + 8]
mov esi, 0x4751dc
push eax
push ecx
mov eax, esp
mov dword [eax], str.GOG_____.___support.gog.com___.__:_.
jmp 0x41452c
cmp eax, 0x15
je 0x41451a
cmp eax, 0x19
je 0x414506
cmp eax, 0x416
je 0x4144f2
cmp eax, 0x80a
je 0x4144de
cmp eax, 0x7c04
je 0x4144ca
lea eax, [ebp + 8]
mov esi, str.Installation_Failed
push eax
push ecx
mov eax, esp
mov dword [eax], str.GOG_Galaxy_Web_Installer_failed_to_initialize._Contact_support.gog.com_for_assistance._Error_code:_.
jmp 0x41452c
lea eax, [ebp + 8]
mov esi, 0x4750d0
push eax
push ecx
mov eax, esp
mov dword [eax], 0x4750e0
jmp 0x41452c
lea eax, [ebp + 8]
mov esi, str.Instalaci
push eax
push ecx
mov eax, esp
mov dword [eax], str.El_instalador_web_de_GOG_Galaxy_no_pudo_iniciarse._Visita_support.gog.com_para_recibir_ayuda._C
jmp 0x41452c
lea eax, [ebp + 8]
mov esi, str.A_Instala
push eax
push ecx
mov eax, esp
mov dword [eax], str.O_instalador_do_GOG_Galaxy_falhou_ao_iniciar._Entre_em_contato_com_support.gog.com_para_obter_aux
jmp 0x41452c
lea eax, [ebp + 8]
mov esi, 0x4756d8
push eax
push ecx
mov eax, esp
mov dword [eax], 0x475700
jmp 0x41452c
lea eax, [ebp + 8]
mov esi, str.Nieudana_instalacja
push eax
push ecx
mov eax, esp
mov dword [eax], str.Instalator_sieciowy_GOG_Galaxy_nie_uruchomi
lea eax, [ebp - 0x28]
push eax
call fcn.004101cd
add esp, 0xc
lea ecx, [ebp - 0x40]
push eax
call fcn.00422eac
push edi
push ebx
lea ecx, [ebp - 0x28]
call fcn.0042a3d6
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push esi
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.00414677
pop ecx
pop ecx
push edi
push ebx
lea ecx, [ebp - 0x40]
call fcn.0042a3d6
push edi
push ebx
lea ecx, [ebp + 0xc]
call fcn.0042a3d6
call fcn.00433799
ret
Function at 0x4148e3
Capabilities:
Write file on windows

Disassembly:
push 0x58
mov eax, 0x46e9a4
call fcn.004337ef
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x28]
mov esi, dword [ebp + 0xc]
push str.fileLogger
call fcn.00406d51
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0041ad09
pop ecx
pop ecx
xor ebx, ebx
mov byte [ebp - 4], 2
push 0
inc ebx
lea ecx, [ebp - 0x28]
push ebx
call fcn.00409ecb
mov ecx, dword [ebp - 0x64]
push esi
push str.Trying_to_dump_personalized_token_to___
push 2
call fcn.00410c52
cmp dword [esi + 0x14], 8
jb 0x414941
mov eax, dword [esi]
jmp 0x414943
mov eax, esi
xor ecx, ecx
push ecx
push ecx
push 2
push ecx
push ecx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov dword [ebp - 0x5c], eax
cmp eax, 0xffffffff
jne 0x414980
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
push str.CreateFile_failed_with_error_
push 4
call fcn.0041083d
jmp 0x414a12
and dword [ebp - 0x2c], 0
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x54], eax
lea ecx, [ebp - 0x50]
lea eax, [ebp - 0x54]
push eax
call fcn.0040f6f5
and dword [ebp - 0x58], 0
lea eax, [edi + 0x10]
cmp dword [edi + 0x14], 0x10
mov byte [ebp - 4], 3
mov dword [ebp - 0x54], eax
jb 0x4149ac
mov edi, dword [edi]
push 0
lea ecx, [ebp - 0x58]
push ecx
push dword [eax]
push edi
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
jne 0x4149e1
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
push esi
push str.Couldnt_write_to_file___._Error_code_.
push 4
call fcn.00410ce3
jmp 0x414a0a
mov eax, dword [ebp - 0x54]
mov eax, dword [eax]
cmp dword [ebp - 0x58], eax
je 0x414a08
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x58]
push eax
push esi
push str.Bytes_written_to_file____does_not_match_expected_size._Written_____expected___
push 4
call fcn.00410d77
jmp 0x414a0a
xor bl, bl
lea ecx, [ebp - 0x50]
call fcn.00407433
mov ecx, dword [ebp - 0x60]
test ecx, ecx
je 0x414a1e
call fcn.004085c6
mov al, bl
call fcn.00433799
ret
Function at 0x414cb4
Capabilities:
Get common file path

Disassembly:
push 0x2c8
mov eax, 0x46ea91
call fcn.004337ef
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x220]
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
test eax, eax
jne 0x414d50
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push str.fileLogger
lea ecx, [ebp - 0x268]
mov dword [ebp - 0x2cc], eax
call fcn.00406d51
lea eax, [ebp - 0x268]
xor esi, esi
push eax
lea eax, [ebp - 0x2d4]
mov dword [ebp - 4], esi
push eax
call fcn.0041ad09
pop ecx
pop ecx
lea ecx, [ebp - 0x2cc]
xor ebx, ebx
push ecx
mov ecx, dword [eax]
inc ebx
push str.Getting_temporary_path_failed._Error_code_.
push 4
mov byte [ebp - 4], bl
call fcn.00410728
mov ecx, dword [ebp - 0x2d0]
test ecx, ecx
je 0x414d3c
call fcn.004085c6
push esi
push ebx
lea ecx, [ebp - 0x268]
call fcn.00409ecb
mov al, bl
jmp 0x414e9d
lea eax, [ebp - 0x18]
push 5
push eax
call fcn.0041abee
pop ecx
pop ecx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x280]
call fcn.00406d51
lea eax, [ebp - 0x280]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0x2c8]
push eax
call fcn.0041d04a
mov ebx, eax
xor eax, eax
mov byte [ebp - 4], 3
xor esi, esi
mov dword [ebp - 0x23c], 7
push str.GalaxyInstaller_
mov dword [ebp - 0x240], esi
mov word [ebp - 0x250], ax
call fcn.0044efcc
add esp, 0xc
lea ecx, [ebp - 0x250]
push eax
push str.GalaxyInstaller_
call fcn.0040a44f
xor eax, eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], esi
mov word [ebp - 0x238], ax
cmp word [ebp - 0x220], ax
jne 0x414def
mov eax, esi
jmp 0x414dfc
lea eax, [ebp - 0x220]
push eax
call fcn.0044efcc
pop ecx
push eax
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x238]
call fcn.0040a44f
lea eax, [ebp - 0x250]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x2b0]
push eax
call fcn.00402689
push ebx
push eax
lea eax, [ebp - 0x298]
mov byte [ebp - 4], 6
push eax
call fcn.00402689
add esp, 0x18
mov ecx, edi
push eax
call fcn.00422eac
xor ebx, ebx
lea ecx, [ebp - 0x298]
push esi
inc ebx
push ebx
call fcn.0042a3d6
push esi
push ebx
lea ecx, [ebp - 0x2b0]
call fcn.0042a3d6
push esi
push ebx
lea ecx, [ebp - 0x238]
call fcn.0042a3d6
push esi
push ebx
lea ecx, [ebp - 0x250]
call fcn.0042a3d6
push esi
push ebx
lea ecx, [ebp - 0x2c8]
call fcn.0042a3d6
push esi
push ebx
lea ecx, [ebp - 0x280]
call fcn.00409ecb
xor al, al
call fcn.00433799
ret
Function at 0x415488
Capabilities:
Identify system language via api

Disassembly:
call dword [sym.imp.KERNEL32.DLL_GetUserDefaultUILanguage]
movzx eax, ax
movzx edx, al
cmp edx, 0x16
je 0x4154c2
push 4
pop ecx
cmp edx, ecx
jne 0x4154ad
mov edx, 0x7c04
cmp eax, edx
cmove ecx, edx
mov eax, ecx
ret
push esi
push 0xa
pop esi
cmp edx, esi
jne 0x4154c3
mov ecx, 0x80a
cmp eax, ecx
cmove esi, ecx
mov eax, esi
pop esi
ret
mov eax, 0x473380
mov esi, dword [eax]
cmp edx, esi
je 0x4154bf
add eax, ecx
cmp eax, 0x4733b8
jne 0x4154c8
push 9
pop eax
pop esi
ret
Function at 0x415f24
Capabilities:
Identify system language via api

Disassembly:
push 0x44
mov eax, 0x46ed4f
call fcn.004337ef
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.004081c5
test al, al
jne 0x415f91
push str.fileLogger
lea ecx, [ebp - 0x28]
call fcn.00406d51
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0041ad09
pop ecx
pop ecx
mov ecx, dword [eax]
push str.Windows_7_or_later_not_found___system_not_suitable_for_Galaxy_install.
push 3
mov byte [ebp - 4], 1
call fcn.004036cb
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x415f7c
call fcn.004085c6
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00409ecb
call fcn.00414862
mov al, 1
jmp 0x415ffd
mov ecx, esi
call fcn.00408152
test al, al
jne 0x415ffb
mov ecx, esi
call fcn.0040818b
test al, al
jne 0x415ffb
push str.fileLogger
lea ecx, [ebp - 0x40]
call fcn.00406d51
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.0041ad09
pop ecx
pop ecx
mov ecx, dword [eax]
push str..NET_framework_not_found___system_not_suitable_for_Galaxy_install.
push 3
mov byte [ebp - 4], 3
call fcn.004036cb
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x415fe8
call fcn.004085c6
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.00409ecb
call fcn.0041468c
jmp 0x415f8d
xor al, al
call fcn.00433799
ret

Function at 0x417c6f
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
push 2
mov eax, dword [eax + 0x224]
mov esi, dword [eax + 8]
mov edi, dword [eax + 4]
call fcn.00452d78
push eax
push esi
push 1
push edi
call fcn.00455550
push 2
call fcn.00452d78
push eax
call fcn.004566d9
add esp, 0x1c
pop edi
pop esi
pop ebp
ret 4

Function at 0x419b59
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x419b67
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x419b7c
test al, 0x10
jne 0x419b7c
xor eax, eax
inc eax
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x41e130
Capabilities:
Write file on windows

Disassembly:
push 0x58
mov eax, 0x46f708
call fcn.004337ef
mov edi, ecx
mov eax, dword [ebp + 8]
push dword [edi + 8]
mov eax, dword [eax + 0x224]
mov esi, dword [eax + 8]
push esi
push 1
push dword [eax + 4]
call fcn.00455550
add esp, 0x10
cmp eax, esi
je 0x41e1a6
lea eax, [edi + 0xc]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00419b80
and dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x64]
push str.Failed_writing_to_file
push eax
call fcn.0040ec6e
add esp, 0x14
mov esi, eax
mov byte [ebp - 4], 1
call fcn.0044efb9
lea ecx, [ebp - 0x34]
push dword [eax]
push esi
call fcn.00412b26
push 0x48fcb4
lea eax, [ebp - 0x34]
push eax
call fcn.0044d61c
call fcn.00433799
ret 4
Function at 0x41ee7c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 0xc]
push esi
push edi
push dword [ebp + 0x10]
mov edi, ecx
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov esi, dword [ebp + 8]
mov dword [esi + 4], eax
test eax, eax
jne 0x41eeb3
lea eax, [ebp + 0xc]
push eax
push str.Failed_to_find_resource._Resource_id:_.
mov ecx, dword [edi]
push 4
call fcn.0041083d
mov al, 1
jmp 0x41eee7
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov dword [esi], eax
test eax, eax
jne 0x41eecd
lea eax, [ebp + 0xc]
push eax
push str.Failed_to_load_resource._Resource_id:_.
jmp 0x41eea6
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
push dword [esi + 4]
mov dword [esi + 8], eax
push 0
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov dword [esi + 0xc], eax
xor al, al
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x41eeed
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_WriteFile]
lea eax, [ebp - 4]
push edi
xor ebx, ebx
push ebx
push eax
push 2
pop edi
push edi
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push eax
push dword [ebp + 8]
mov dword [ebp - 4], ebx
call esi
test eax, eax
jne 0x41ef1d
mov al, 1
jmp 0x41ef61
cmp dword [ebp - 4], edi
jne 0x41ef19
push ebx
lea ecx, [ebp - 4]
mov dword [ebp - 8], 1
push ecx
push edi
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 8]
call esi
test eax, eax
je 0x41ef19
cmp dword [ebp - 4], edi
jne 0x41ef19
movzx eax, word [ebp + 0xc]
push ebx
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call esi
test eax, eax
je 0x41ef19
cmp dword [ebp - 4], edi
setne al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4361da
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CreateThread]
pop ebp
ret

Function at 0x465000
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00464cc0
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x31055c17
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x273a1fb1
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x412210
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41223d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41223d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
je 0x42e072
nop
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x243867d1
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x42e060
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e0d2
nop
nop
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x26cd0d9e
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x468b3c
Capabilities:
Get common file path
Set current directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004689b3

Function at 0x279f058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.0279f1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x279f07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x279f06a
add dl, dl
jne 0x279f089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x279f0dc
xor eax, eax
add dl, dl
jne 0x279f096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x279f17d
add dl, dl
jne 0x279f0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x279f0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x279f0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x279f0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x279f0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x279f075
mov eax, 1
add dl, dl
jne 0x279f0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x279f0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x279f0e1
sub eax, ebx
mov ebx, 1
jne 0x279f128
mov ecx, 1
add dl, dl
jne 0x279f10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x279f119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x279f105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x279f075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x279f13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x279f14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x279f136
cmp eax, 0x7d00
jae 0x279f16d
cmp eax, 0x500
jb 0x279f168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x279f075
cmp eax, 0x7f
ja 0x279f170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x279f075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x279f19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x279f075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x408020
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x434
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x417250
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
lea eax, [ebp - 0x440]
push 0x400
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [0x424d9c]
mov ebx, 0x200
xor esi, esi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x2c], 0
cmp ebx, 0x201
jae 0x4080a2
jmp 0x4080e0
cmp edi, ebx
mov ebx, edi
jb 0x408132
cmp ebx, 0x201
jb 0x4080e0
mov ecx, dword [ebp - 0x30]
mov eax, ebx
sub eax, esi
sub ecx, esi
cmp ecx, eax
jae 0x4080d0
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x34]
mov edx, esi
push eax
call fcn.004228a0
add esp, 4
mov eax, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
mov edi, dword [ebp - 0x20]
mov esi, ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
jmp 0x4080ed
lea edi, [ebp - 0x440]
mov dword [ebp - 0x28], 0x200
mov dword [ebp - 0x24], edi
push 0
call sub.KERNEL32.dll_SetLastError
push edi
push ebx
call sub.KERNEL32.dll_GetCurrentDirectoryW
mov edi, eax
test eax, eax
jne 0x40810d
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x408170
cmp edi, ebx
jne 0x408090
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x408090
add ebx, ebx
cmp ebx, 0x201
jb 0x4080e0
jmp 0x4080a2
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], 0
cmp eax, edi
jb 0x4081be
lea eax, [ebp - 0x40]
push edi
push dword [ebp - 0x24]
push eax
call fcn.004111f0
add esp, 0xc
mov eax, dword [ebp - 0x38]
mov esi, dword [ebp + 8]
movsd xmm0, qword [ebp - 0x40]
mov dword [esi + 0xc], eax
xor eax, eax
movsd qword [esi + 4], xmm0
mov dword [esi], eax
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x408190
jmp 0x4081a8
call sub.KERNEL32.dll_GetLastError
mov esi, dword [ebp + 8]
mov dword [esi + 8], eax
mov dword [esi + 4], 0
mov eax, 1
mov dword [esi], eax
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x4081a8
cmp dword [ebp - 0x20], 0
je 0x4081a8
add eax, eax
je 0x4081a8
push 2
push eax
push dword [ebp - 0x20]
call fcn.004036f0
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, esi
add esp, 0x434
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x426370
push eax
push edi
call fcn.004230d0
add esp, 0xc
ud2
Function at 0x4092e0
Capabilities:
Read file on windows

Disassembly:
push edi
push esi
push eax
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edi, esp
mov edx, dword [edx]
mov dword [esp], 0
push 0
push edi
push ecx
push eax
push edx
call sub.KERNEL32.dll_ReadFile
test eax, eax
je 0x409317
mov eax, dword [esp]
xor ecx, ecx
mov dword [esi + 4], eax
jmp 0x40933c
call sub.KERNEL32.dll_GetLastError
mov edi, eax
push eax
call fcn.00415b80
add esp, 4
xor ecx, ecx
cmp al, 8
mov dword [esi + 4], 0
je 0x40933c
mov ecx, 1
mov dword [esi + 8], edi
mov dword [esi], ecx
mov eax, esi
add esp, 4
pop esi
pop edi
ret

Function at 0x409350
Capabilities:
Write file on windows

Disassembly:
push edi
push esi
push eax
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edi, esp
mov edx, dword [edx]
mov dword [esp], 0
push 0
push edi
push ecx
push eax
push edx
call sub.KERNEL32.dll_WriteFile
test eax, eax
je 0x409387
mov eax, dword [esp]
mov dword [esi + 4], eax
xor eax, eax
jmp 0x40939b
call sub.KERNEL32.dll_GetLastError
mov dword [esi + 8], eax
mov eax, 1
mov dword [esi + 4], 0
mov dword [esi], eax
mov eax, esi
add esp, 4
pop esi
pop edi
ret