joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c14d
Capabilities:
Get common file path

Disassembly:
push 0x874
mov eax, 0x4369b0
call fcn.00433ea9
mov edi, edx
mov esi, ecx
xor ebx, ebx
push 0x802
lea eax, [ebp - 0x81c]
push ebx
push eax
mov dword [ebp - 0x880], ebx
call dword [sym.imp.MSVCR110.dll_memset]
add esp, 0xc
lea eax, [ebp - 0x81c]
push eax
push ebx
push ebx
push 0x801a
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x40c2b2
mov dword [ebp - 0x820], 7
mov dword [ebp - 0x824], ebx
mov word [ebp - 0x834], ax
cmp word [ebp - 0x81c], ax
je 0x40c1c9
lea eax, [ebp - 0x81c]
push eax
call dword [sym.imp.MSVCR110.dll_wcslen]
pop ecx
push eax
lea eax, [ebp - 0x81c]
push eax
lea ecx, [ebp - 0x834]
call fcn.00406ab4
mov edx, edi
lea ecx, [ebp - 0x84c]
mov dword [ebp - 4], ebx
call fcn.004069bf
push eax
lea ecx, [ebp - 0x87c]
mov byte [ebp - 4], 1
call fcn.0040d981
mov byte [ebp - 4], 2
mov edx, eax
lea ecx, [ebp - 0x864]
mov dword [esp], 0x43fd8c
call fcn.0040d9b0
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x834]
mov byte [ebp - 4], 3
call fcn.00409611
push ebx
push 1
lea ecx, [ebp - 0x864]
call fcn.00406ccf
push ebx
push 1
lea ecx, [ebp - 0x87c]
call fcn.00406ccf
push ebx
push 1
lea ecx, [ebp - 0x84c]
mov byte [ebp - 4], bl
call fcn.00406ccf
lea edx, [ebp - 0x834]
lea ecx, [ebp - 0x84c]
call fcn.00407dbd
mov ecx, eax
call fcn.004074d4
xor edi, edi
push edi
push 1
lea ecx, [ebp - 0x84c]
mov bl, al
call fcn.00406ccf
test bl, bl
je 0x40c2a0
lea edx, [ebp - 0x834]
mov ecx, esi
call fcn.004068f7
push edi
push 1
lea ecx, [ebp - 0x834]
call fcn.00406ccf
jmp 0x40c2be
or dword [ebp - 4], 0xffffffff
push edi
push 1
lea ecx, [ebp - 0x834]
call fcn.00406ccf
push 0x43f9ae
mov ecx, esi
call fcn.00402326
mov eax, esi
call fcn.00433e58
ret

Function at 0x40ed5a
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x436f2e
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x44c054]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
mov eax, dword [0x44c054]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
push str..xml
lea ecx, [esp + 0xc]
call fcn.00402326
and dword [esp + 0x48], 0
lea edx, [esp + 8]
mov ecx, esi
call fcn.0040b17a
or dword [esp + 0x48], 0xffffffff
lea ecx, [esp + 8]
call fcn.004023b1
push str..rdy
lea ecx, [esp + 0xc]
call fcn.00402326
lea edx, [esp + 8]
mov ecx, esi
mov dword [esp + 0x48], 1
call fcn.0040b17a
or dword [esp + 0x48], 0xffffffff
lea ecx, [esp + 8]
call fcn.004023b1
push str..tmp
lea ecx, [esp + 0x24]
call fcn.00402326
lea edx, [esp + 0x20]
mov ecx, esi
mov dword [esp + 0x48], 2
call fcn.0040b17a
lea ecx, [esp + 0x20]
call fcn.004023b1
mov al, 1
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0041d508
mov esp, ebp
pop ebp
ret
Function at 0x4128d9
Capabilities:
Get common file path

