joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406c14
Capabilities:
Check if file exists

Disassembly:
push 0x10
mov eax, 0x506e33
call fcn.004df3ad
mov esi, ecx
and dword [ebp - 0x10], 0
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
cmp dword [esi + 0x144], 0xffffffff
push ecx
mov ecx, esp
je 0x406ca0
mov dword [ebp + 0x10], esp
push str.CFileUtils::FindFirst
call fcn.004014b0
mov byte [ebp - 4], 2
push 0x20
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str..FileUtils.cpp
call fcn.004014b0
mov byte [ebp - 4], 3
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.Called_FindFirst_while_previous_call_still_open_
call fcn.004014b0
mov byte [ebp - 4], 4
push ebx
mov byte [ebp - 4], bl
call fcn.00406096
mov ecx, dword [ebp + 8]
push 0x5af400
call fcn.004014b0
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.004010f8
mov eax, dword [ebp + 8]
jmp 0x406dbb
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x14c], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x18], esp
push eax
call fcn.004037f2
mov byte [ebp - 4], 5
mov byte [ebp - 4], bl
lea edi, [ebp + 0x10]
call fcn.004075a3
pop ecx
mov byte [ebp - 4], 6
lea edi, [esi + 0x148]
push eax
mov ecx, edi
call fcn.004038a3
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x10]
call fcn.004010f8
lea eax, [esi + 4]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esi + 0x144], eax
jne 0x406d60
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 2
je 0x406d4e
push ecx
mov ecx, esp
mov dword [ebp + 0x10], esp
push str.CFileUtils::FindFirst
call fcn.004014b0
mov byte [ebp - 4], 7
push 0x2f
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str..FileUtils.cpp
call fcn.004014b0
mov byte [ebp - 4], 8
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.FindFirstFile_returned_an_error_
call fcn.004014b0
mov byte [ebp - 4], 9
push esi
mov byte [ebp - 4], bl
call fcn.00406096
mov ecx, dword [ebp + 8]
push 0x5af400
call fcn.004014b0
jmp 0x406c89
mov ecx, esi
call fcn.00406ed1
test eax, eax
jne 0x406d7a
push dword [ebp + 8]
mov ecx, esi
call fcn.00406dc3
jmp 0x406c89
push ecx
add esi, 0x30
mov ecx, esp
mov dword [ebp + 0x10], esp
push esi
call fcn.004014b0
mov byte [ebp - 4], 0xa
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push edi
call fcn.004037f2
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], bl
mov esi, dword [ebp + 8]
call fcn.00407701
pop ecx
pop ecx
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.004010f8
mov eax, esi
call fcn.004df44c
ret 0xc
Function at 0x4073b6
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push 0x18
mov eax, 0x508dfd
call fcn.004df3ad
xor eax, eax
inc eax
mov dword [ebp - 4], eax
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
lea ebx, [eax + 0x7f]
push ebx
push 3
push 0
push eax
push 0x40000000
push dword [ebp + 8]
call edi
test eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
jne 0x407429
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.CFileUtils::AppendFile
call fcn.004014b0
mov byte [ebp - 4], 2
push 0xe9
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str..FileUtils.cpp
call fcn.004014b0
mov byte [ebp - 4], 3
call esi
push eax
mov byte [ebp - 4], 1
call fcn.00406a4c
push 0
push ebx
push 3
push 0
push 1
push SysReAllocString
push dword [ebp + 0xc]
call edi
test eax, eax
mov dword [ebp - 0x10], eax
mov ebx, str.CFileUtils::AppendFile
jne 0x407480
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push ebx
call fcn.004014b0
mov byte [ebp - 4], 4
push 0xee
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
mov edi, str..FileUtils.cpp
push edi
call fcn.004014b0
mov byte [ebp - 4], 5
call esi
push eax
mov byte [ebp - 4], 1
call fcn.00406a4c
jmp 0x407485
mov edi, str..FileUtils.cpp
cmp dword [ebp - 0x14], 0xffffffff
je 0x407574
cmp dword [ebp - 0x10], 0xffffffff
je 0x40756b
push 0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 2
push 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
call esi
test eax, eax
jne 0x40753a
push dword [ebp - 0x18]
call fcn.004da791
test eax, eax
pop ecx
mov dword [ebp - 0x1c], eax
je 0x40756b
push 0
lea ecx, [ebp - 0x20]
push ecx
push dword [ebp - 0x18]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4074fe
push 0
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x40752f
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push ebx
call fcn.004014b0
mov byte [ebp - 4], 6
push 0x102
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push edi
call fcn.004014b0
mov byte [ebp - 4], 7
call esi
push eax
mov byte [ebp - 4], 1
call fcn.00406a4c
push dword [ebp - 0x1c]
call fcn.004da854
pop ecx
jmp 0x40756b
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push ebx
call fcn.004014b0
mov byte [ebp - 4], 8
push 0x109
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push edi
call fcn.004014b0
mov byte [ebp - 4], 9
call esi
push eax
mov byte [ebp - 4], 1
call fcn.00406a4c
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x10], 0xffffffff
je 0x407583
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004010f8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004010f8
xor eax, eax
call fcn.004df44c
ret
Function at 0x4139cb
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x1c
mov eax, 0x50a497
call fcn.004df3ad
mov eax, dword [ebx + 0x70]
test eax, eax
jne 0x413a26
push 1
push 0x156
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.CDialogManager::ShowDialog
call fcn.004014b0
and dword [ebp - 4], 0
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.Show_dialog_called_in_bad_state_
call fcn.004014b0
mov byte [ebp - 4], 1
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.showdialog
call fcn.004014b0
mov byte [ebp - 4], 2
jmp 0x413bbf
mov ecx, dword [ebx + 0x74]
test ecx, ecx
jl 0x413b79
mov edi, dword [eax + 4]
cmp ecx, dword [edi + 0xe0]
jge 0x413b79
lea eax, [ebp - 0x10]
push eax
call fcn.0042fd39
mov dword [ebp - 4], 6
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.004037f2
mov byte [ebp - 4], 7
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x5b20c0
call fcn.004014b0
mov byte [ebp - 4], 8
mov byte [ebp - 4], 6
mov esi, ebx
call fcn.0041215e
mov ecx, dword [ebx + 0x74]
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebx + 0x70]
mov edi, dword [eax + 4]
call fcn.0042fc9e
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1c]
push str.Show_dialog:
push ecx
mov ecx, eax
call fcn.004035c8
mov byte [ebp - 4], 0xa
push 0x5b1c98
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00403564
add esp, 0x14
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x10]
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040350d
mov byte [ebp - 4], 0xc
add esp, 8
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x5b20c4
push eax
push ecx
call fcn.00403564
add esp, 0xc
mov byte [ebp - 4], 0xd
push 2
mov byte [ebp - 4], 0xc
call fcn.004066ca
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x14]
call fcn.004010f8
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x18]
call fcn.004010f8
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1c]
call fcn.004010f8
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x20]
call fcn.004010f8
push dword [ebx + 0x74]
mov eax, dword [ebx + 0x70]
push dword [eax + 4]
call fcn.00414370
mov eax, dword [ebx + 0x70]
push dword [ebx + 0x74]
mov esi, dword [eax + 4]
call fcn.0042fe7d
test eax, eax
jne 0x413b74
mov eax, dword [ebx + 0x70]
mov edi, dword [eax + 4]
lea esi, [ebx + 4]
add edi, 0x78
call fcn.0040883d
mov dword [esi + 0x1c], 0x79
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004010f8
mov eax, esi
jmp 0x413bcd
xor esi, esi
inc esi
jmp 0x413b64
push 1
push 0x15c
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.CDialogManager::ShowDialog
call fcn.004014b0
mov dword [ebp - 4], 3
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Current_dialog_index_is_out_of_range_
call fcn.004014b0
mov byte [ebp - 4], 4
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.showdialog2
call fcn.004014b0
mov byte [ebp - 4], 5
lea esi, [ebx + 4]
or dword [ebp - 4], 0xffffffff
call fcn.00411b4c
xor eax, eax
call fcn.004df44c
ret
Function at 0x4173d1
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x60
mov eax, 0x505580
call fcn.004df3ad
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x417580
cmp dword [ebp + 0xc], 5
je 0x417580
push ecx
lea eax, [ebp + 0x10]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.004037f2
mov byte [ebp - 4], 2
push ecx
mov eax, esp
mov dword [ebp - 0x10], esp
push eax
push edi
call fcn.0041663a
mov byte [ebp - 4], 3
push ecx
mov eax, esp
mov dword [ebp - 0x18], esp
push eax
push edi
call fcn.0040f6ca
mov byte [ebp - 4], 4
push dword [ebp + 0xc]
push dword [ebp + 8]
mov byte [ebp - 4], bl
call fcn.0041780b
mov esi, eax
cmp esi, ebx
je 0x417570
lea eax, [ebp - 0x68]
push eax
call fcn.00439539
mov byte [ebp - 4], 5
push ecx
mov eax, esp
mov dword [ebp + 0xc], esp
push eax
push edi
call fcn.0040946e
mov byte [ebp - 4], 6
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 5
call fcn.004395a8
push ecx
mov eax, esp
mov dword [ebp + 0xc], esp
push eax
push edi
call fcn.0040f6ca
mov byte [ebp - 4], 7
mov eax, dword [esi]
lea ecx, [ebp - 0x68]
push ecx
mov byte [ebp - 4], 5
mov ecx, esi
call dword [eax + 0x48]
cmp eax, ebx
jne 0x4174c2
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push str.__LoadIni_failed_
call fcn.004014b0
mov byte [ebp - 4], 8
mov eax, dword [esi]
mov byte [ebp - 4], 5
mov ecx, esi
call dword [eax + 0x74]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x68]
call fcn.00439581
jmp 0x41759e
mov eax, dword [esi]
push 2
mov ecx, esi
call dword [eax + 0xc]
lea ecx, [ebp + 0xc]
call fcn.004037c8
mov byte [ebp - 4], 9
lea eax, [ebp - 0x14]
push eax
push edi
call fcn.00401704
mov edi, eax
mov byte [ebp - 4], 0xa
push str.__Added_offer_type:
lea ecx, [ebp - 0x10]
call fcn.004014b0
mov byte [ebp - 4], 0xb
push edi
push eax
lea eax, [ebp + 8]
push eax
call fcn.0040350d
add esp, 0xc
mov byte [ebp - 4], 0xc
push dword [eax]
lea eax, [ebp + 0xc]
push eax
call fcn.004037b5
pop ecx
pop ecx
mov byte [ebp - 4], 0xb
lea ecx, [ebp + 8]
call fcn.004010f8
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x10]
call fcn.004010f8
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x14]
call fcn.004010f8
push ecx
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp + 8], esp
push eax
call fcn.004037f2
mov byte [ebp - 4], 0xd
mov eax, dword [esi]
mov byte [ebp - 4], 9
mov ecx, esi
call dword [eax + 0x70]
mov byte [ebp - 4], 5
lea ecx, [ebp + 0xc]
call fcn.004010f8
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x68]
call fcn.00439581
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.004010f8
mov eax, esi
jmp 0x4175ac
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push str.AddOfferFromConfig_called_with_invalid_type_
call fcn.004014b0
mov byte [ebp - 4], 1
push 1
mov byte [ebp - 4], bl
call fcn.004066ca
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.004010f8
xor eax, eax
call fcn.004df44c
ret 0xc
Function at 0x42cfbf
Capabilities:
Read .ini file

