joyce8/EMBER2024-capa huggingface dataset:
Function at 0x99b857
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call fcn.0099b332
and dword [ebp - 4], 0
mov ebx, eax
shl ebx, 2
add esp, 0xc
mov dword [ebp - 8], eax
test ebx, ebx
jle 0x99b8c9
lea edx, [esi + ebx*4 + 8]
lea ecx, [esi + 8]
mov eax, dword [edx - 8]
mov edi, dword [ecx - 8]
add dword [ebp - 4], 4
mov dword [ecx - 8], eax
mov eax, dword [edx - 4]
mov dword [edx - 8], edi
mov edi, dword [ecx - 4]
mov dword [ecx - 4], eax
mov eax, dword [edx]
mov dword [edx - 4], edi
mov edi, dword [ecx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [edx], edi
mov edi, dword [ecx + 4]
mov dword [ecx + 4], eax
mov dword [edx + 4], edi
sub ebx, 4
add ecx, 0x10
sub edx, 0x10
cmp dword [ebp - 4], ebx
jl 0x99b888
mov eax, dword [ebp - 8]
cmp eax, 1
jle 0x99ba3b
lea ecx, [eax - 1]
mov dword [ebp - 4], ecx
mov ecx, 0xff
movzx ebx, byte [esi + 0x11]
mov ebx, dword [ebx*4 + 0x993b68]
add esi, 0x10
mov edx, dword [esi]
mov edi, edx
shr edi, 0x18
mov edi, dword [edi*4 + 0x993b68]
and edi, ecx
mov edi, dword [edi*4 + 0x993f68]
and ebx, ecx
xor edi, dword [ebx*4 + 0x994768]
movzx ebx, byte [esi + 2]
mov ebx, dword [ebx*4 + 0x993b68]
and ebx, ecx
xor edi, dword [ebx*4 + 0x994368]
movzx ebx, byte [esi + 5]
and edx, ecx
mov edx, dword [edx*4 + 0x993b68]
and edx, ecx
xor edi, dword [edx*4 + 0x994b68]
mov edx, dword [esi + 4]
mov dword [esi], edi
mov ebx, dword [ebx*4 + 0x993b68]
mov edi, edx
shr edi, 0x18
mov edi, dword [edi*4 + 0x993b68]
and edi, ecx
mov edi, dword [edi*4 + 0x993f68]
and ebx, ecx
xor edi, dword [ebx*4 + 0x994768]
movzx ebx, byte [esi + 6]
mov ebx, dword [ebx*4 + 0x993b68]
and ebx, ecx
xor edi, dword [ebx*4 + 0x994368]
movzx ebx, byte [esi + 9]
and edx, ecx
mov edx, dword [edx*4 + 0x993b68]
and edx, ecx
xor edi, dword [edx*4 + 0x994b68]
mov edx, dword [esi + 8]
mov dword [esi + 4], edi
mov ebx, dword [ebx*4 + 0x993b68]
mov edi, edx
shr edi, 0x18
mov edi, dword [edi*4 + 0x993b68]
and edi, ecx
mov edi, dword [edi*4 + 0x993f68]
and ebx, ecx
xor edi, dword [ebx*4 + 0x994768]
movzx ebx, byte [esi + 0xa]
mov ebx, dword [ebx*4 + 0x993b68]
and ebx, ecx
xor edi, dword [ebx*4 + 0x994368]
movzx ebx, byte [esi + 0xd]
and edx, ecx
mov edx, dword [edx*4 + 0x993b68]
and edx, ecx
xor edi, dword [edx*4 + 0x994b68]
mov edx, dword [esi + 0xc]
mov dword [esi + 8], edi
mov ebx, dword [ebx*4 + 0x993b68]
mov edi, edx
shr edi, 0x18
mov edi, dword [edi*4 + 0x993b68]
and edi, ecx
mov edi, dword [edi*4 + 0x993f68]
and ebx, ecx
xor edi, dword [ebx*4 + 0x994768]
movzx ebx, byte [esi + 0xe]
mov ebx, dword [ebx*4 + 0x993b68]
and edx, ecx
mov edx, dword [edx*4 + 0x993b68]
and ebx, ecx
xor edi, dword [ebx*4 + 0x994368]
and edx, ecx
xor edi, dword [edx*4 + 0x994b68]
dec dword [ebp - 4]
mov dword [esi + 0xc], edi
jne 0x99b8dd
pop edi
pop esi
pop ebx
leave
ret
Function at 0x99c6e4
Capabilities:
Encode data using xor
Hash data using crc32b

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov ebx, 0x100
lea esi, [edi + 0x404]
push 8
dec ebx
push ebx
mov ecx, edi
sub esi, 4
call fcn.0099c667
shl eax, 0x18
push 8
mov dword [esi], eax
pop ecx
mov edx, eax
and edx, 0x80000000
dec ecx
neg edx
sbb edx, edx
and edx, 0x4c11db7
add eax, eax
xor eax, edx
test ecx, ecx
jne 0x99c70a
push 0x20
push eax
mov ecx, edi
call fcn.0099c667
mov dword [esi], eax
test ebx, ebx
jne 0x99c6f4
pop edi
pop esi
pop ebx
ret

Function at 0x99c74b
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x99d2e4
Capabilities:
Hash data using sha512

Disassembly:
mov edx, dword [esp + 4]
mov eax, 0x9913a8
lea ecx, [edx + 0x108]
push esi
mov esi, dword [eax]
mov dword [ecx], esi
mov esi, dword [eax + 4]
mov dword [ecx + 4], esi
add eax, 8
add ecx, 8
cmp eax, 0x9913e8
jl 0x99d2f4
and dword [edx + 4], 0
and dword [edx], 0
pop esi
ret

Function at 0x9a16ad
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x991a40]
jne 0x9a16b7
repz ret
jmp fcn.009a6e24