Disassembly:
push 0x264
mov eax, 0x4375ca
call fcn.00433ea9
mov edi, ecx
xor esi, esi
push 0x20a
lea eax, [ebp - 0x224]
push esi
push eax
mov dword [ebp - 0x258], esi
call dword [sym.imp.MSVCR110.dll_memset]
add esp, 0xc
call fcn.004127e7
test al, al
je 0x41299a
push str.IE_is_protected_mode_
lea ecx, [ebp - 0x23c]
call fcn.00402326
push str.LogSession
lea ecx, [ebp - 0x254]
mov dword [ebp - 4], esi
call fcn.00402326
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 1
call fcn.0040c42d
push 0x43f9ae
lea ecx, [ebp - 0x270]
mov esi, eax
call fcn.00402326
push eax
mov byte [ebp - 4], 2
mov edx, dword [esi]
lea eax, [ebp - 0x23c]
push eax
mov ecx, esi
call dword [edx + 0x40]
lea ecx, [ebp - 0x270]
call fcn.004023b1
lea ecx, [ebp - 0x254]
call fcn.004023b1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x23c]
call fcn.004023b1
mov ecx, edi
call fcn.0041283a
jmp 0x4129c7
lea eax, [ebp - 0x224]
push eax
push esi
push esi
push 0x801a
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edx, 0x43fc28
test eax, eax
lea ecx, [ebp - 0x224]
cmovne ecx, edx
push ecx
mov ecx, edi
call fcn.00407e7c
mov eax, edi
call fcn.00433e58
ret

Function at 0x412bcf
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43768a
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x44c054]
xor eax, esp
mov dword [esp + 0x25c], eax
push esi
push edi
mov eax, dword [0x44c054]
xor eax, esp
push eax
lea eax, [esp + 0x270]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov word [esp + 0x25c], ax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x60]
xor edi, edi
push eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], 0x100
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], edi
mov word [esp + 0x14], ax
cmp word [esp + 0x5c], ax
je 0x412c5e
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.MSVCR110.dll_wcslen]
pop ecx
push eax
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x1c]
call fcn.00406ab4
lea edx, [esp + 0x14]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x278], edi
call fcn.004068f7
push str.AdobeHeadlights
lea ecx, [esp + 0x48]
mov byte [esp + 0x27c], 1
call fcn.00402326
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x284], 2
call fcn.00403f22
push eax
mov ecx, esi
call fcn.00402300
lea ecx, [esp + 0x44]
call fcn.004023b1
lea ecx, [esp + 0x2c]
call fcn.004023b1
push edi
push 1
lea ecx, [esp + 0x1c]
call fcn.00406ccf
mov eax, esi
mov ecx, dword [esp + 0x270]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x25c]
xor ecx, esp
call fcn.0041d508
mov esp, ebp
pop ebp
ret
Function at 0x412e6d
Capabilities:
Hash data with md5