Disassembly:
push ebp
sub esp, 0x200
lea ebp, [esp - 4]
mov eax, dword [0x5e4ce0]
xor eax, ebp
mov dword [ebp + 0x200], eax
push 0x1c
mov eax, 0x508088
call fcn.004df3ad
mov eax, dword [ebp + 0x20c]
mov dword [ebp - 0x18], eax
and dword [ebp - 4], 0
push 0xffffffffffffffff
add eax, 4
push eax
xor ecx, ecx
call fcn.0042d18e
and dword [ebp - 0x14], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ebx, 0x5af400
mov edi, str.Events
lea ecx, [ebp - 0x10]
call fcn.004037c8
mov byte [ebp - 4], 1
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push str.Name_d
push eax
call fcn.004037b5
add esp, 0xc
push dword [ebp + 0x210]
lea eax, [ebp]
push 0x100
push eax
push ebx
push dword [ebp - 0x10]
push edi
call esi
lea eax, [ebp]
push eax
call fcn.004d9ab0
test eax, eax
pop ecx
je 0x42d14b
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push str.TimeHi_d
push eax
call fcn.004037b5
add esp, 0xc
push dword [ebp + 0x210]
lea eax, [ebp + 0x100]
push 0x100
push eax
push ebx
push dword [ebp - 0x10]
push edi
call esi
lea eax, [ebp + 0x100]
push eax
call fcn.004d9ab0
test eax, eax
pop ecx
je 0x42d14b
lea eax, [ebp + 0x100]
push eax
call fcn.004db617
push dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x10]
push str.TimeLo_d
push eax
call fcn.004037b5
add esp, 0x10
push dword [ebp + 0x210]
lea eax, [ebp + 0x100]
push 0x100
push eax
push ebx
push dword [ebp - 0x10]
push edi
call esi
lea eax, [ebp + 0x100]
push eax
call fcn.004d9ab0
test eax, eax
pop ecx
je 0x42d14b
lea eax, [ebp + 0x100]
push eax
call fcn.004db617
push ecx
push ecx
mov ecx, esp
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], esp
mov dword [ecx], 0x5af3f8
mov dword [ecx + 8], eax
mov byte [ebp - 4], 2
push ecx
lea eax, [ebp]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.004014b0
mov byte [ebp - 4], 3
push dword [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0042cd05
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004010f8
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x186a0
jl 0x42d011
jmp 0x42d157
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004010f8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x210]
call fcn.004010f8
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x200]
xor ecx, ebp
call fcn.004d99c4
add ebp, 0x204
leave
ret 8
Function at 0x42ef12
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call esi
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push eax
call dword [ecx + 0xe0]
cmp dword [ebp - 4], 4
je 0x42ef45
push 0xfa
call dword [sym.imp.KERNEL32.dll_Sleep]
call esi
sub eax, edi
cmp eax, 0x2710
jg 0x42ef58
cmp dword [ebp - 4], 4
jne 0x42ef22
jmp 0x42ef5e
cmp dword [ebp - 4], 4
jne 0x42ef62
mov al, 1
jmp 0x42ef64
xor al, al
pop edi
pop esi
leave
ret 4
Function at 0x4399d3
Capabilities:
Read file on windows