Function at 0x9a8685
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.009a179f
and dword [ebp - 4], 0
cmp dword [0x9ab988], 0
mov ebx, eax
jne 0x9a8736
push 0x9963e0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x9a87e7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x9963d4
push edi
call esi
test eax, eax
je 0x9a87e7
push eax
call fcn.009a172d
mov dword [esp], 0x9963c4
push edi
mov dword [0x9ab988], eax
call esi
push eax
call fcn.009a172d
mov dword [esp], 0x9963b0
push edi
mov dword [0x9ab98c], eax
call esi
push eax
call fcn.009a172d
mov dword [esp], 0x996394
push edi
mov dword [0x9ab990], eax
call esi
push eax
call fcn.009a172d
pop ecx
mov dword [0x9ab998], eax
test eax, eax
je 0x9a8736
push 0x99637c
push edi
call esi
push eax
call fcn.009a172d
pop ecx
mov dword [0x9ab994], eax
mov eax, dword [0x9ab994]
cmp eax, ebx
je 0x9a878e
cmp dword [0x9ab998], ebx
je 0x9a878e
push eax
call fcn.009a17a8
push dword [0x9ab998]
mov esi, eax
call fcn.009a17a8
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x9a878e
test edi, edi
je 0x9a878e
call esi
test eax, eax
je 0x9a8785
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x9a8785
test byte [ebp - 0xc], 1
jne 0x9a878e
or dword [ebp + 0x10], 0x200000
jmp 0x9a87c7
mov eax, dword [0x9ab98c]
cmp eax, ebx
je 0x9a87c7
push eax
call fcn.009a17a8
pop ecx
test eax, eax
je 0x9a87c7
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x9a87c7
mov eax, dword [0x9ab990]
cmp eax, ebx
je 0x9a87c7
push eax
call fcn.009a17a8
pop ecx
test eax, eax
je 0x9a87c7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x9ab988]
call fcn.009a17a8
pop ecx
test eax, eax
je 0x9a87e7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x9a87e9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x408fc0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x12c
mov eax, dword [0x447d10]
mov dword [esp + 0x128], eax
mov al, byte [0x449d54]
test al, al
jne 0x4090da
lea eax, [esp]
push eax
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
lea ecx, [esp + 4]
push ecx
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x409031
mov eax, dword [esp + 4]
lea edx, [esp + 0x24]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov edx, dword [esp + 4]
mov eax, dword [esp]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x14]
jmp 0x409043
lea eax, [esp + 0x24]
push 0x4398b8
push eax
call fcn.00416f3f
add esp, 8
mov eax, dword [esp]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [esp + 0x24]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x409053
sub eax, edx
push eax
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x10]
call fcn.00403ef0
push 8
push str.KONAMI_
lea ecx, [esp + 0x10]
call fcn.00408870
push 0x16
push str.PES_6_CLAUSURA_2001AFA
lea ecx, [esp + 0x10]
call fcn.00408870
push 1
push 0x439890
lea ecx, [esp + 0x10]
call fcn.00408870
cmp dword [esp + 0x20], 0x10
mov eax, dword [esp + 0xc]
jae 0x4090aa
lea eax, [esp + 0xc]
push 0x410
push eax
push 0x449388
call fcn.004171a0
mov eax, dword [esp + 0x2c]
add esp, 0xc
cmp eax, 0x10
mov byte [0x449d54], 1
jb 0x4090da
mov eax, dword [esp + 0xc]
push eax
call fcn.0042cfc9
add esp, 4
mov ecx, dword [esp + 0x128]
mov eax, 0x449388
call fcn.004164ae
add esp, 0x12c
ret