Disassembly:
push 0xa8
mov eax, 0x4378ed
call fcn.00433ea9
mov ebx, ecx
xor ecx, ecx
mov dword [ebp - 0xb4], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], ecx
mov byte [ebp - 0x28], cl
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 2
push 0x68
mov dword [ebp - 0x98], eax
push ecx
lea eax, [ebp - 0x90]
push eax
call dword [sym.imp.MSVCR110.dll_memset]
and dword [ebp - 0x8c], 0
and dword [ebp - 0x90], 0
add esp, 0xc
cmp dword [ebp + 0x1c], 0x10
lea edi, [ebp + 8]
cmovae edi, dword [ebp + 8]
add edi, dword [ebp + 0x18]
cmp dword [ebp + 0x1c], 0x10
lea esi, [ebp + 8]
cmovae esi, dword [ebp + 8]
mov dword [ebp - 0x88], 0x67452301
mov dword [ebp - 0x84], 0xefcdab89
mov dword [ebp - 0x80], 0x98badcfe
mov dword [ebp - 0x7c], 0x10325476
jmp 0x412f2d
mov al, byte [esi]
push 1
lea edx, [ebp - 0x91]
mov byte [ebp - 0x91], al
call fcn.0041898f
pop ecx
inc esi
lea ecx, [ebp - 0x90]
cmp esi, edi
jne 0x412f16
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.00413013
xor eax, eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0xa4]
push eax
mov byte [ebp - 4], 3
push dword [ebp - 0xac]
lea ecx, [ebp - 0x98]
push dword [ebp - 0xb0]
call fcn.0041312e
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0xa4]
and dword [ebx + 0x10], 0
add esp, 0xc
mov dword [ebx + 0x14], 0xf
push dword [ebp - 0x98]
mov byte [ebx], 0
push eax
push ecx
mov ecx, ebx
call fcn.00413303
cmp dword [ebp - 0xa4], 0
mov esi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
je 0x412fd5
push dword [ebp - 0xa4]
call esi
xor eax, eax
pop ecx
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
lea ecx, [ebp - 0x28]
call fcn.004023b1
cmp dword [ebp - 0xb0], 0
je 0x413003
push dword [ebp - 0xb0]
call esi
xor eax, eax
pop ecx
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], eax
lea ecx, [ebp + 8]
call fcn.004023b1
mov eax, ebx
call fcn.00433e58
ret
Function at 0x413371
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
mov eax, dword [0x44c054]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x44ded8], 0
push esi
mov esi, ecx
jne 0x413397
xor al, al
jmp 0x413478
push edi
push 0x118
lea eax, [ebp - 0x148]
push 0
push eax
mov dword [ebp - 0x14c], 0x11c
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x14c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov edi, dword [sym.imp.MSVCR110.dll_memset]
test eax, eax
jne 0x4133f9
push 0x11c
lea eax, [ebp - 0x14c]
push 0
push eax
call edi
add esp, 0xc
lea eax, [ebp - 0x14c]
push eax
mov dword [ebp - 0x14c], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x148], 5
jb 0x41345c
jne 0x41340d
cmp dword [ebp - 0x144], 0
je 0x41345c
cmp dword [0x44decc], 0
je 0x413465
push 0x10
lea eax, [ebp - 0x14]
push 0
push eax
call edi
add esp, 0xc
push 2
pop eax
mov word [ebp - 0x14], ax
push esi
lea eax, [ebp - 0x14]
push eax
call dword [0x44decc]
mov ecx, eax
test ecx, ecx
je 0x413470
push 0x1c
lea eax, [ebp - 0x30]
push 0
push eax
call edi
add esp, 0xc
push 0x17
pop eax
mov word [ebp - 0x30], ax
push esi
lea eax, [ebp - 0x30]
push eax
call dword [0x44decc]
jmp 0x41346e
mov eax, dword [0x44dec8]
test eax, eax
jne 0x413469
xor al, al
jmp 0x413477
push esi
push 0
call eax
mov ecx, eax
xor eax, eax
test ecx, ecx
sete al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0041d508
leave
ret
Function at 0x413797
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xf4
mov eax, 0x43796d
call fcn.00433ea9
mov ebx, ecx
cmp dword [ebx], 0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x44], eax
jne 0x4137bd
xor al, al
jmp 0x4138a7
and dword [ebp - 0x48], 0
push 0x802
mov dword [ebp - 0x4c], 0x400
call fcn.0041d46f
mov dword [esp], 0x802
mov edi, eax
push 0
push edi
call dword [sym.imp.MSVCR110.dll_memset]
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x4137f1
mov eax, dword [esi]
jmp 0x4137f3
mov eax, esi
lea ecx, [ebp - 0x4c]
push ecx
push edi
lea ecx, [ebp - 0x48]
push ecx
push 0
push eax
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cdq
test eax, eax
jne 0x413880
test edx, edx
jne 0x413880
xor ebx, ebx
inc ebx
cmp dword [ebp - 0x48], 4
jne 0x413875
mov esi, dword [edi]
push ecx
push ecx
lea ecx, [ebp - 0x100]
call fcn.00413998
and dword [ebp - 4], 0
push esi
lea ecx, [ebp - 0xf0]
call dword [sym.imp.MSVCP110.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___int_]
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x100]
call fcn.00413a46
mov ecx, dword [ebp - 0x44]
push eax
call fcn.00407ea1
push 0
push ebx
lea ecx, [ebp - 0x28]
call fcn.00406ccf
lea ecx, [ebp - 0x98]
call fcn.00413a16
lea ecx, [ebp - 0x98]
call dword [sym.imp.MSVCP110.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
jmp 0x41389d
mov ecx, dword [ebp - 0x44]
push edi
call fcn.00408f3e
jmp 0x41389d
push esi
mov edx, str.Query_registry_value_with_key:
lea ecx, [ebp - 0x40]
call fcn.00410b18
pop ecx
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.00406ccf
xor bl, bl
push edi
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete___void__]
pop ecx
mov al, bl
call fcn.00433e58
ret 8
Function at 0x4184e9
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x438689
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x44c054]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x44c054]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [edi + 0x25], 0
mov esi, dword [ebp + 8]
je 0x418530
mov eax, dword [edi]
call dword [eax + 0x14]
mov edx, esi
lea ecx, [esp + 0x28]
mov byte [edi + 0x25], 1
call fcn.004069bf
and dword [esp + 0x50], 0
mov esi, dword [sym.imp.MSVCR110.dll_wcslen]
and dword [esp + 0x20], 0
xor eax, eax
mov ebx, str.User_Agent:_Adobe_Log_Transport_r_n
push ebx
mov dword [esp + 0x28], 7
mov word [esp + 0x14], ax
call esi
pop ecx
push eax
push ebx
lea ecx, [esp + 0x18]
call fcn.00406ab4
mov ebx, str.Content_Type:_multipart_form_data__boundaryxxxxx_r_n
push ebx
mov byte [esp + 0x54], 1
call esi
pop ecx
push eax
push ebx
lea ecx, [esp + 0x18]
call fcn.00409b3c
mov ebx, str.Content_Length:_0
push ebx
call esi
pop ecx
push eax
push ebx
lea ecx, [esp + 0x18]
call fcn.00409b3c
lea eax, [edi + 0xc]
push eax
lea eax, [edi + 4]
push eax
push 0
push 0
push edi
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x40]
push eax
mov ecx, edi
call fcn.00418158
push 0
push 1
lea ecx, [esp + 0x18]
mov bl, al
mov word [edi + 0x24], 1
call fcn.00406ccf
push 0
push 1
lea ecx, [esp + 0x30]
call fcn.00406ccf
mov al, bl
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0041d508
mov esp, ebp
pop ebp
ret 4

