joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432ed0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x484ca0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4a86f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 0xc]
mov edi, esi
mov dword [ebp - 0x14], 0
lea ecx, [edi + 1]
lea ebx, [ebx]
mov al, byte [edi]
inc edi
test al, al
jne 0x432f10
mov eax, dword [ebp + 0x10]
sub edi, ecx
cmp dword [ebp + 8], 0xffffffff
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
mov dword [eax], 0
mov dword [eax + 4], 0
jne 0x432f4b
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x38ac
call fcn.0046a5db
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x433107
mov dword [ebx], 0xdddd
add ebx, 8
mov dword [ebp - 0x18], ebx
je 0x433107
push 2
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 0
push eax
mov eax, edi
neg eax
cdq
push edx
push eax
push dword [ebp + 8]
call fcn.0042ef10
add esp, 0x14
cmp dword [ebp - 0x20], 0xffffffff
jne 0x432f9f
cmp dword [ebp - 0x1c], 0
je 0x432fe5
push 0
lea eax, [ebp - 0x14]
push eax
push edi
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x432fe5
push edi
push esi
push ebx
call fcn.0046da40
add esp, 0xc
test eax, eax
jne 0x432fe5
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x432fc6
sub esi, ecx
mov ecx, dword [ebp + 0x10]
mov dword [ecx], esi
mov esi, 1
mov dword [ecx + 4], 0
jmp 0x43308c
push 2
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push 0xffffffffffffffff
push 0xffffc75c
push dword [ebp + 8]
movlpd qword [ebp - 0x20], xmm0
call fcn.0042ef10
add esp, 0x14
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push str.OffSet:__I64d
call fcn.0045f880
add esp, 0xc
cmp dword [ebp - 0x20], 0xffffffff
jne 0x433024
cmp dword [ebp - 0x1c], 0
je 0x433087
push 0
lea eax, [ebp - 0x14]
push eax
push 0x38a4
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x433087
push str.Readfile_ok
call fcn.0045f880
add esp, 4
push edi
push esi
push dword [ebp - 0x14]
push ebx
call fcn.0042fa10
mov esi, eax
add esp, 0x10
test esi, esi
je 0x433087
push str.memmem_ok
call fcn.0045f880
mov ecx, dword [ebp + 0x10]
mov eax, ebx
sub eax, esi
add esp, 4
add eax, 0x38a4
mov esi, 1
mov dword [ecx], eax
mov dword [ecx + 4], 0
jmp 0x43308c
mov ecx, dword [ebp + 0x10]
xor esi, esi
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x4330d2
push dword [ecx + 4]
push dword [ecx]
push str.CheckFCWFile____Signature__found___offset_I64d_
call fcn.0045f880
add esp, 0xc
jmp 0x4330df
push str.CheckFCWFile____No_signature_found_
call fcn.0045f880
add esp, 4
add ebx, 0xfffffff8
cmp dword [ebx], 0xdddd
jne 0x4330f3
push ebx
call fcn.004697b3
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0xe
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x436ac0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x4a86f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x68], eax
call fcn.00438dc0
test eax, eax
jne 0x436b16
push 0x4c21f7
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x436b16
push str.CreateIAMCZone____No_active_connection__no_local_file_
call fcn.0045f880
add esp, 4
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004698aa
mov esp, ebp
pop ebp
ret
push esi
push edi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x64], 0
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0x2c
push eax
push ebx
call dword [sym.imp.USER32.dll_GetTitleBarInfo]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 6
call esi
push 0x2e
mov edi, eax
call esi
mov ecx, dword [ebp - 0x1c]
mov dl, byte [0x4c1fee]
mov esi, dword [0x4c1fe6]
mov dword [ebp - 0x70], ecx
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x10]
cmp dl, 1
jne 0x436b79
lea esi, [esi + edi*2]
jmp 0x436b83
cmp dl, 2
jne 0x436b83
add eax, edi
lea esi, [esi + eax*2]
push 6
lea eax, [esi + ecx]
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push 0
push 0
push 0
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
xor edi, edi
cmp dword [0x4c1fc0], edi
je 0x436bc9
mov ecx, dword [0x4b8c30]
test ecx, ecx
jne 0x436bb7
mov ecx, dword [ebp - 0x40]
sub ecx, dword [ebp - 0x48]
mov eax, esi
sub eax, ecx
push eax
push 0
push ebx
call fcn.0042e3a0
add esp, 0xc
jmp 0x436bcf
mov edi, dword [ebp - 0x18]
sub edi, dword [ebp - 0x20]
mov cl, byte [0x4c1fee]
xor edx, edx
mov eax, 0x50000000
cmp cl, 1
je 0x436beb
cmp cl, 2
jne 0x436bf0
mov edx, 0x200
mov eax, 0x50800000
push 0
push dword [0x4c1264]
push 0
push ebx
push esi
push dword [ebp - 0x70]
push edi
push 0
push eax
push 0x487854
push str.Static
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
je 0x436c74
lea eax, [ebp - 0x60]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
push str.CreateIAMCWindow
push dword [0x4c2c3c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x436c57
push dword [ebp - 0x6c]
push dword [ebp - 0x68]
push 0
push esi
push dword [ebp - 0x54]
push dword [ebp - 0x58]
push 0
push 0
call eax
add esp, 0x20
mov dword [ebp - 0x64], eax
jmp 0x436c66
push str.CreateIAMCZone____Cant_find_the_function_CreateIAMCWindow_
call fcn.0045f880
add esp, 4
xor eax, eax
push eax
push str.CreateIAMCZone____hwndIAMC_d
call fcn.0045f880
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x64]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004698aa
mov esp, ebp
pop ebp
ret
Function at 0x436d20
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4a86f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
push edi
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.0046a390
push 0x20
xor edi, edi
call fcn.00468cd3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x436d74
xorps xmm0, xmm0
movdqu xmmword [esi], xmm0
movdqu xmmword [esi + 0x10], xmm0
jmp 0x436d76
xor esi, esi
mov dword [esi + 0xc], 0x4c1fef
mov eax, dword [0x4c1fea]
mov dword [esi], eax
mov dword [esi + 4], 0x4c1fc8
mov eax, dword [0x4c1fe2]
test eax, eax
jne 0x436d99
call fcn.00436c90
mov dword [esi + 8], eax
cmp byte [0x4c1262], 1
jne 0x436dae
mov dword [esi + 0x10], str.0000_0001
jmp 0x436db5
mov dword [esi + 0x10], str.0000_0003
mov dword [esi + 0x14], edi
cmp word [0x4c21f7], di
je 0x436e0b
push 7
push str.file:__
push 0x4c21f7
call fcn.0046cf27
add esp, 0xc
test eax, eax
je 0x436df2
push str.file:__
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0046bf5a
add esp, 0xc
push 0x4c21f7
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004694b4
add esp, 0xc
push dword [esi]
lea eax, [ebp - 0x20c]
mov dword [esi + 0x18], eax
mov eax, dword [ebp + 0xc]
push str.IAMCZone____TypeID_d
mov dword [esi + 0x1c], eax
call fcn.0045f520
push dword [esi + 8]
push str.IAMCZone____CountryCode_d
call fcn.0045f520
push dword [esi + 4]
push str.IAMCZone____MasterID_s
call fcn.0045f520
push dword [esi + 0x10]
push str.IAMCZone____Serial_s
call fcn.0045f520
push dword [esi + 0xc]
push str.IAMCZone____Tag_s
call fcn.0045f520
push dword [esi + 0x14]
push str.IAMCZone____Priority_d
call fcn.0045f520
push dword [esi + 0x18]
push str.IAMCZone____DefaultLocalURL_s
call fcn.0045f520
push dword [esi + 0x1c]
push str.IAMCZone____ZoneID_d
call fcn.0045f520
add esp, 0x40
push str.AddIAMCZone
push dword [0x4c2c3c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x436ea4
push esi
push ebx
call eax
add esp, 8
mov edi, eax
jmp 0x436eb1
push str.IAMCZone____Cant_find_the_function_AddIAMCZone_
call fcn.0045f880
add esp, 4
push esi
call fcn.00429520
push edi
push str.IAMCZone____End__d_
call fcn.0045f520
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, edi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004698aa
mov esp, ebp
pop ebp
ret
Function at 0x438b00
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
push 0
push dword [ebp + 0xc]
mov dword [ebp - 4], 0
push 0
push 0
push 0
push dword [ebp + 0x10]
mov dword [ebp - 8], 0
push 0x48bf3c
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov edi, eax
test edi, edi
je 0x438bc2
cmp dword [0x4c2e50], 0
jne 0x438bc2
push esi
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
lea eax, [ebp - 4]
push eax
push edi
call fcn.00438c50
mov esi, dword [ebp - 4]
add esp, 8
test esi, esi
je 0x438b70
mov eax, esi
pop esi
pop edi
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [ebp + 0x14]
cmp eax, 0x12c
jb 0x438b8f
cmp eax, 0x194
mov esi, 5
mov ecx, 2
cmove esi, ecx
jmp 0x438b9c
push ebx
push edi
call fcn.00438be0
add esp, 8
mov dword [ebp - 8], eax
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [0x4c2e50], 0
mov eax, 0x4c7
cmovne esi, eax
test ebx, ebx
je 0x438bb8
mov dword [ebx], esi
mov eax, dword [ebp - 8]
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push str.HttpOpenRequest
push 0
call fcn.0042e900
add esp, 0x14
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x438be0
Capabilities:
Get http content length

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
xor esi, esi
mov dword [ebp - 8], 4
push esi
lea eax, [ebp - 8]
mov dword [ebp - 4], esi
push eax
lea eax, [ebp - 4]
push eax
push 0x20000005
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x438c2c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0
push 0
mov esi, eax
push str.GetHttpSize
push esi
call fcn.0042e900
add esp, 0x14
jmp 0x438c3c
push dword [ebp - 4]
push str.GetHttpSize___FileSize:__d
call fcn.0045f520
add esp, 8
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x438c45
mov dword [eax], esi
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x438cd0
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push str.GetInternetConnectedState___Test_cnx_Internet
call fcn.0045f520
add esp, 4
lea eax, [ebp - 4]
xor ebx, ebx
mov dword [ebp - 4], ebx
push ebx
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x438d88
push esi
push dword [ebp - 4]
push str.GetInternetConnectedState___InternetGetConnectedState_returns_TRUE_with_dwFlags___x
call fcn.0045f520
mov esi, dword [ebp + 8]
add esp, 8
test esi, esi
je 0x438d3a
push ebx
push 1
push esi
call dword [sym.imp.WININET.dll_InternetCheckConnectionW]
push esi
test eax, eax
je 0x438d2d
mov ebx, 2
push str.GetInternetConnectedState___InternetCheckConnection__s__returns_TRUE
jmp 0x438d32
push str.GetInternetConnectedState___InternetCheckConnection__s__returns_FALSE
call fcn.0045f520
add esp, 8
pop esi
test bl, 2
jne 0x438d98
push 0
push 1
push str.http:__www.microsoft.com
call dword [sym.imp.WININET.dll_InternetCheckConnectionW]
test eax, eax
je 0x438d62
push str.http:__www.microsoft.com
or ebx, 2
push str.GetInternetConnectedState___InternetCheckConnection__s__returns_TRUE
jmp 0x438d90
push 0
push 0
push 0
push str.InternetCheckConnection
push 0
call fcn.0042e900
push str.http:__www.microsoft.com
push str.GetInternetConnectedState___InternetCheckConnection__s__returns_FALSE
call fcn.0045f520
add esp, 0x1c
jmp 0x438d98
push dword [ebp - 4]
push str.GetInternetConnectedState___InternetGetConnectedState_returns_FALSE_with_dwFlags___u
call fcn.0045f520
add esp, 8
test byte [ebp - 4], 0x53
je 0x438da1
or ebx, 1
push ebx
push str.GetInternetConnectedState___Return__u_with_1CONNECTION_CONFIGURED_and_2CONNECTION_ACTIVED
call fcn.0045f520
push str.GetInternetConnectedState___End_cnx_Internet
call fcn.0045f520
add esp, 0xc
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x439260
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x484fde
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a86f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 8]
mov esi, dword [eax]
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
cmp dword [esi + 0x14], 0x10
jae 0x4392b9
mov eax, dword [esi + 0x10]
inc eax
je 0x4392c3
push eax
push esi
push edi
call fcn.00468e70
add esp, 0xc
jmp 0x4392c3
mov eax, dword [esi]
mov dword [edi], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
lea esi, [edi + 0x18]
mov dword [ebp - 4], 0
mov dword [esi], 0
mov dword [esi + 0x2c], 0xf
mov dword [esi + 0x28], 0
mov dword [ebp + 8], esi
mov byte [esi + 0x18], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 2
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
call fcn.0043d7a0
mov dword [esi + 0x3c], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x439350
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x484fde
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a86f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 8]
push 0xffffffffffffffff
push 0
mov eax, dword [eax]
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
push eax
mov byte [edi], 0
call fcn.00428630
lea esi, [edi + 0x18]
mov dword [ebp - 4], 0
mov dword [esi], 0
mov dword [esi + 0x2c], 0xf
mov dword [esi + 0x28], 0
mov dword [ebp + 8], esi
mov byte [esi + 0x18], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 2
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
call fcn.0043d7a0
mov dword [esi + 0x3c], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x43b4d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x485337
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4a86f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
cmp dword [ebp + 8], 0
mov dword [ebp - 0x10], 0
je 0x43b524
mov dword [edi], 0x48d0d8
mov dword [edi + 0x60], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
mov eax, dword [edi]
lea esi, [edi + 4]
push 0
push esi
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
mov ecx, dword [eax + 4]
add ecx, edi
call fcn.00444100
mov eax, dword [edi]
mov dword [ebp - 4], 2
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ecx + edi - 4], eax
mov ecx, esi
call fcn.0043b710
lea eax, [esi + 4]
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov dword [esi + 0xc], eax
lea ecx, [esi + 8]
lea eax, [esi + 0x14]
mov byte [esi + 0x4c], 0
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x24]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x28]
mov dword [esi + 0x30], eax
mov byte [esi + 0x45], 0
mov dword [esi + 0x10], ecx
mov dword [ecx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov dword [esi + 0x50], 0
mov eax, dword [0x4ab46c]
mov dword [esi + 0x48], eax
mov eax, edi
mov dword [esi + 0x40], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x43d880
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x485698
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4a86f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x43d9a5
cmp byte [ebx + 0x45], 0
je 0x43d9a5
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x43d8d4
xor al, al
jmp 0x43d9a7
mov ecx, 0xf
mov byte [ebp - 0x28], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], ecx
cmp ecx, 0x10
movq qword [ebp - 0x28], xmm0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x28]
mov byte [eax + 8], 0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x40]
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x43d93e
dec eax
je 0x43d942
sub eax, 2
je 0x43d98e
xor bl, bl
jmp 0x43d990
mov byte [ebx + 0x45], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x43d974
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.0046e772
add esp, 0x10
cmp esi, eax
jne 0x43d93a
cmp byte [ebx + 0x45], 0
je 0x43d98e
test esi, esi
jne 0x43d904
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.00440e50
jmp 0x43d904
mov bl, 1
cmp dword [ebp - 0x14], 0x10
jb 0x43d9a1
push dword [ebp - 0x28]
call fcn.00429520
add esp, 4
mov al, bl
jmp 0x43d9a7
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004698aa
mov esp, ebp
pop ebp
ret
Function at 0x444930
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x485ee8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4a86f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [ebp + 8]
cmp ecx, 0xffffffff
jne 0x44496c
xor eax, eax
jmp 0x444afc
mov eax, dword [ebx + 0x20]
mov edx, dword [eax]
test edx, edx
je 0x44499a
mov esi, dword [ebx + 0x30]
mov edi, dword [esi]
lea eax, [edi + edx]
cmp edx, eax
jae 0x44499a
lea eax, [edi - 1]
mov dword [esi], eax
mov ecx, dword [ebx + 0x20]
mov edx, dword [ecx]
lea eax, [edx + 1]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
mov byte [edx], al
jmp 0x444afc
cmp dword [ebx + 0x50], 0
jne 0x4449a8
or eax, 0xffffffff
jmp 0x444afc
mov esi, dword [ebx + 0xc]
lea eax, [ebx + 0x44]
cmp dword [esi], eax
jne 0x4449c9
mov ecx, dword [ebx + 0x38]
mov edx, dword [ebx + 0x3c]
mov dword [esi], ecx
sub edx, ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebx + 0x2c]
mov ecx, dword [ebp + 8]
mov dword [eax], edx
cmp dword [ebx + 0x40], 0
jne 0x4449ee
push dword [ebx + 0x50]
movsx eax, cl
push eax
call fcn.0046e3a8
or ecx, 0xffffffff
add esp, 8
cmp eax, ecx
cmovne ecx, dword [ebp + 8]
mov eax, ecx
jmp 0x444afc
mov byte [ebp - 0x2c], cl
lea eax, [ebp - 0x28]
mov ecx, 0xf
mov byte [ebp - 0x28], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], ecx
cmp ecx, 0x10
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x28]
mov byte [eax + 8], 0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x30]
mov esi, dword [ebx + 0x40]
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
lea edx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
mov edi, dword [esi]
add eax, ecx
push eax
push edx
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
lea eax, [ebp - 0x2b]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebx + 0x48]
push eax
call dword [edi + 0x1c]
test eax, eax
js 0x444ae6
cmp eax, 1
jg 0x444ac6
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
cmp edi, 0x10
mov esi, dword [ebp - 0x30]
cmovae eax, ecx
sub esi, eax
je 0x444a97
push dword [ebx + 0x50]
cmp edi, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, ecx
push 1
push eax
call fcn.0046e772
add esp, 0x10
cmp esi, eax
jne 0x444ae6
lea eax, [ebp - 0x2c]
mov byte [ebx + 0x45], 1
cmp dword [ebp - 0x34], eax
jne 0x444ac1
test esi, esi
jne 0x444a21
cmp dword [ebp - 0x18], 0x20
jae 0x444ae6
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.00440e50
jmp 0x444a21
mov ebx, dword [ebp + 8]
jmp 0x444ae9
cmp eax, 3
jne 0x444ae6
push dword [ebx + 0x50]
push dword [ebp - 0x2c]
call fcn.0043a100
or ecx, 0xffffffff
add esp, 8
test al, al
cmovne ecx, dword [ebp + 8]
mov ebx, ecx
jmp 0x444ae9
or ebx, 0xffffffff
cmp dword [ebp - 0x14], 0x10
jb 0x444afa
push dword [ebp - 0x28]
call fcn.00429520
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004698aa
mov esp, ebp
pop ebp
ret 4
Function at 0x446450
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test ax, ax
jne 0x446464
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx eax, ax
movzx ecx, ax
mov eax, ecx
and ecx, 0x3ff
shr eax, 0xa
push eax
push ecx
push str._02X_02X
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0046988e
add esp, 0x14
pop ebp
ret