joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433e23
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
push ebx
push esi
push edi
xor esi, esi
lea edx, [eax + 0x1c]
mov ecx, dword [edx]
mov edi, ecx
ror edi, 8
and edi, 0xff00ff00
rol ecx, 8
and ecx, 0xff00ff
or edi, ecx
mov dword [ebp + esi*4 - 0x150], edi
inc esi
add edx, 4
cmp esi, 0x10
jb 0x433e34
push 0x40
lea ecx, [ebp - 0x148]
pop edx
mov esi, dword [ecx + 0x2c]
xor esi, dword [ecx + 0x18]
xor esi, dword [ecx - 8]
xor esi, dword [ecx]
add ecx, 4
dec edx
rol esi, 1
mov dword [ecx + 0x34], esi
jne 0x433e65
mov edi, dword [eax + 0x14]
mov edx, dword [eax + 8]
mov esi, dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
and dword [ebp - 4], 0
mov dword [ebp - 8], edi
mov edi, dword [eax + 0x18]
mov dword [ebp - 0x10], edi
mov edi, esi
not edi
and edi, dword [ebp - 8]
mov dword [ebp - 0xc], edx
mov ebx, ecx
and ebx, esi
xor edi, ebx
rol edx, 5
add edx, edi
mov edi, dword [ebp - 4]
add edx, dword [ebp + edi*4 - 0x150]
mov edi, dword [ebp - 0x10]
inc dword [ebp - 4]
ror esi, 2
cmp dword [ebp - 4], 0x14
lea edx, [edx + edi + 0x5a827999]
mov edi, dword [ebp - 8]
mov dword [ebp - 8], ecx
mov ecx, esi
mov esi, dword [ebp - 0xc]
mov dword [ebp - 0x10], edi
jb 0x433e94
mov dword [ebp - 4], 0x14
mov ebx, dword [ebp - 8]
xor ebx, ecx
mov dword [ebp - 0xc], edx
xor ebx, esi
rol edx, 5
add edx, ebx
mov ebx, dword [ebp - 4]
add edx, dword [ebp + ebx*4 - 0x150]
inc dword [ebp - 4]
ror esi, 2
cmp dword [ebp - 4], 0x28
lea edx, [edx + edi + 0x6ed9eba1]
mov edi, dword [ebp - 8]
mov dword [ebp - 8], ecx
mov ecx, esi
mov esi, dword [ebp - 0xc]
jb 0x433ede
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0x28
mov edi, ecx
xor edi, esi
and edi, dword [ebp - 8]
mov ebx, ecx
and ebx, esi
xor edi, ebx
mov ebx, dword [ebp - 4]
add edi, dword [ebp + ebx*4 - 0x150]
mov dword [ebp - 0xc], edx
rol edx, 5
add edx, dword [ebp - 0x10]
inc dword [ebp - 4]
lea edx, [edi + edx - 0x70e44324]
mov edi, dword [ebp - 8]
ror esi, 2
push 0x3c
mov dword [ebp - 0x10], edi
pop edi
mov dword [ebp - 8], ecx
mov ecx, esi
mov esi, dword [ebp - 0xc]
cmp dword [ebp - 4], edi
jb 0x433f1f
mov dword [ebp - 4], edi
mov edi, dword [ebp - 8]
mov ebx, dword [ebp - 4]
xor edi, ecx
mov dword [ebp - 0xc], edx
xor edi, esi
add edi, dword [ebp + ebx*4 - 0x150]
mov ebx, dword [ebp - 8]
rol edx, 5
add edx, dword [ebp - 0x10]
inc dword [ebp - 4]
ror esi, 2
cmp dword [ebp - 4], 0x50
mov dword [ebp - 8], ecx
mov ecx, esi
mov esi, dword [ebp - 0xc]
lea edx, [edi + edx - 0x359d3e2a]
mov dword [ebp - 0x10], ebx
jb 0x433f65
mov edi, dword [eax + 8]
add edi, edx
mov edx, dword [eax + 0xc]
add edx, esi
mov dword [eax + 0xc], edx
mov edx, dword [eax + 0x10]
add edx, ecx
mov ecx, dword [eax + 0x14]
mov dword [eax + 0x10], edx
mov edx, dword [ebp - 8]
add ecx, edx
mov dword [eax + 0x14], ecx
mov ecx, dword [eax + 0x18]
mov dword [eax + 8], edi
pop edi
add ecx, ebx
pop esi
mov dword [eax + 0x18], ecx
pop ebx
leave
ret
Function at 0x433fd0
Capabilities:
Hash data using sha1