Function at 0x418601
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4386c1
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x44c054]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
mov eax, dword [0x44c054]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0x25], 0
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x14], eax
je 0x418656
mov eax, dword [esi]
call dword [eax + 0x14]
mov eax, dword [esp + 0x14]
mov edx, eax
lea ecx, [esp + 0x30]
mov byte [esi + 0x25], 1
call fcn.004069bf
and dword [esp + 0x58], 0
and dword [esp + 0x28], 0
xor eax, eax
mov dword [esp + 0x2c], 7
mov word [esp + 0x18], ax
lea eax, [esp + 0x18]
push eax
push ebx
push edi
mov byte [esp + 0x64], 1
call fcn.00418019
lea eax, [esi + 0xc]
push eax
lea eax, [esi + 4]
push eax
push 0
push 0
push esi
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x48]
push eax
mov ecx, esi
call fcn.00418158
push 0
push 1
lea ecx, [esp + 0x20]
mov bl, al
mov word [esi + 0x24], 1
call fcn.00406ccf
push 0
push 1
lea ecx, [esp + 0x38]
call fcn.00406ccf
mov al, bl
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0041d508
mov esp, ebp
pop ebp
ret 0xc
Function at 0x419260
Capabilities:
Read file on windows

Disassembly:
cmp dword [esi + 0x3c], 0
jne 0x4192b6
cmp dword [esi + 4], 0
jne 0x4192bf
call dword [sym.imp.MSVCR110.dll__errno]
mov dword [eax], 0
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
push eax
push 0x4000
push 1
push ecx
call dword [sym.imp.MSVCR110.dll_fread]
add esp, 0x10
test eax, eax
mov dword [esi + 4], eax
jne 0x4192ba
mov edx, dword [esi + 0x40]
push edx
mov dword [esi + 0x3c], 1
call dword [sym.imp.MSVCR110.dll_ferror]
add esp, 4
test eax, eax
je 0x4192b6
mov dword [esi + 0x38], 0xffffffff
or eax, 0xffffffff
ret
mov eax, dword [esi + 0x44]
mov dword [esi], eax
mov eax, dword [esi]
add dword [esi + 4], 0xffffffff
mov cl, byte [eax]
add eax, 1
mov dword [esi], eax
movzx eax, cl
ret