Function at 0x40c553
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40c568
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x40c57a
xor eax, eax
jmp 0x40c5ac
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x40c59e
cmp esi, eax
jae 0x40c576
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x40c590
cmp esi, eax
jae 0x40c576
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop ebp
ret
Function at 0x401030
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
cmp dword [0x8c0160], 0x594
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 8], eax
jne 0x401074
push 0
lea ecx, [ebp - 0x42c]
push ecx
push 0
push str.mopiwanofiyaxiyeg_doyucevodoxaxajogat_turifulerefixozexemovitisefoyulu_wifamil_xebekitu
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
push str.jopehelutokucaxoyanobofivekibiyu_nob
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
mov eax, dword [0x4a0f3c]
mov edx, dword [0x4a0f38]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x1c], edx
call fcn.00401020
mov esi, dword [ebp - 0x10]
mov ecx, dword [0x4a0f40]
mov edx, dword [0x4a0f44]
add esi, 0x23f
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x28], edx
mov ebx, 0x20
jmp 0x4010c3
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov ecx, dword [0x8c0160]
mov eax, edi
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x40112b
push 0
lea eax, [ebp - 0x42c]
push eax
push str.lujemuvisirikudecegix_zepasowulegiliyomenetumojupekasu_jehoheh
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointA]
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
lea ecx, [ebp - 0x24]
push ecx
push 0
mov dword [ebp - 0x24], 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeaps]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
mov eax, dword [ebp - 4]
mov ecx, dword [0x8c0160]
add eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
cmp ecx, 0xfa9
jne 0x401145
mov dword [0x8bf6fc], 0xedeb2e40
jmp 0x401157
cmp ecx, 0x3eb
jne 0x401157
mov dword [0x8bf0b0], 0
mov ecx, dword [ebp - 0xc]
lea edx, [esi + edi]
mov dword [ebp - 0x14], edx
mov edx, edi
shr edx, cl
mov dword [0x8bf6f8], 0xf4ea3dee
add edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
xor edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
add dword [ebp - 8], 0x64
sub dword [ebp - 8], eax
sub dword [ebp - 8], 0x64
cmp dword [0x8c0160], 0xc
jne 0x4011b3
lea eax, [ebp - 0x14]
push eax
push 0
push 0
lea ecx, [ebp - 0x2c]
push ecx
push 0
push 0
push 0
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_BackupWrite]
mov edx, dword [ebp - 8]
shl edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov eax, edx
shr eax, cl
mov ecx, dword [ebp - 4]
add esi, edx
add eax, dword [ebp - 0x20]
xor eax, esi
xor ecx, eax
lea eax, [ebp - 0x10]
mov dword [ebp - 4], ecx
sub edi, ecx
call fcn.00401010
sub ebx, 1
jne 0x4010c0
cmp dword [0x8c0160], 0xa6d
mov esi, dword [ebp + 8]
mov dword [esi], edi
jne 0x40121a
push ebx
push str.xuhaxawehegevusuwujigamozahuviv
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
mov eax, dword [ebp - 8]
pop edi
mov dword [esi + 4], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
mov dword [esi + 4], edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x401230
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x8c0160]
mov ecx, dword [0x8bf0b4]
shr eax, 3
sub esp, 0x41c
test eax, eax
jbe 0x401338
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EnumDateFormatsExW]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
lea ebx, [ebx]
cmp dword [0x8c0160], 0x959
jne 0x40131e
push 0
call esi
push 0
push 0
call edi
push 0
push 0
push 0
call ebx
push str.ducofikinevodugucexejayeyide_jofubupazekatajikuwayoj
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push 0
lea eax, [ebp - 0x41c]
push eax
push 0
push str.soratazoxawekufufohayawarokoxaforinozerebemilarewukayitoterenaromil
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LCMapStringA]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 0
push 0
push str.kemafuvoriwidekubinujogin
push str.vuvetutijapaliy
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceLanguagesW]
xor eax, eax
push eax
push eax
lea ecx, [ebp - 0x1c]
push ecx
push eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
push 0
push 0
push 0
push 0
push 0
push 0
push str.laduvig_xupewufodarahut
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edx, dword [ebp - 4]
push edx
call fcn.00401030
add dword [ebp - 4], 8
sub dword [ebp - 8], 1
jne 0x401270
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402590
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a00c8]
jne 0x40259a
repz ret
jmp fcn.00405f2e

