joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41d980
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, 1
test edx, edx
je 0x41d9fe
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
sbb edx, dword [ebp - 0x1c]
push 0
push 0x3e8
push edx
push ecx
call fcn.0042b670
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x28]
push ecx
push edx
push eax
call fcn.0042b5c0
mov ecx, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], esi
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0xc]
jl 0x41d9fc
jg 0x41d9fa
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x10]
jbe 0x41d9fc
jmp 0x41d9fe
jmp 0x41d99b
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x42935d
Capabilities:
Encrypt data using rc4 prga

Disassembly:
pushal
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
push edi
mov dword [ebp - 0x18], 6
mov dword [ebp - 0x24], 4
xor ebx, ebx
inc ebx
mov edi, 6
mov dword [ebp - 0x14], 0x4531fa
and dword [ebp - 0x20], 0
mov edx, dword [ebp - 0x14]
movzx edx, byte [edx + 2]
shl edx, 9
add dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
xor eax, 0x4d
mov byte [ebp - 0x29], al
mov edx, dword [ebp - 0x14]
movzx edx, byte [edx + 1]
shl edx, 0xc
add dword [ebp - 0x20], edx
mov dword [ebp - 4], 3
jmp 0x4293cb
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x14]
movzx edx, byte [eax]
movzx ecx, byte [ebp - 0x29]
xor edx, ecx
mov byte [eax], dl
inc dword [ebp - 4]
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 4], eax
jb 0x4293b7
mov dword [ebp - 0x30], 0x4535fa
mov dword [ebp - 0x28], 0x46d000
mov eax, ebx
add eax, dword [ebp - 0x18]
sub eax, 7
mov dword [ebp - 8], eax
jmp 0x429400
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x30]
mov cl, byte [ecx + eax]
mov byte [edx + eax], cl
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x11bc0
jb 0x4293ee
mov dword [ebp - 0x34], 0x48b000
mov dword [ebp - 0x38], 0x4651fa
mov eax, edi
add eax, ebx
sub eax, 7
mov dword [ebp - 0xc], eax
jmp 0x429435
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
mov cl, byte [ecx + eax]
mov byte [edx + eax], cl
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x5a58
jb 0x429423
mov esi, 0x46b1fa
mov dword [ebp - 0x3c], 0x10000000
Function at 0x433d04
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x447400]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.0042d1ed
mov dword [ebp - 0x14], eax
cmp dword [0x44965c], edi
jne 0x433df5
push 0x800
push edi
push 0x43ed94
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x433d82
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x433ed5
push 0x43ed94
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x433ed5
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x433ed5
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x44965c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x449660], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x449664], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x44966c], eax
test eax, eax
je 0x433df2
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x449668], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x433e1a
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x433e0d
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x433e2f
push 4
pop eax
jmp 0x433ed7
cmp dword [ebp - 0x14], edi
je 0x433e2f
push dword [0x44965c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x433e14
mov eax, dword [0x449668]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x433e8d
cmp dword [0x44966c], esi
je 0x433e8d
push eax
call ebx
push dword [0x44966c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x433e8d
test eax, eax
je 0x433e8d
call ecx
test eax, eax
je 0x433e82
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x433e82
test byte [ebp - 8], 1
jne 0x433e8d
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x433ebd
mov eax, dword [0x449660]
cmp eax, esi
je 0x433eba
push eax
call ebx
test eax, eax
je 0x433eba
call eax
mov edi, eax
test edi, edi
je 0x433eba
mov eax, dword [0x449664]
cmp eax, esi
je 0x433eba
push eax
call ebx
test eax, eax
je 0x433eba
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x44965c]
call ebx
test eax, eax
je 0x433ed5
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x433ed7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004287a4
leave
ret
Function at 0x10003400
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [0x1000c00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x18], eax
mov esi, eax
call fcn.100047a0
mov ecx, dword [eax]
or ecx, 2
xor edx, edx
push esi
push edx
push dword [ebp + 0xc]
push edx
push edx
push dword [eax + 4]
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vswprintf]
add esp, 0x1c
xor ecx, ecx
dec ecx
test eax, eax
cmovns ecx, eax
lea edi, [ecx + 1]
lea ebx, [ecx + ecx]
add ebx, 2
push ebx
call fcn.10006c53
add esp, 4
mov esi, eax
push ebx
xor eax, eax
push eax
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ebx, [ebp + 0x18]
mov dword [ebp - 0x18], ebx
call fcn.100047a0
push ebx
xor ecx, ecx
push ecx
push dword [ebp + 0xc]
push edi
push esi
push dword [eax + 4]
push dword [eax]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vswprintf]
add esp, 0xc
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov dword [esp + 4], esi
call fcn.10007750
add esp, 0x10
lea ecx, [eax + 1]
mov dword [ebp - 0x1c], ecx
lea ebx, [eax + eax]
add ebx, 2
push ebx
call fcn.10006c53
add esp, 4
mov edi, eax
push ebx
xor ebx, ebx
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
sub esp, 0x10
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], esi
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.100077b0
add esp, 0x1c
push str.Firefox_Notification_Server
push ebx
call dword [sym.imp.advapi32.dll_RegisterEventSourceW]
test eax, eax
je 0x10003534
mov ebx, eax
lea eax, [ebp - 0x14]
mov dword [eax], edi
sub esp, 0x24
xor ecx, ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
movaps xmm0, xmmword [0x10009260]
movups xmmword [esp + 4], xmm0
mov dword [esp], ebx
mov dword [esp + 0x14], 1
call dword [sym.imp.advapi32.dll_ReportEventW]
push ebx
call dword [sym.imp.advapi32.dll_DeregisterEventSource]
push edi
call fcn.100062cc
add esp, 4
push esi
call fcn.100062cc
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10006b10
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10006c53
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x10006c62
pop dword [ebp - 0x44]
mov eax, 0x5259ca45
add eax, 0xbda6a21d
sub dword [ebp - 0x44], eax
push 0x40
push 0x1000
push 0x362a8
push 0
mov eax, 0x8aa0bb94
add eax, 0x855fea9c
add eax, dword [ebp - 0x44]
call dword [eax]
mov ecx, 0x8157d0cd
sub ecx, 0x81578c94
mov edi, eax
mov ebx, 0x9680a591
sub ebx, 0x867f9d91
add ebx, dword [ebp - 0x44]
mov edx, 0xed37516c
add edx, 0xfc99bd25
mov esi, dword [ebx]
add dword [ebp - 0x38], 0x94b9abf9
add esi, edx
xor dword [ebp - 0x34], ecx
mov dword [edi], esi
mov dword [ebp - 0x24], 0xdd1f6e44
add edi, 0xec53958a
add edi, 0x13ac6a7a
add ebx, 4
loop 0x10006cc1
add eax, 0x5a1808a2
sub eax, 0x5a1704eb
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
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.100b45be
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.100556b6
push eax
lea ecx, [ebx + 4]
call fcn.100b45be
lea ecx, [ebp - 0xa0]
call fcn.100090b6
push str.firstName
lea ecx, [ebp - 0x2c]
call fcn.100b45be
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.100556b6
push eax
lea ecx, [ebx + 0x1c]
call fcn.100b45be
lea ecx, [ebp - 0xa0]
call fcn.100090b6
push str.lastName
lea ecx, [ebp - 0x2c]
call fcn.100b45be
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.100556b6
push eax
lea ecx, [ebx + 0x34]
call fcn.100b45be
lea ecx, [ebp - 0xa0]
call fcn.100090b6
push str.email
lea ecx, [ebp - 0x2c]
call fcn.100b45be
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.100556b6
push eax
lea ecx, [ebx + 0x4c]
call fcn.100b45be
lea ecx, [ebp - 0xa0]
call fcn.100090b6
push str.countryCode
lea ecx, [ebp - 0x2c]
call fcn.100b45be
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.100556b6
push eax
lea ecx, [ebx + 0x64]
call fcn.100b45be
lea ecx, [ebp - 0xa0]
call fcn.100090b6
push str.displayName
lea ecx, [ebp - 0x2c]
call fcn.100b45be
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.100556b6
push eax
lea ecx, [ebx + 0x7c]
call fcn.100b45be
lea ecx, [ebp - 0xa0]
call fcn.100090b6
push str.accountType
lea ecx, [ebp - 0x2c]
call fcn.100b45be
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.100556b6
push eax
lea ecx, [ebx + 0x94]
call fcn.100b45be
lea ecx, [ebp - 0xa0]
call fcn.100090b6
test esi, esi
je 0x10009a18
push esi
lea ecx, [ebp - 0xa8]
call fcn.100b45be
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x10009a2c
inc eax
push eax
push dword [ebp - 0x44]
call fcn.100b45be
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.100b45be
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.100b45be
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 0x10041bc7
Capabilities:
Encode data using base64