Function at 0x4192d0
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, eax
push edi
mov edi, dword [esi + 4]
cmp edi, 2
jae 0x419348
test edi, edi
je 0x4192e9
mov eax, dword [esi]
mov ecx, dword [esi + 0x44]
mov dl, byte [eax]
mov byte [ecx], dl
call dword [sym.imp.MSVCR110.dll__errno]
mov dword [eax], 0
mov eax, dword [esi + 0x40]
mov ecx, edi
push eax
mov eax, dword [esi + 0x44]
mov edx, 0x4000
sar edx, cl
add eax, edi
push edx
push 1
push eax
call dword [sym.imp.MSVCR110.dll_fread]
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x419332
mov ecx, dword [esi + 0x40]
push ecx
call dword [sym.imp.MSVCR110.dll_ferror]
add esp, 4
test eax, eax
je 0x419332
mov dword [esi + 0x38], 0xffffffff
add dword [esi + 4], edi
mov eax, dword [esi + 4]
cmp eax, 2
mov edx, dword [esi + 0x44]
mov dword [esi], edx
jae 0x419348
pop edi
mov dword [esi + 0x58], eax
pop esi
ret
mov eax, dword [esi]
cmp byte [eax], 0x1f
jne 0x41941e
cmp byte [eax + 1], 0x8b
jne 0x41941e
add dword [esi + 4], 0xfffffffe
add eax, 2
push ebx
mov dword [esi], eax
call fcn.00419260
mov edi, eax
call fcn.00419260
cmp edi, 8
mov ebx, eax
jne 0x419413
test bl, 0xe0
jne 0x419413
mov edi, 6
lea esp, [esp]
call fcn.00419260
sub edi, 1
jne 0x419390
test bl, 4
je 0x4193c3
call fcn.00419260
mov edi, eax
call fcn.00419260
shl eax, 8
add edi, eax
mov eax, edi
sub edi, 1
test eax, eax
je 0x4193c3
call fcn.00419260
cmp eax, 0xffffffff
jne 0x4193b0
test bl, 8
je 0x4193d6
call fcn.00419260
test eax, eax
je 0x4193d6
cmp eax, 0xffffffff
jne 0x4193c8
test bl, 0x10
je 0x4193ee
jmp 0x4193e0
call fcn.00419260
test eax, eax
je 0x4193ee
cmp eax, 0xffffffff
jne 0x4193e0
test bl, 2
je 0x419402
mov edi, 2
call fcn.00419260
sub edi, 1
jne 0x4193f8
mov ecx, dword [esi + 0x3c]
neg ecx
sbb ecx, ecx
pop ebx
and ecx, 0xfffffffd
pop edi
mov dword [esi + 0x38], ecx
pop esi
ret
pop ebx
pop edi
mov dword [esi + 0x38], 0xfffffffd
pop esi
ret
pop edi
mov dword [esi + 0x58], 1
pop esi
ret
Function at 0x4194e0
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x41958c
cmp byte [esi + 0x5c], 0x77
jne 0x41958c
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
test ebx, ebx
mov dword [esi], eax
mov dword [esi + 4], ebx
je 0x41956f
push edi
mov edi, dword [sym.imp.MSVCR110.dll_fwrite]
cmp dword [esi + 0x10], 0
jne 0x419537
mov ecx, dword [esi + 0x40]
mov eax, dword [esi + 0x48]
push ecx
push 0x4000
push 1
push eax
mov dword [esi + 0xc], eax
call edi
add esp, 0x10
cmp eax, 0x4000
jne 0x419567
mov dword [esi + 0x10], eax
mov edx, dword [esi + 4]
mov eax, dword [esi + 0x10]
add dword [esi + 0x64], edx
add dword [esi + 0x68], eax
push 0
push esi
call fcn.00419a70
mov ecx, dword [esi + 4]
mov edx, dword [esi + 0x10]
sub dword [esi + 0x64], ecx
sub dword [esi + 0x68], edx
add esp, 8
test eax, eax
mov dword [esi + 0x38], eax
jne 0x41956e
test ecx, ecx
jne 0x419510
jmp 0x41956e
mov dword [esi + 0x38], 0xffffffff
pop edi
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x4c]
push ebx
push eax
push ecx
call fcn.0041b680
add esp, 0xc
mov dword [esi + 0x4c], eax
mov eax, ebx
sub eax, dword [esi + 4]
pop ebx
pop esi
ret
mov eax, 0xfffffffe
pop esi
ret