Disassembly:
and dword [eax + 4], 0
and dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
mov dword [eax + 0x18], 0xc3d2e1f0
ret

Function at 0x434778
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043468e

Function at 0x43893c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004386cb
Function at 0x439eb2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x46a1c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push edi
push 0x10
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0043fad0
push 0x10
lea eax, [ebp - 0x14]
push eax
lea eax, [esi + 0x800]
push eax
call fcn.0043fad0
add esp, 0x18
push 0x40
pop edi
mov al, byte [ebp - 6]
mov dl, byte [ebp - 5]
shr dl, 1
mov cl, al
shl cl, 7
or cl, dl
mov byte [ebp - 5], cl
mov cl, byte [ebp - 7]
mov dl, cl
shl dl, 7
shr al, 1
or dl, al
mov al, byte [ebp - 8]
mov byte [ebp - 6], dl
mov dl, al
shl dl, 7
shr cl, 1
or dl, cl
mov cl, byte [ebp - 9]
mov byte [ebp - 7], dl
mov dl, cl
shl dl, 7
shr al, 1
or dl, al
mov al, byte [ebp - 0xa]
mov byte [ebp - 8], dl
mov dl, al
shl dl, 7
shr cl, 1
or dl, cl
mov cl, byte [ebp - 0xb]
mov byte [ebp - 9], dl
mov dl, cl
shl dl, 7
shr al, 1
or dl, al
mov al, byte [ebp - 0xc]
mov byte [ebp - 0xa], dl
mov dl, al
shl dl, 7
shr cl, 1
or dl, cl
mov cl, byte [ebp - 0xd]
mov byte [ebp - 0xb], dl
mov dl, cl
shl dl, 7
shr al, 1
or dl, al
mov al, byte [ebp - 0xe]
mov byte [ebp - 0xc], dl
mov dl, al
shl dl, 7
shr cl, 1
or dl, cl
mov cl, byte [ebp - 0xf]
mov byte [ebp - 0xd], dl
mov dl, cl
shl dl, 7
shr al, 1
or dl, al
mov al, byte [ebp - 0x10]
mov byte [ebp - 0xe], dl
mov dl, al
shl dl, 7
shr cl, 1
or dl, cl
mov cl, byte [ebp - 0x11]
mov byte [ebp - 0xf], dl
mov dl, cl
shl dl, 7
shr al, 1
or dl, al
mov al, byte [ebp - 0x12]
mov byte [ebp - 0x10], dl
mov dl, al
shl dl, 7
shr cl, 1
or dl, cl
mov cl, byte [ebp - 0x13]
mov byte [ebp - 0x11], dl
mov dl, cl
shr al, 1
shl dl, 7
or dl, al
mov al, byte [ebp - 0x14]
shr byte [ebp - 0x14], 1
shl al, 7
shr cl, 1
or al, cl
mov byte [ebp - 0x13], al
mov eax, edi
shl eax, 5
test byte [eax + esi + 0xf], 1
mov byte [ebp - 0x12], dl
je 0x439fe0
xor byte [ebp - 0x14], 0xe1
push 0x10
lea eax, [ebp - 0x14]
push eax
mov eax, edi
shl eax, 4
add eax, esi
push eax
call fcn.0043fad0
shr edi, 1
add esp, 0xc
cmp edi, 1
jae 0x439eeb
push 2
pop edi
cmp edi, 1
jbe 0x43a048
mov eax, edi
shl eax, 4
add eax, esi
lea ebx, [edi - 1]
lea ecx, [esi + 0x18]
lea edx, [eax + 0x18]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ecx - 8]
xor ebx, dword [eax]
mov dword [edx - 8], ebx
mov ebx, dword [ecx - 4]
xor ebx, dword [eax + 4]
mov dword [edx - 4], ebx
mov ebx, dword [eax + 8]
xor ebx, dword [ecx]
add ecx, 0x10
mov dword [edx], ebx
mov ebx, dword [ecx - 0xc]
xor ebx, dword [eax + 0xc]
add edx, 0x10
dec dword [ebp - 0x18]
mov dword [edx - 0xc], ebx
jne 0x43a01c
add edi, edi
cmp edi, 0x100
jb 0x43a004
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0043de6e
leave
ret
Function at 0x43a060
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x46a1c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x10]
push 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.0043e4b0
add esp, 0xc
push 0xf
pop esi
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax + esi]
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov ebx, dword [ebp - 8]
shl eax, 4
add eax, ecx
mov ecx, dword [ebp - 0x14]
xor ecx, dword [eax]
mov dword [ebp - 0x14], ecx
xor edi, dword [eax + 4]
shr ecx, 0x18
mov dword [ebp - 0x10], edi
xor edx, dword [eax + 8]
mov dword [ebp - 0xc], edx
xor ebx, dword [eax + 0xc]
shr edx, 0x18
mov dword [ebp - 8], ebx
mov eax, ebx
mov bl, byte [ebp - 6]
mov byte [ebp - 5], bl
mov bl, byte [ebp - 7]
mov byte [ebp - 6], bl
mov bl, byte [ebp - 8]
mov byte [ebp - 8], dl
mov dl, byte [ebp - 0xa]
mov byte [ebp - 9], dl
mov dl, byte [ebp - 0xb]
mov byte [ebp - 0xa], dl
mov dl, byte [ebp - 0xc]
mov byte [ebp - 0xb], dl
mov edx, edi
shr edx, 0x18
mov byte [ebp - 0xc], dl
mov dl, byte [ebp - 0xe]
mov byte [ebp - 0xd], dl
mov dl, byte [ebp - 0xf]
mov byte [ebp - 0xe], dl
mov dl, byte [ebp - 0x10]
mov byte [ebp - 0x10], cl
mov cl, byte [ebp - 0x12]
shr eax, 0x18
mov byte [ebp - 0x11], cl
mov cl, byte [ebp - 0x13]
movzx eax, al
add eax, eax
mov byte [ebp - 0x12], cl
mov cl, byte [ebp - 0x14]
xor cl, byte [eax + 0x4574d9]
mov byte [ebp - 0xf], dl
mov dl, byte [eax + 0x4574d8]
dec esi
mov byte [ebp - 7], bl
mov byte [ebp - 0x14], dl
mov byte [ebp - 0x13], cl
test esi, esi
jg 0x43a098
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax + esi]
mov ecx, dword [ebp - 0x18]
shl eax, 4
add eax, ecx
mov ecx, dword [eax]
xor dword [ebp - 0x14], ecx
mov ecx, dword [eax + 4]
xor dword [ebp - 0x10], ecx
mov ecx, dword [eax + 8]
xor dword [ebp - 0xc], ecx
mov eax, dword [eax + 0xc]
xor dword [ebp - 8], eax
push 0x10
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x20]
call fcn.0043fad0
mov ecx, dword [ebp - 4]
add esp, 0xc
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043de6e
leave
ret
Function at 0x43a18e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x46a1c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp + 8]
xor eax, eax
mov byte [ebp - 0x14], 0
lea edi, [ebp - 0x13]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x10
stosb byte es:[edi], al
pop edi
push edi
push ecx
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x20], ecx
mov esi, edx
call fcn.0043fad0
add esp, 0xc
cmp ebx, edi
jb 0x43a20b
mov eax, ebx
shr eax, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [esi]
xor dword [ebp - 0x14], eax
mov eax, dword [esi + 4]
xor dword [ebp - 0x10], eax
mov eax, dword [esi + 8]
xor dword [ebp - 0xc], eax
mov eax, dword [esi + 0xc]
xor dword [ebp - 8], eax
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push eax
push eax
call fcn.0043a060
add esp, 0xc
sub ebx, edi
add esi, edi
dec dword [ebp - 0x1c]
jne 0x43a1db
test ebx, ebx
je 0x43a238
xor ecx, ecx
test ebx, ebx
jbe 0x43a228
lea eax, [ebp - 0x14]
sub esi, eax
lea eax, [ebp + ecx - 0x14]
mov dl, byte [esi + eax]
xor byte [eax], dl
inc ecx
cmp ecx, ebx
jb 0x43a21a
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push eax
push eax
call fcn.0043a060
add esp, 0xc
push edi
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x20]
call fcn.0043fad0
mov ecx, dword [ebp - 4]
add esp, 0xc
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043de6e
leave
ret