Disassembly:
push 0x14
mov eax, 0x100d28a5
call fcn.100c7428
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov edi, dword [ebp + 8]
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], 0xf
mov byte [edi], bl
mov eax, dword [ebp + 0x10]
mov edi, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], 1
test eax, eax
je 0x10041d4e
push 3
pop esi
mov ecx, dword [ebp + 0xc]
dec eax
mov dword [ebp + 0x10], eax
mov al, byte [ecx]
mov byte [ebp + edi - 0x14], al
inc edi
mov dl, byte [ebp - 0x13]
inc ecx
mov dword [ebp + 0xc], ecx
mov ch, byte [ebp - 0x12]
mov cl, byte [ebp - 0x14]
mov byte [ebp - 0xf], ch
mov byte [ebp - 0xd], dl
mov byte [ebp - 0xe], cl
cmp edi, esi
jne 0x10041c97
mov esi, dword [ebp + 8]
mov al, cl
shr al, 2
and cl, 3
mov byte [ebp - 0x18], al
mov edi, ebx
shl cl, 4
mov al, dl
shr al, 4
add cl, al
mov al, ch
mov byte [ebp - 0x17], cl
mov cl, dl
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, ch
and al, 0x3f
mov byte [ebp - 0x16], cl
mov byte [ebp - 0x15], al
cmp dword [0x1016fbd0], 0x10
mov ecx, 0x1016fbbc
movzx eax, byte [ebp + edi - 0x18]
cmovae ecx, dword [0x1016fbbc]
movzx eax, byte [eax + ecx]
mov ecx, esi
push eax
call fcn.100b45be
inc edi
cmp edi, 4
jl 0x10041c5f
mov dl, byte [ebp - 0xd]
mov edi, ebx
mov cl, byte [ebp - 0xe]
mov ch, byte [ebp - 0xf]
push 3
pop esi
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x10041c01
mov dword [ebp - 0x1c], edi
test edi, edi
je 0x10041d4e
mov eax, edi
cmp edi, esi
jge 0x10041ccd
cmp eax, esi
jae 0x10041d59
mov byte [ebp + eax - 0x14], bl
inc eax
cmp eax, esi
jl 0x10041cb5
mov ch, byte [ebp - 0x12]
mov dl, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x18], al
mov al, dl
shr al, 4
and dl, 0xf
shl cl, 4
add cl, al
shl dl, 2
mov al, ch
mov byte [ebp - 0x17], cl
shr al, 6
and ch, 0x3f
add dl, al
mov byte [ebp - 0x15], ch
lea eax, [edi + 1]
mov byte [ebp - 0x16], dl
mov dword [ebp - 0x14], eax
test eax, eax
jle 0x10041d39
mov esi, dword [ebp + 8]
mov edi, eax
cmp dword [0x1016fbd0], 0x10
mov ecx, 0x1016fbbc
movzx eax, byte [ebp + ebx - 0x18]
cmovae ecx, dword [0x1016fbbc]
movzx eax, byte [eax + ecx]
mov ecx, esi
push eax
call fcn.100b45be
inc ebx
cmp ebx, edi
jl 0x10041d0a
mov edi, dword [ebp - 0x1c]
push 3
pop esi
cmp edi, esi
jge 0x10041d4e
sub esi, edi
mov ecx, dword [ebp + 8]
push 0x3d
call fcn.100b45be
sub esi, 1
jne 0x10041d3f
mov eax, dword [ebp + 8]
call fcn.100c73f1
ret 0xc
call fcn.100b45be
int3
Function at 0x10043da8
Capabilities:
Set http header