Function at 0x405b5b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00403019
and dword [ebp - 4], 0
cmp dword [0x4a1b28], 0
mov ebx, eax
jne 0x405c0c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x405cbd
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x405cbd
push eax
call fcn.00402fa7
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4a1b28], eax
call esi
push eax
call fcn.00402fa7
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4a1b2c], eax
call esi
push eax
call fcn.00402fa7
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4a1b30], eax
call esi
push eax
call fcn.00402fa7
pop ecx
mov dword [0x4a1b38], eax
test eax, eax
je 0x405c0c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402fa7
pop ecx
mov dword [0x4a1b34], eax
mov eax, dword [0x4a1b34]
cmp eax, ebx
je 0x405c64
cmp dword [0x4a1b38], ebx
je 0x405c64
push eax
call fcn.00403022
push dword [0x4a1b38]
mov esi, eax
call fcn.00403022
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x405c64
test edi, edi
je 0x405c64
call esi
test eax, eax
je 0x405c5b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x405c5b
test byte [ebp - 0xc], 1
jne 0x405c64
or dword [ebp + 0x10], 0x200000
jmp 0x405c9d
mov eax, dword [0x4a1b2c]
cmp eax, ebx
je 0x405c9d
push eax
call fcn.00403022
pop ecx
test eax, eax
je 0x405c9d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x405c9d
mov eax, dword [0x4a1b30]
cmp eax, ebx
je 0x405c9d
push eax
call fcn.00403022
pop ecx
test eax, eax
je 0x405c9d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4a1b28]
call fcn.00403022
pop ecx
test eax, eax
je 0x405cbd
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x405cbf
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x42e030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x10009810
Capabilities:
Get geographical location