Disassembly:
push 8
mov eax, 0x4fc696
call fcn.004df3ad
xor ebx, ebx
mov dword [ebp - 4], ebx
mov ecx, dword [ebp + 0xc]
push 0xffffffffffffffff
push ebx
mov dword [ebp - 0x10], ebx
call fcn.004d20bd
push 0x5b77e4
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.004dd17d
add esp, 0xc
cmp dword [ebp - 0x10], ebx
je 0x439ada
push 2
push ebx
push dword [ebp - 0x10]
call fcn.004de7fe
push dword [ebp - 0x10]
call fcn.004deddb
push ebx
push ebx
push dword [ebp - 0x10]
mov esi, eax
inc esi
call fcn.004de7fe
push 1
push esi
call fcn.004daa00
add esp, 0x24
push dword [ebp - 0x10]
mov edi, eax
cmp edi, ebx
je 0x439ad1
lea ebx, [esi - 1]
push ebx
push 1
push edi
call fcn.004df0a6
add esp, 0x10
cmp eax, ebx
je 0x439a84
push edi
call fcn.004da854
push dword [ebp - 0x10]
call fcn.004dd02a
and dword [ebp - 0x10], 0
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004010f8
xor eax, eax
call fcn.004df44c
ret 8
push dword [ebp - 0x10]
call fcn.004dd02a
xor ebx, ebx
pop ecx
xor ecx, ecx
cmp esi, ebx
mov byte [edi + esi - 1], 0
mov dword [ebp - 0x10], ebx
jle 0x439ab0
mov al, byte [ecx + edi]
cmp al, 0xd
je 0x439aa8
cmp al, 0xa
jne 0x439aab
mov byte [ecx + edi], bl
inc ecx
cmp ecx, esi
jl 0x439a9d
xor edx, edx
test esi, esi
jle 0x439b28
cmp byte [ebx + edi], 0
jne 0x439b23
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 8]
add edx, edi
push edx
push eax
call fcn.004d23ba
and dword [ebp - 0x14], 0
jmp 0x439b1c
call fcn.004dd02a
mov dword [ebp - 0x10], ebx
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004010f8
mov eax, ebx
jmp 0x439a7c
cmp byte [ebx + edi], 0
jne 0x439b20
inc ebx
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
and eax, 0x80000001
jns 0x439b03
dec eax
or eax, 0xfffffffe
inc eax
jne 0x439b1c
cmp dword [ebp - 0x14], 2
jle 0x439b1c
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 8]
push 0x5af400
push eax
call fcn.004d23ba
cmp ebx, esi
jl 0x439aea
mov edx, ebx
dec ebx
inc ebx
cmp ebx, esi
jl 0x439ab6
push edi
call fcn.004da854
xor ebx, ebx
inc ebx
jmp 0x439ad9
Function at 0x439b33
Capabilities:
Write file on windows

