joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4026c0
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x18]
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov eax, dword [0x4407f0]
mov dword [ebp - 0x18], eax
mov ax, word [0x4407f4]
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x18]
push eax
call fcn.0041cf60
test eax, eax
jne 0x402720
call fcn.0041cf00
mov dword [ebp - 0xc], eax
jmp 0x402740
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x10]
push 0
call fcn.0041cfd0
test eax, eax
jne 0x402740
call fcn.0041cf00
mov dword [ebp - 0xc], eax
nop word [eax + eax]
cmp dword [ebp - 0x10], 0
je 0x402755
push dword [ebp - 0x10]
call fcn.0041cf70
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x40f190
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
push edi
mov ax, word [0x43f230]
cmp ax, 0xcb
je 0x40f28f
cmp ax, 0xcc
je 0x40f28f
mov edx, dword [0x44e680]
test edx, edx
je 0x40f1c2
mov eax, dword [0x44e530]
call edx
mov ebx, eax
jmp 0x40f1c7
mov ebx, 0x44e534
cmp word [0x44e520], 0
jle 0x40f1ea
mov eax, 0x44e500
call fcn.0040f400
mov eax, ebx
call fcn.0040ed70
mov eax, ebx
call fcn.0040edf0
mov esi, dword [ebx]
jmp 0x40f20d
mov edi, dword [esi + 4]
test byte [esi], 1
jne 0x40f208
mov edx, esi
mov eax, ebx
call fcn.0040e1f0
jmp 0x40f20b
and dword [esi], 0xfffffffe
mov esi, edi
test esi, esi
jne 0x40f1f0
mov dword [ebx], 0
mov dword [ebx + 0x88], 0
cmp word [0x44e520], 0
jle 0x40f28f
mov edx, 0x44e440
mov eax, ebx
call fcn.0040e340
mov esi, eax
test eax, eax
je 0x40f262
mov eax, dword [0x44e4d4]
mov dword [esi + 0xc], eax
cmp dword [0x44e4d4], 0
je 0x40f257
mov eax, dword [0x44e4d4]
mov dword [eax + 8], esi
mov eax, dword [ebx + 0x94]
mov dword [0x44e4d4], eax
sub word [0x44e520], 1
cmp word [0x44e520], 0
sete bl
mov eax, 0x44e500
call fcn.0040f420
test bl, bl
je 0x40f28f
mov eax, 0x44e500
call fcn.0040f3f0
pop edi
pop esi
pop ebx
ret
Function at 0x41ba10
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 8]
push ebx
push esi
push edi
mov edi, eax
mov esi, edx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
xor eax, eax
push fcn.0041ba00
push ebp
push 0x4127a0
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoW
mov ebx, eax
test eax, eax
jle 0x41ba80
lea edx, [ebx - 1]
lea eax, [ebp - 4]
call fcn.0040abf0
cmp ebx, 1
jle 0x41ba6a
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoW
mov ebx, eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 4]
xor dx, dx
call fcn.0040a640
jmp 0x41ba8b
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
call fcn.004083e0
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.0041ba00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x41bf00
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10]
push ebx
push esi
mov dword [ebp - 0x10], 0
xor eax, eax
push fcn.0041bef0
push ebp
push 0x4127a0
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 1
nop dword [eax + eax]
lea eax, [ebx*4 + 0x44edcc]
xor edx, edx
call fcn.004083e0
mov dword [ebx*4 + 0x44edec], 0xffffffff
add ebx, 1
cmp ebx, 7
jle 0x41bf30
call sub.kernel32.dll_GetThreadLocale
mov ebx, eax
push 0xb
lea eax, [ebp - 0xc]
push eax
push 0x100b
push ebx
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x41bfb8
push 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
xor cx, cx
mov edx, 0xa
call fcn.00408ee0
mov eax, dword [ebp - 0x10]
mov edx, 1
call fcn.00413630
mov esi, eax
sub eax, 3
cmp eax, 3
jae 0x41bfb8
push 4
push esi
push ebx
mov eax, 0x41bdc0
push eax
call sub.kernel32.dll_EnumCalendarInfoA
push 3
push esi
push ebx
mov eax, 0x41be60
push eax
call sub.kernel32.dll_EnumCalendarInfoA
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.0041bef0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41c6f0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x94]
mov dword [0x44ee30], 0
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call sub.kernel32.dll_GetVersionExA
mov eax, dword [ebp - 0x84]
mov dword [0x44ec90], eax
mov eax, dword [ebp - 0x90]
mov dword [0x44eca0], eax
mov eax, dword [ebp - 0x8c]
mov dword [0x44ecb0], eax
mov eax, dword [ebp - 0x88]
mov dword [0x44ecc0], eax
mov edx, 0x44ecd1
lea eax, [ebp - 0x80]
mov ecx, pe_nt_image_headers32
call fcn.004030c0
lea eax, [ebp - 0x80]
call fcn.00404430
mov byte [0x44ecd0], al
mov eax, str.kernel32
push eax
call sub.kernel32.dll_GetModuleHandleA
mov dword [0x44ee40], eax
test eax, eax
je 0x41c78f
mov eax, str.GetDiskFreeSpaceExA
push eax
push dword [0x44ee40]
call sub.kernel32.dll_GetProcAddress
mov dword [0x44ee30], eax
cmp dword [0x44eca0], 6
jae 0x41c7ab
mov dword [0x4400a0], 0
cmp dword [0x44eca0], 6
jb 0x41c7be
cmp dword [0x44ecb0], 1
jb 0x41c7be
mov dword [0x4400b0], 2
cmp dword [0x44ee40], 0
je 0x41c7e6
cmp dword [0x44eca0], 6
jb 0x41c7e6
mov eax, str.GetTimeZoneInformationForYear
push eax
push dword [0x44ee40]
call sub.kernel32.dll_GetProcAddress
mov dword [0x4407d0], eax
mov esp, ebp
pop ebp
ret
Function at 0x41deb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10c]
push ebx
push esi
push edi
mov esi, eax
mov ebx, edx
mov edi, ecx
mov dword [ebp - 0xc], 0
xor eax, eax
push fcn.0041dea0
push ebp
push 0x4127a0
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp + 0xc]
push edi
push ebx
call sub.kernel32.dll_FindResourceA
mov dword [esi + 0x14], eax
test eax, eax
jne 0x41dfa1
cmp byte [ebp + 8], 0
je 0x41df70
push 0xff
lea ecx, [ebp - 0x10c]
mov edx, 0xffffffff
mov eax, edi
call fcn.004049b0
lea ecx, [ebp - 0xc]
lea eax, [ebp - 0x10c]
xor dx, dx
call fcn.00408d60
lea eax, [ebp - 0xc]
xor cl, cl
xor dx, dx
call fcn.00409aa0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xb
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov eax, 0x4477fc
mov edx, 1
call fcn.0041a930
mov edx, 0x41defc
mov ecx, ebp
call fcn.00412660
mov dword [ebp - 4], edi
mov dword [ebp - 8], 6
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov eax, 0x4477fc
mov edx, 1
call fcn.0041a930
mov edx, 0x41df70
mov ecx, ebp
call fcn.00412660
push dword [esi + 0x14]
push ebx
call sub.kernel32.dll_LoadResource
mov dword [esi + 0x18], eax
test eax, eax
jne 0x41e061
cmp byte [ebp + 8], 0
je 0x41e030
push 0xff
lea ecx, [ebp - 0x10c]
mov edx, 0xffffffff
mov eax, edi
call fcn.004049b0
lea ecx, [ebp - 0xc]
lea eax, [ebp - 0x10c]
xor dx, dx
call fcn.00408d60
lea eax, [ebp - 0xc]
xor cl, cl
xor dx, dx
call fcn.00409aa0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xb
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov eax, 0x4477fc
mov edx, 1
call fcn.0041a930
mov edx, 0x41dfbf
mov ecx, ebp
call fcn.00412660
mov dword [ebp - 4], edi
mov dword [ebp - 8], 6
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov eax, 0x4477fc
mov edx, 1
call fcn.0041a930
mov edx, 0x41e030
mov ecx, ebp
call fcn.00412660
push dword [esi + 0x14]
push ebx
call sub.kernel32.dll_SizeofResource
mov ebx, eax
push dword [esi + 0x18]
call sub.kernel32.dll_LockResource
mov edx, eax
mov eax, esi
mov ecx, ebx
call fcn.0041dbc0
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.0041dea0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
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.100b5c25
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.100556b6
push eax
lea ecx, [ebx + 4]
call fcn.100b5c25
lea ecx, [ebp - 0xa0]
call fcn.100090b6
push str.firstName
lea ecx, [ebp - 0x2c]
call fcn.100b5c25
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.100556b6
push eax
lea ecx, [ebx + 0x1c]
call fcn.100b5c25
lea ecx, [ebp - 0xa0]
call fcn.100090b6
push str.lastName
lea ecx, [ebp - 0x2c]
call fcn.100b5c25
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.100556b6
push eax
lea ecx, [ebx + 0x34]
call fcn.100b5c25
lea ecx, [ebp - 0xa0]
call fcn.100090b6
push str.email
lea ecx, [ebp - 0x2c]
call fcn.100b5c25
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.100556b6
push eax
lea ecx, [ebx + 0x4c]
call fcn.100b5c25
lea ecx, [ebp - 0xa0]
call fcn.100090b6
push str.countryCode
lea ecx, [ebp - 0x2c]
call fcn.100b5c25
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.100556b6
push eax
lea ecx, [ebx + 0x64]
call fcn.100b5c25
lea ecx, [ebp - 0xa0]
call fcn.100090b6
push str.displayName
lea ecx, [ebp - 0x2c]
call fcn.100b5c25
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.100556b6
push eax
lea ecx, [ebx + 0x7c]
call fcn.100b5c25
lea ecx, [ebp - 0xa0]
call fcn.100090b6
push str.accountType
lea ecx, [ebp - 0x2c]
call fcn.100b5c25
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.100556b6
push eax
lea ecx, [ebx + 0x94]
call fcn.100b5c25
lea ecx, [ebp - 0xa0]
call fcn.100090b6
test esi, esi
je 0x10009a18
push esi
lea ecx, [ebp - 0xa8]
call fcn.100b5c25
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x10009a2c
inc eax
push eax
push dword [ebp - 0x44]
call fcn.100b5c25
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.100b5c25
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.100b5c25
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.100b5c25
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.100b5c25
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.100b5c25
sub esi, 1
jne 0x10041d3f
mov eax, dword [ebp + 8]
call fcn.100c73f1
ret 0xc
call fcn.100b5c25
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.100b5c25
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.100b5c25
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.100b5c25
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.100b5c25
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.100b5c25
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.100b5c25
mov ecx, esi
call fcn.1006972c
jmp 0x10067c04
cmp al, 0x42
jne 0x10067b55
push 4
lea ecx, [esi + 0x24]
call fcn.100b5c25
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.100b5c25
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.100b5c25
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.100b5c25
mov ecx, esi
call fcn.1006972c
mov bl, 1
test bl, bl
je 0x10067c04
mov ecx, esi
call fcn.100b5c25
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.100b5c25
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