Disassembly:
push 0xa0
mov eax, 0x100c95ed
call fcn.100c74ca
mov ebx, ecx
mov eax, dword [ebp + 8]
lea edi, [ebp - 0x2c]
and dword [ebp - 4], 0
push 6
mov dword [ebp - 0xa4], eax
xor eax, eax
pop ecx
rep stosd dword es:[edi], eax
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0xac], ebx
call fcn.10054044
push 8
pop ecx
xor eax, eax
mov byte [ebp - 4], 1
lea edi, [ebp - 0x64]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x64]
call fcn.10053b49
and dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 3
call fcn.100570f0
mov esi, eax
mov dword [ebp - 0xa8], esi
mov eax, dword [ebp - 0xa4]
mov ecx, eax
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 0x10
jb 0x10009894
mov ecx, dword [eax]
mov eax, dword [eax + 0x10]
lea edx, [ebp - 0x44]
mov edi, dword [esi]
add eax, ecx
push edx
lea edx, [ebp - 0x2c]
push edx
mov edi, dword [edi + 4]
push eax
push ecx
mov ecx, edi
call dword [0x100e97d8]
mov ecx, esi
call edi
test al, al
je 0x10009a08
push str.userId
lea ecx, [ebp - 0x2c]
call fcn.100896dc
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.100556b6
push eax
lea ecx, [ebx + 4]
call fcn.100896dc
lea ecx, [ebp - 0xa0]
call fcn.100090b6
push str.firstName
lea ecx, [ebp - 0x2c]
call fcn.100896dc
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.100556b6
push eax
lea ecx, [ebx + 0x1c]
call fcn.100896dc
lea ecx, [ebp - 0xa0]
call fcn.100090b6
push str.lastName
lea ecx, [ebp - 0x2c]
call fcn.100896dc
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.100556b6
push eax
lea ecx, [ebx + 0x34]
call fcn.100896dc
lea ecx, [ebp - 0xa0]
call fcn.100090b6
push str.email
lea ecx, [ebp - 0x2c]
call fcn.100896dc
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.100556b6
push eax
lea ecx, [ebx + 0x4c]
call fcn.100896dc
lea ecx, [ebp - 0xa0]
call fcn.100090b6
push str.countryCode
lea ecx, [ebp - 0x2c]
call fcn.100896dc
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.100556b6
push eax
lea ecx, [ebx + 0x64]
call fcn.100896dc
lea ecx, [ebp - 0xa0]
call fcn.100090b6
push str.displayName
lea ecx, [ebp - 0x2c]
call fcn.100896dc
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.100556b6
push eax
lea ecx, [ebx + 0x7c]
call fcn.100896dc
lea ecx, [ebp - 0xa0]
call fcn.100090b6
push str.accountType
lea ecx, [ebp - 0x2c]
call fcn.100896dc
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.100556b6
push eax
lea ecx, [ebx + 0x94]
call fcn.100896dc
lea ecx, [ebp - 0xa0]
call fcn.100090b6
test esi, esi
je 0x10009a18
push esi
lea ecx, [ebp - 0xa8]
call fcn.100896dc
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x10009a2c
inc eax
push eax
push dword [ebp - 0x44]
call fcn.100896dc
pop ecx
pop ecx
and dword [ebp - 0x34], 0
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
call fcn.100542df
lea ecx, [ebp - 0x2c]
call fcn.100543b8
call fcn.100c7417
ret 4
Function at 0x1000a0cf
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x100c971e
call fcn.100c7428
mov esi, ecx
push dword [ebp + 8]
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
mov dword [ebp - 0x10], ebx
call fcn.100896dc
lea edi, [esi + 4]
mov dword [ebp - 4], ebx
push edi
push ebx
push dword [ebp - 0x10]
push 0x1000bd30
push ebx
push ebx
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x20
mov dword [esi], eax
test eax, eax
je 0x1000a119
mov eax, esi
call fcn.100c73f1
ret 4
push 6
mov dword [edi], ebx
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
Function at 0x10023460
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x1016a39c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
or edi, 0xffffffff
mov esi, ecx
cmp ebx, edi
jne 0x10023486
xor eax, eax
jmp 0x10023541
mov eax, dword [esi + 0x20]
cmp dword [eax], 0
je 0x100234a8
mov edx, dword [esi + 0x30]
mov edx, dword [edx]
add edx, dword [eax]
cmp dword [eax], edx
jae 0x100234a8
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void_]
mov byte [eax], bl
mov eax, ebx
jmp 0x10023541
cmp dword [esi + 0x4c], 0
je 0x1002353f
call fcn.10021ce6
mov ecx, dword [esi + 0x38]
mov al, bl
test ecx, ecx
jne 0x100234d2
push dword [esi + 0x4c]
push eax
call fcn.100896dc
test al, al
pop ecx
pop ecx
cmovne edi, ebx
jmp 0x1002353f
mov byte [ebp - 0x28], al
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
test eax, eax
js 0x1002353f
cmp eax, 1
jle 0x1002350d
cmp eax, 3
jne 0x1002353f
push dword [esi + 0x4c]
push dword [ebp - 0x28]
jmp 0x100234c4
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x24]
sub eax, ecx
mov dword [ebp - 0x34], eax
je 0x10023531
push dword [esi + 0x4c]
push eax
mov eax, ecx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp dword [ebp - 0x34], eax
jne 0x1002353f
lea eax, [ebp - 0x28]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
mov eax, ebx
jne 0x10023541
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100c73e0
leave
ret 4
Function at 0x10023de0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov ebx, ecx
mov dword [ebp - 8], edx
push edi
mov edi, dword [ebp + 0xc]
test esi, esi
jg 0x10023e0a
jl 0x10023e01
test edi, edi
jne 0x10023e0a
xor eax, eax
xor edx, edx
jmp 0x10023ee9
cmp dword [ebx + 0x38], 0
je 0x10023e1e
push esi
push edi
push edx
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char___long_long___int64__]
jmp 0x10023ee9
mov eax, dword [ebx + 0x1c]
mov ecx, edi
mov dword [ebp - 0xc], ecx
mov ecx, dword [eax]
test ecx, ecx
je 0x10023e33
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
jmp 0x10023e35
xor eax, eax
mov dword [ebp - 4], edi
test eax, eax
je 0x10023e68
cmp eax, edi
mov esi, edi
cmovb esi, eax
push esi
push ecx
push edx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebx + 0x2c]
mov ecx, edi
add dword [ebp - 8], esi
sub ecx, esi
add esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], ecx
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov esi, dword [ebp + 0x10]
cmp dword [ebx + 0x4c], 0
je 0x10023edd
mov ecx, ebx
call fcn.10021ce6
mov eax, dword [ebp - 4]
mov edx, eax
mov dword [ebp - 4], edx
cmp eax, 0xfff
jbe 0x10023ebb
push dword [ebx + 0x4c]
push 0xfff
push 1
push dword [ebp - 8]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov ecx, dword [ebp - 0xc]
add esp, 0x10
add dword [ebp - 8], eax
sub ecx, eax
mov dword [ebp - 0xc], ecx
mov edx, ecx
mov dword [ebp - 4], ecx
cmp eax, 0xfff
jne 0x10023eb7
cmp ecx, eax
ja 0x10023e84
jmp 0x10023ebe
sub edi, ecx
jmp 0x10023ee2
mov ecx, dword [ebp - 0xc]
cmp dword [ebp - 4], 0
jbe 0x10023ee0
push dword [ebx + 0x4c]
push ecx
push 1
push dword [ebp - 8]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov edx, dword [ebp - 4]
add esp, 0x10
sub edx, eax
jmp 0x10023ee0
mov edx, dword [ebp - 4]
sub edi, edx
sbb esi, 0
mov eax, edi
mov edx, esi
pop edi
pop esi
pop ebx
leave
ret 0xc