Disassembly:
push 0x10
mov eax, 0x4fe084
call fcn.004df3ad
mov esi, ecx
xor edi, edi
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], edi
call fcn.004037c8
mov byte [ebp - 4], 1
push 0xa
push 0xd
lea eax, [ebp - 0x18]
push str._c_c
push eax
call fcn.004037b5
push 0x5b77f0
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.004dd17d
add esp, 0x1c
cmp dword [ebp - 0x10], edi
je 0x439c4d
cmp dword [esi + 8], edi
mov dword [ebp - 0x14], edi
jle 0x439bf1
mov eax, dword [ebp - 0x14]
mov ecx, esi
call fcn.0041646c
mov eax, dword [eax]
mov edi, dword [eax - 0xc]
mov eax, dword [ebp - 0x14]
mov ecx, esi
call fcn.0041646c
mov ebx, dword [eax]
mov eax, dword [ebp - 0x14]
mov ecx, esi
call fcn.0041646c
push dword [ebp - 0x10]
mov eax, dword [eax]
mov eax, dword [eax - 0xc]
push edi
push 1
push ebx
mov dword [ebp - 0x1c], eax
call fcn.004de6ea
add esp, 0x10
cmp eax, dword [ebp - 0x1c]
push dword [ebp - 0x10]
jne 0x439bf6
mov eax, dword [ebp - 0x18]
mov edi, dword [eax - 0xc]
push edi
push 1
push eax
call fcn.004de6ea
add esp, 0x10
cmp eax, edi
jne 0x439c22
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [esi + 8]
jl 0x439b8c
xor esi, esi
inc esi
jmp 0x439c24
call fcn.004dd02a
and dword [ebp - 0x10], 0
pop ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004010f8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004010f8
xor eax, eax
call fcn.004df44c
ret 4
xor esi, esi
push dword [ebp - 0x10]
call fcn.004dd02a
and dword [ebp - 0x10], 0
pop ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004010f8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004010f8
mov eax, esi
jmp 0x439c1a
xor esi, esi
jmp 0x439c31