Disassembly:
push 0x4c
mov eax, 0x100d2b36
call fcn.100c745c
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov esi, dword [edi]
mov edi, dword [edi + 4]
jmp 0x10043e69
push 0x100efc48
lea eax, [ebp - 0x58]
push esi
push eax
call fcn.100439f8
and dword [ebp - 4], 0
lea ecx, [esi + 0x18]
push ecx
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.100b45be
add esp, 0x18
lea ecx, [ebp - 0x58]
call fcn.100227b7
and dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.100b45be
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
pop ecx
cmovae eax, dword [ebp - 0x28]
pop ecx
push 0x20000000
push 0xffffffffffffffff
push eax
push dword [ebx]
call dword [sym.imp.winhttp.dll_WinHttpAddRequestHeaders]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x10043e49
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x28]
call fcn.100b45be
pop ecx
pop ecx
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x40]
or dword [ebp - 4], 0xffffffff
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.100227b7
add esi, 0x30
cmp esi, edi
jne 0x10043dc4
mov al, 1
call fcn.100c7406
ret
Function at 0x10059dd2
Capabilities:
Check mutex on windows

Disassembly:
push 0
mov eax, 0x100d5cc9
call fcn.100c7428
mov esi, ecx
mov eax, dword [esi]
xor edi, edi
mov dword [ebp - 4], edi
test eax, eax
jne 0x10059e26
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push edi
push edi
call dword [sym.imp.kernel32.dll_CreateMutexW]
mov dword [esi], eax
test eax, eax
jne 0x10059e26
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 5
jne 0x10059e26
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push edi
push edi
call dword [sym.imp.kernel32.dll_OpenMutexW]
mov dword [esi], eax
cmp dword [esi], edi
lea ecx, [ebp + 8]
setne bl
call fcn.100227b7
mov al, bl
call fcn.100c73f1
ret 0x18