Function at 0x43de6e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46a1c0]
jne 0x43de78
repz ret
jmp fcn.00442805

Function at 0x43e626
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x43e657
call fcn.004402c0
mov dword [eax], esi
call fcn.004402ad
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0043e14d
add esp, 0x14
push 0x16
pop eax
jmp 0x43e6ac
test dword [ebp + 0xc], 0xfffffff9
jne 0x43e633
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x43e684
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
call fcn.004402d3
pop ecx
call fcn.004402ad
mov eax, dword [eax]
jmp 0x43e6ac
test al, 0x10
jne 0x43e6aa
test al, 1
je 0x43e6aa
test byte [ebp + 0xc], 2
je 0x43e6aa
call fcn.004402c0
mov dword [eax], 5
call fcn.004402ad
mov dword [eax], 0xd
jmp 0x43e67b
xor eax, eax
pop esi
pop ebp
ret
Function at 0x44bd8a
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.00442d57
and dword [ebp - 4], 0
cmp dword [0x46d304], 0
mov ebx, eax
jne 0x44be3b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x44beec
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x44beec
push eax
call fcn.00442ce5
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x46d304], eax
call esi
push eax
call fcn.00442ce5
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x46d308], eax
call esi
push eax
call fcn.00442ce5
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x46d30c], eax
call esi
push eax
call fcn.00442ce5
pop ecx
mov dword [0x46d314], eax
test eax, eax
je 0x44be3b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00442ce5
pop ecx
mov dword [0x46d310], eax
mov eax, dword [0x46d310]
cmp eax, ebx
je 0x44be93
cmp dword [0x46d314], ebx
je 0x44be93
push eax
call fcn.00442d60
push dword [0x46d314]
mov esi, eax
call fcn.00442d60
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x44be93
test edi, edi
je 0x44be93
call esi
test eax, eax
je 0x44be8a
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x44be8a
test byte [ebp - 0xc], 1
jne 0x44be93
or dword [ebp + 0x10], 0x200000
jmp 0x44becc
mov eax, dword [0x46d308]
cmp eax, ebx
je 0x44becc
push eax
call fcn.00442d60
pop ecx
test eax, eax
je 0x44becc
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x44becc
mov eax, dword [0x46d30c]
cmp eax, ebx
je 0x44becc
push eax
call fcn.00442d60
pop ecx
test eax, eax
je 0x44becc
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x46d304]
call fcn.00442d60
pop ecx
test eax, eax
je 0x44beec
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x44beee
xor eax, eax
pop edi
pop esi
pop 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.1008a452
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.100556b6
push eax
lea ecx, [ebx + 4]
call fcn.1008a452
lea ecx, [ebp - 0xa0]
call fcn.100090b6
push str.firstName
lea ecx, [ebp - 0x2c]
call fcn.1008a452
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.100556b6
push eax
lea ecx, [ebx + 0x1c]
call fcn.1008a452
lea ecx, [ebp - 0xa0]
call fcn.100090b6
push str.lastName
lea ecx, [ebp - 0x2c]
call fcn.1008a452
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.100556b6
push eax
lea ecx, [ebx + 0x34]
call fcn.1008a452
lea ecx, [ebp - 0xa0]
call fcn.100090b6
push str.email
lea ecx, [ebp - 0x2c]
call fcn.1008a452
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.100556b6
push eax
lea ecx, [ebx + 0x4c]
call fcn.1008a452
lea ecx, [ebp - 0xa0]
call fcn.100090b6
push str.countryCode
lea ecx, [ebp - 0x2c]
call fcn.1008a452
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.100556b6
push eax
lea ecx, [ebx + 0x64]
call fcn.1008a452
lea ecx, [ebp - 0xa0]
call fcn.100090b6
push str.displayName
lea ecx, [ebp - 0x2c]
call fcn.1008a452
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.100556b6
push eax
lea ecx, [ebx + 0x7c]
call fcn.1008a452
lea ecx, [ebp - 0xa0]
call fcn.100090b6
push str.accountType
lea ecx, [ebp - 0x2c]
call fcn.1008a452
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.100556b6
push eax
lea ecx, [ebx + 0x94]
call fcn.1008a452
lea ecx, [ebp - 0xa0]
call fcn.100090b6
test esi, esi
je 0x10009a18
push esi
lea ecx, [ebp - 0xa8]
call fcn.1008a452
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x10009a2c
inc eax
push eax
push dword [ebp - 0x44]
call fcn.1008a452
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.1008a452
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.1008a452
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.1008a452
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.1008a452
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.1008a452
sub esi, 1
jne 0x10041d3f
mov eax, dword [ebp + 8]
call fcn.100c73f1
ret 0xc
call fcn.1008a452
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.1008a452
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.1008a452
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.1008a452
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