Function at 0x439c51
Capabilities:
Write file on windows

Disassembly:
push 4
mov eax, 0x4fc3f4
call fcn.004df3ad
and dword [ebp - 4], 0
and dword [ebp - 0x10], 0
push 0x5b77f0
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.004dd17d
xor esi, esi
add esp, 0xc
cmp dword [ebp - 0x10], esi
je 0x439ca7
push dword [ebp - 0x10]
inc esi
push dword [ebp + 0x10]
push esi
push dword [ebp + 0xc]
call fcn.004de6ea
add esp, 0x10
cmp eax, dword [ebp + 0x10]
je 0x439c9a
xor esi, esi
push dword [ebp - 0x10]
call fcn.004dd02a
and dword [ebp - 0x10], 0
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004010f8
mov eax, esi
call fcn.004df44c
ret 0xc
Function at 0x43a0dc
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x258
lea ebp, [esp - 4]
mov eax, dword [0x5e4ce0]
xor eax, ebp
mov dword [ebp + 0x258], eax
push 8
mov eax, 0x4fd3f7
call fcn.004df3ad
xor esi, esi
mov dword [ebp - 4], esi
mov ecx, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], esi
call fcn.004037c8
mov dword [ebp - 4], esi
push 0x5af400
mov ecx, edi
mov dword [ebp - 0x10], 1
call fcn.004013dd
lea eax, [ebp]
push eax
mov esi, 0x258
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x43a153
push esi
lea eax, [ebp]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameA]
lea eax, [ebp]
push eax
mov ecx, edi
call fcn.004013dd
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x258]
xor ecx, ebp
call fcn.004d99c4
add ebp, 0x25c
leave
ret