Function at 0x1005cf19
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
xor esi, esi
xor edx, edx
mov eax, esi
mov edi, 0x10e
div edi
mov al, byte [edx + 0x100f1f60]
xor byte [esi + ecx], al
inc esi
cmp esi, 9
jb 0x1005cf1d
pop edi
mov byte [ecx + 9], 0
mov eax, ecx
pop esi
ret

Function at 0x1005e270
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
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, 0xffff
mov esi, ecx
cmp bx, di
jne 0x1005e299
xor eax, eax
jmp 0x1005e35f
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x1005e2c1
mov edx, dword [esi + 0x30]
mov edx, dword [edx]
lea edx, [ecx + edx*2]
cmp ecx, edx
jae 0x1005e2c1
mov ecx, esi
call dword [sym.imp.MSVCP140.dll_protected:_unsigned_short_int____thiscall_std::basic_streambuf_unsigned_short_int__struct_std::char_traits_unsigned_short_int__::_Pninc_void_]
mov word [eax], di
mov ax, di
jmp 0x1005e35f
cmp dword [esi + 0x4c], 0
je 0x1005e35c
mov ecx, esi
call fcn.1005e1a5
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x1005e2ed
push dword [esi + 0x4c]
push edi
call fcn.100b45be
pop ecx
pop ecx
test al, al
je 0x1005e35c
movzx ebx, di
jmp 0x1005e35c
lea eax, [ebp - 0x2c]
mov word [ebp - 0x28], di
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x26]
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_unsigned_short_int__char__struct__Mbstatet_::out_struct__Mbstatet___unsigned_short_int_const___unsigned_short_int_const___unsigned_short_int_const____char___char___char___const]
test eax, eax
js 0x1005e35c
cmp eax, 1
jle 0x1005e329
cmp eax, 3
jne 0x1005e35c
push dword [esi + 0x4c]
push dword [ebp - 0x28]
jmp 0x1005e2dd
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x24]
sub eax, ecx
mov dword [ebp - 0x34], eax
je 0x1005e34d
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 0x1005e35c
lea eax, [ebp - 0x28]
mov byte [esi + 0x3e], 1
cmp dword [ebp - 0x30], eax
mov ax, di
jne 0x1005e35f
mov ax, bx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100c73e0
leave
ret 4
Function at 0x10067abc
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x10067c13
push ebx
mov edx, 0x10000000
cmp eax, 0x7c
je 0x10067c12
cmp eax, 0x29
jne 0x10067af4
cmp dword [esi + 0x10], 0
jne 0x10067c12
test dword [esi + 0x50], edx
je 0x10067c23
cmp eax, 0x2e
jne 0x10067b0f
push 5
lea ecx, [esi + 0x24]
call fcn.100b45be
mov ecx, esi
call fcn.1006972c
jmp 0x10067bfd
cmp eax, 0x5c
jne 0x10067b61
mov ecx, esi
call fcn.1006972c
test byte [esi + 0x50], 0x80
je 0x10067b55
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x10067b3e
push 4
lea ecx, [esi + 0x24]
call fcn.100b45be
mov ecx, esi
call fcn.1006972c
jmp 0x10067c04
cmp al, 0x42
jne 0x10067b55
push 4
lea ecx, [esi + 0x24]
call fcn.100b45be
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x10067b32
mov ecx, esi
call fcn.10067c2d
jmp 0x10067bfd
cmp eax, 0x5b
jne 0x10067b81
mov ecx, esi
call fcn.1006972c
mov ecx, esi
call fcn.100680eb
push 4
push 0x5d
mov ecx, esi
call fcn.100b45be
jmp 0x10067bfd
cmp eax, 0x28
jne 0x10067ba3
mov ecx, esi
call fcn.1006972c
mov ecx, esi
call fcn.100699f9
push 5
push 0x29
mov ecx, esi
mov bl, al
call fcn.100b45be
jmp 0x10067bf9
cmp eax, 0x5e
jne 0x10067baf
push 2
jmp 0x10067b2a
cmp eax, 0x24
jne 0x10067bbb
push 3
jmp 0x10067b2a
cmp eax, 0x2a
je 0x10067c1f
cmp eax, 0x2b
je 0x10067c1f
cmp eax, 0x3f
je 0x10067c1f
cmp eax, 0x7b
je 0x10067c1f
cmp eax, 0x7d
jne 0x10067bd9
test dword [esi + 0x50], edx
je 0x10067c17
cmp eax, 0x5d
jne 0x10067be3
test dword [esi + 0x50], edx
je 0x10067c1b
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.100b45be
mov ecx, esi
call fcn.1006972c
mov bl, 1
test bl, bl
je 0x10067c04
mov ecx, esi
call fcn.100b45be
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x10067ace
pop ebx
mov al, cl
pop esi
ret
push 6
jmp 0x10067c25
push 4
jmp 0x10067c25
push 0xa
jmp 0x10067c25
push 5
mov ecx, esi
call fcn.100b45be
int3

Function at 0x1006dc07
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
xor esi, esi
xor edx, edx
mov eax, esi
mov edi, 0x10e
div edi
mov al, byte [edx + 0x100f33a8]
xor byte [esi + ecx], al
inc esi
cmp esi, 0xb
jb 0x1006dc0b
pop edi
mov byte [ecx + 0xb], 0
mov eax, ecx
pop esi
ret

Function at 0x1006dc2e
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
xor esi, esi
xor edx, edx
mov eax, esi
mov edi, 0x10e
div edi
mov al, byte [edx + 0x100f33a8]
xor byte [esi + ecx], al
inc esi
cmp esi, 0xa
jb 0x1006dc32
pop edi
mov byte [ecx + 0xa], 0
mov eax, ecx
pop esi
ret