Function at 0x4195a0
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
mov esi, eax
xor ebx, ebx
test esi, esi
je 0x419657
cmp byte [esi + 0x5c], 0x77
jne 0x419657
mov dword [esi + 4], ebx
push edi
lea esp, [esp]
mov edi, 0x4000
sub edi, dword [esi + 0x10]
je 0x4195ef
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x48]
push eax
push edi
push 1
push ecx
call dword [sym.imp.MSVCR110.dll_fwrite]
add esp, 0x10
cmp eax, edi
jne 0x41964d
mov edx, dword [esi + 0x48]
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], 0x4000
test ebx, ebx
jne 0x41963b
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x10]
add dword [esi + 0x68], eax
push ecx
push esi
call fcn.00419a70
mov ecx, dword [esi + 0x10]
sub dword [esi + 0x68], ecx
add esp, 8
test edi, edi
mov dword [esi + 0x38], eax
jne 0x41961c
cmp eax, 0xfffffffb
jne 0x41961c
mov dword [esi + 0x38], edi
test ecx, ecx
jne 0x41962a
cmp dword [esi + 0x38], 1
je 0x41962a
xor ebx, ebx
jmp 0x41962f
mov ebx, 1
mov eax, dword [esi + 0x38]
test eax, eax
je 0x4195c0
cmp eax, 1
je 0x4195c0
mov esi, dword [esi + 0x38]
mov eax, esi
sub eax, 1
neg eax
sbb eax, eax
pop edi
and eax, esi
pop esi
pop ebx
ret
or eax, 0xffffffff
pop edi
mov dword [esi + 0x38], eax
pop esi
pop ebx
ret
pop esi
mov eax, 0xfffffffe
pop ebx
ret
Function at 0x421fc0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
xor ecx, ecx
cmp esi, edi
je 0x421fed
mov edx, ecx
mov eax, ecx
shr eax, 2
shl edx, 6
add edx, eax
movsx eax, byte [esi]
add eax, 0x9e3779b9
add eax, edx
inc esi
xor ecx, eax
cmp esi, edi
jne 0x421fd0
mov eax, 0x4e25
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x1e
imul eax, eax, 0x7fffd8ee
sub ecx, eax
pop edi
lea eax, [ecx + 0x2710]
pop esi
ret
Function at 0x422ed0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4346cb
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x44c054]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0x20]
mov dword [edi], eax
mov eax, dword [eax + 0xc]
mov dword [edi + 4], eax
lea eax, [esp + 0x20]
mov dword [edi + 8], 0
mov dword [edi + 0x10], 0
mov byte [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov byte [edi + 0x28], 0
push eax
push 0
lea ecx, [edi + 0x2c]
mov dword [esp + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
call fcn.004249b0
mov dword [edi + 0x38], 0
mov ecx, dword [edi]
push 0x43e682
mov eax, dword [ecx + 0x138]
mov dword [ecx + 0x13c], eax
mov eax, dword [edi]
push 0x43e681
mov dword [eax + 0x18], 0
mov eax, dword [edi + 4]
mov dword [esp + 0x20], 0
mov ecx, dword [eax]
call fcn.0042ab10
mov dword [edi + 0x3c], eax
mov eax, dword [edi + 4]
push 0x43e683
mov ecx, dword [eax]
push 0x43e682
call fcn.0042ab10
mov dword [edi + 0x40], eax
mov eax, dword [edi + 4]
push 0x43e689
mov ecx, dword [eax]
push str.lower
call fcn.0042ab10
mov dword [edi + 0x44], eax
mov eax, dword [edi + 4]
push 0x43e691
mov ecx, dword [eax]
push str.upper
call fcn.0042ab10
mov dword [edi + 0x48], eax
mov eax, dword [edi + 4]
push 0x43e699
mov ecx, dword [eax]
push str.alpha
call fcn.0042ab10
mov ecx, dword [edi]
mov dword [edi + 0x4c], eax
mov eax, dword [edi + 0x3c]
mov dword [ecx + 0x140], eax
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x42a300
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x434e09
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x44c054]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
push 1
push 0x44de3c
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 0
call fcn.00433560
xor ecx, ecx
cmp byte [esp + 0x10], cl
lea eax, [esp + 0xc]
cmove eax, ecx
mov dword [esp + 0x28], 1
test eax, eax
je 0x42a392
push dword [esp + 0x38]
push dword [esp + 0x38]
push dword [esp + 0x38]
call fcn.004288e0
add esp, 0xc
lea ecx, [esp + 0xc]
mov dword [esp + 4], 1
mov byte [esp + 0x28], 0
call fcn.00433580
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
add esp, 0x28
ret
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], str.Error_in_thread_safety_code:_could_not_acquire_a_lock
call dword [sym.imp.MSVCR110.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
mov dword [esp + 0x14], vtable.std::runtime_error.0
lea eax, [esp + 0x14]
push eax
mov byte [esp + 0x2c], 2
call fcn.00415b0b
int3