Function at 0x43a25f
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x5e4ce0]
xor eax, ebp
mov dword [ebp + 0x74], eax
push 0x94
lea eax, [ebp - 0x20]
push 0
push eax
call fcn.004db150
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
xor eax, eax
cmp dword [ebp - 0x10], 2
jne 0x43a2c3
cmp dword [ebp - 0x1c], 6
jne 0x43a2aa
push 6
jmp 0x43a2e1
cmp dword [ebp - 0x1c], 5
jne 0x43a2ec
cmp dword [ebp - 0x18], 1
jne 0x43a2ba
push 5
jmp 0x43a2e1
cmp dword [ebp - 0x18], eax
jne 0x43a2ec
push 4
jmp 0x43a2e1
cmp dword [ebp - 0x10], 1
jne 0x43a2ec
cmp dword [ebp - 0x1c], 4
jne 0x43a2ec
cmp dword [ebp - 0x18], 0x5a
jne 0x43a2d9
push 3
jmp 0x43a2e1
cmp dword [ebp - 0x18], 0xa
jne 0x43a2e4
push 2
pop eax
jmp 0x43a2ec
cmp dword [ebp - 0x18], eax
jne 0x43a2ec
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x74]
xor ecx, ebp
call fcn.004d99c4
add ebp, 0x78
leave
ret
Function at 0x43a387
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x10
mov eax, 0x4fd3c3
call fcn.004df3ad
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.004037c8
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 0x14]
mov esi, 0x5af400
push esi
call fcn.004013dd
push esi
lea ecx, [ebp + 8]
call fcn.004036be
test eax, eax
jne 0x43a3fb
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.004010f8
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.004010f8
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.004010f8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.004010f8
xor al, al
call fcn.004df44c
ret 0x10
push esi
lea ecx, [ebp + 0xc]
call fcn.004036be
test eax, eax
je 0x43a3c1
push str.hkcr
lea ecx, [ebp + 8]
mov esi, SysReAllocString
call fcn.004036be
test eax, eax
jne 0x43a421
dec esi
jmp 0x43a478
push str.hkcu
lea ecx, [ebp + 8]
call fcn.004036be
test eax, eax
je 0x43a478
push str.hklm
lea ecx, [ebp + 8]
call fcn.004036be
test eax, eax
jne 0x43a44a
mov esi, reloc.OLEAUT32.dll_SysReAllocString
jmp 0x43a478
push 0x5b3ef4
lea ecx, [ebp + 8]
call fcn.004036be
test eax, eax
jne 0x43a462
mov esi, reloc.WS2_32.dll_closesocket
jmp 0x43a478
push str.hkcc
lea ecx, [ebp + 8]
call fcn.004036be
test eax, eax
jne 0x43a478
mov esi, VariantCopy
lea eax, [ebp - 0x10]
push eax
push 0x20019
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43a567
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x18]
push eax
push ebx
lea eax, [ebp - 0x1c]
push eax
push ebx
push dword [ebp + 0x10]
mov dword [ebp - 0x18], ebx
push dword [ebp - 0x10]
call edi
test eax, eax
je 0x43a4de
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.004010f8
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.004010f8
mov byte [ebp - 4], bl
jmp 0x43a3dd
mov eax, dword [ebp - 0x18]
inc eax
push 1
push eax
call fcn.004daa00
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
je 0x43a4b5
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x1c]
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp - 0x10]
call edi
test eax, eax
je 0x43a552
mov byte [ebp + 0x17], bl
push esi
call fcn.004da854
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.004010f8
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.004010f8
mov byte [ebp - 4], bl
lea ecx, [ebp + 0xc]
call fcn.004010f8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.004010f8
mov al, byte [ebp + 0x17]
jmp 0x43a3f3
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 0x14]
push esi
mov byte [eax + esi], bl
call fcn.004013dd
mov byte [ebp + 0x17], 1
jmp 0x43a50b
mov byte [ebp + 0x17], bl
jmp 0x43a51b