joyce8/EMBER2024-capa huggingface dataset:
Function at 0x444ac0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x694], 0
je 0x444b2f
cmp dword [ebp + 8], 0x100
jne 0x444b1f
cmp word [ebp + 0xc], 0xd
jne 0x444b1f
cmp byte [esi + 0x69a], 0
je 0x444afe
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x444b1f
cmp byte [esi + 0x69b], 0
jne 0x444b1f
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x444b18
push 1
push 0
push 0
push 0
push str.return
push esi
call fcn.00432330
xor eax, eax
pop esi
pop ebp
ret 0x10
mov eax, dword [esi + 0x694]
pop esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop ebp
jmp dword [eax + 0xc]
mov eax, 1
pop esi
pop ebp
ret 0x10

Function at 0x444fc0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x569434]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
test ebx, ebx
je 0x4450ba
movzx eax, word [ebx]
test ax, ax
je 0x4450ba
push edi
mov edi, ebx
mov ecx, ebx
cmp ax, 0x2f
je 0x445000
cmp ax, 0x5c
jne 0x445002
mov edi, ecx
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x444ff4
cmp edi, ebx
je 0x44504f
sub edi, ebx
lea eax, [ebp - 0x20c]
sar edi, 1
push edi
push ebx
push eax
call fcn.00504af2
add edi, edi
add esp, 0xc
cmp edi, 0x208
jae 0x4450ca
xor eax, eax
mov word [ebp + edi - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push esi
call fcn.00444fc0
add esp, 8
lea ecx, [ebp - 0x414]
sub ecx, esi
nop word [eax + eax]
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x445060
mov esi, ebx
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x445072
lea edi, [ebp - 0x414]
sub ebx, esi
add edi, 0xfffffffe
nop dword [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x445090
mov ecx, ebx
lea eax, [ebp - 0x414]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004dbfda
mov esp, ebp
pop ebp
ret
call fcn.004dccea
int3

Function at 0x4457b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x445849
cmp dword [esi + 4], 0xffffffff
jne 0x445849
push edi
lea edi, [esi + 0x138]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add edi, 0xfffffffe
nop
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x4457e0
cmp dword [ebp + 0x10], 1
mov eax, dword [0x5541c4]
mov dword [edi], eax
mov edi, dword [ebp + 8]
jne 0x445813
push edi
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x445813
pop edi
mov eax, 0x2000000
pop esi
pop ebp
ret 0xc
lea eax, [ebp + 8]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.00448130
add esp, 0x10
test eax, eax
jne 0x445833
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebp
ret 0xc
push eax
call fcn.00448970
add esp, 4
mov dword [esi], eax
mov eax, dword [0x56dab0]
pop edi
pop esi
pop ebp
ret 0xc
mov eax, 0x1000000
pop esi
pop ebp
ret 0xc
Function at 0x4bc2d0
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov eax, dword [esi]
cmp dword [eax + 4], 2
jne 0x4bc2fb
mov ecx, dword [esi + 0xc]
test ecx, ecx
jne 0x4bc2ea
pop edi
xor eax, eax
pop esi
ret
push dword [eax + 8]
push dword [esp + 0x18]
push 1
push dword [esp + 0x1c]
call ecx
jmp 0x4bc330
cmp dword [esi + 8], 0
jne 0x4bc31e
push 0x5562bc
push dword [eax + 8]
call fcn.004f99a3
add esp, 8
mov dword [esi + 8], eax
test eax, eax
jne 0x4bc31e
pop edi
or eax, 0xffffffff
pop esi
ret
push dword [esi + 8]
push dword [esp + 0x18]
push 1
push dword [esp + 0x1c]
call fcn.004fd350
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x4bc352
mov eax, dword [esi + 8]
test eax, eax
je 0x4bc34c
push eax
call fcn.004f9a77
add esp, 4
mov dword [esi + 8], edi
mov eax, dword [esi]
mov eax, dword [eax]
mov dword [esi], eax
mov eax, edi
pop edi
pop esi
ret

Function at 0x4c0640
Capabilities:
Hash data using md4
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [esp + 0x18]
push ebp
push esi
mov esi, ebx
push edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4c0650
sub esi, ecx
lea ebp, [esi + esi]
push ebp
call dword [0x569360]
mov edi, eax
add esp, 4
test edi, edi
jne 0x4c0677
lea eax, [edi + 0x1b]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
xor ecx, ecx
test esi, esi
je 0x4c0690
nop dword [eax]
mov al, byte [ecx + ebx]
mov byte [edi + ecx*2], al
mov byte [edi + ecx*2 + 1], 0
inc ecx
cmp ecx, esi
jb 0x4c0680
push 0xf0000000
push 1
push 0
push 0
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
mov esi, dword [esp + 0x28]
test eax, eax
je 0x4c070a
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0x8002
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x4c06fe
push 0
push ebp
push edi
push dword [esp + 0x1c]
mov dword [esp + 0x28], 0x10
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
push 0
lea eax, [esp + 0x1c]
push eax
push esi
push 2
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [esi + 0x10], 0
push edi
mov byte [esi + 0x14], 0
call dword [0x569364]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x432072
nop
nop
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x7a302082
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x432060
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
je 0x4320d2
nop
nop
nop
nop
nop
mov ebx, 0x42f314
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
mov esi, 0x126423e9
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x4320c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x6d4ec229
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x6d4ec238
pop dword [ebp - 0x2c]
mov eax, 0xb0da13d7
add eax, 0xbc74ae61
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x71c01d13
sub dword [ebp - 0x3c], 0x236dd7c8
mov dword [ebp - 0x38], 0x9d578e5d
add dword [ebp - 0x38], 0x94dbbde8
mov dword [ebp - 0x34], 0xe67b952e
add dword [ebp - 0x34], 0x65d0af00
mov dword [ebp - 0x30], 0x2472dea3
add dword [ebp - 0x30], 0xdb8d215d
lea eax, [ebp - 0x3c]
push eax
mov eax, 0x512b9e26
add eax, 0x1c234222
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0x37b2396
sub dword [ebp - 0x3c], 0x8f08ba40
mov dword [ebp - 0x38], 0x99f1604f
add dword [ebp - 0x38], 0xa77b0126
mov dword [ebp - 0x34], 0x191b0365
add dword [ebp - 0x34], 0x4a546907
mov dword [ebp - 0x30], 0x484b650b
sub dword [ebp - 0x30], 0x484b650b
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0x2dca11c0
sub eax, 0xc07b316c
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x3fa86
push 0
call eax
mov ecx, 0x97607d51
add ecx, 0x689fcfa4
mov ebx, eax
mov esi, 0x6d4f9c00
add esi, dword [ebp - 0x2c]
mov edx, 0x2a6bac9c
mov edi, dword [esi]
mov dword [ebp - 8], 0xfc0659df
xor edi, edx
mov dword [ebp - 4], 0xde01eda2
mov dword [ebx], edi
add dword [ebp - 0x14], 0x481329b1
add ebx, 4
add esi, 0x125b1de6
add esi, 0xeda4e21e
loop 0x6d4ec34e
add eax, 0x126a7
mov ebx, eax
add eax, 0xbd30761f
add eax, 0x42cf89e6
mov ecx, 0x92666a95
sub ecx, 0x25196a95
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret

Function at 0x6d4ed4ec
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6d4f5200]
jne 0x6d4ed4f6
repz ret
jmp fcn.6d4ed963

Function at 0x7d8f04
Capabilities:
Encode data using xor

Disassembly:
jmp 0x7d8f0e
pushal
call 0x7d8f14
pop ebp
sub ebp, 0x10
sub ebp, 0x3d8f04
mov al, byte [esp + 0x28]
cmp al, 1
je 0x7d8f38
popal
xor eax, eax
inc eax
ret 0xc
jmp 0x7d8f41
mov eax, 0x3d8f04
add eax, ebp
add eax, 0x63
mov ecx, 0x60d
mov edx, 0x5e7a8579
xor byte [eax], dl
inc eax
dec ecx
jne 0x7d8f58
jmp 0x7d8f6b
mov ah, 0xf2
invalid
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x69144ced
test eax, eax
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x3aaa3f47
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e084
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x42e06c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x1ae4058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1ae41a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1ae407e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1ae406a
add dl, dl
jne 0x1ae4089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1ae40dc
xor eax, eax
add dl, dl
jne 0x1ae4096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1ae417d
add dl, dl
jne 0x1ae40a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1ae40b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1ae40bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1ae40c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1ae40d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1ae4075
mov eax, 1
add dl, dl
jne 0x1ae40ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1ae40f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1ae40e1
sub eax, ebx
mov ebx, 1
jne 0x1ae4128
mov ecx, 1
add dl, dl
jne 0x1ae410e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1ae4119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1ae4105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1ae4075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1ae413f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1ae414a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1ae4136
cmp eax, 0x7d00
jae 0x1ae416d
cmp eax, 0x500
jb 0x1ae4168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1ae4075
cmp eax, 0x7f
ja 0x1ae4170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1ae4075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1ae419e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1ae4075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0xa50058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xa501a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xa5007e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa5006a
add dl, dl
jne 0xa50089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa500dc
xor eax, eax
add dl, dl
jne 0xa50096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa5017d
add dl, dl
jne 0xa500a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa500b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa500bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa500c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xa500d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xa50075
mov eax, 1
add dl, dl
jne 0xa500ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa500f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa500e1
sub eax, ebx
mov ebx, 1
jne 0xa50128
mov ecx, 1
add dl, dl
jne 0xa5010e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xa50119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa50105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa50075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xa5013f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xa5014a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa50136
cmp eax, 0x7d00
jae 0xa5016d
cmp eax, 0x500
jb 0xa50168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa50075
cmp eax, 0x7f
ja 0xa50170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa50075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xa5019e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xa50075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x10017cc0
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
push ebx
test eax, eax
je 0x100181e0
test edx, edx
je 0x100181e0
call fcn.10017cd7
mov eax, 0xffffffff
pop ebx
pop ebp
ret

Function at 0x10018220
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
call fcn.10017cc0
mov edx, dword [esp + 0xc]
shl ecx, 4
test eax, eax
jne 0x10018291
lea eax, [edx + ecx + 0x10]
movups xmm0, xmmword [edx]
movups xmm1, xmmword [eax]
movups xmmword [eax], xmm0
movups xmmword [edx], xmm1
lea edx, [edx + 0x10]
lea eax, [eax - 0x10]
movups xmm0, xmmword [edx]
movups xmm1, xmmword [eax]
aesimc xmm0, xmm0
aesimc xmm1, xmm1
lea edx, [edx + 0x10]
lea eax, [eax - 0x10]
movups xmmword [eax + 0x10], xmm0
movups xmmword [edx - 0x10], xmm1
cmp eax, edx
ja 0x10018256
movups xmm0, xmmword [edx]
aesimc xmm0, xmm0
movups xmmword [edx], xmm0
pxor xmm0, xmm0
pxor xmm1, xmm1
xor eax, eax
ret

Function at 0x10018ba0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push esi
push edi
sub esp, 0x10
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
bswap eax
bswap ebx
bswap ecx
bswap edx
mov dword [edi], eax
mov dword [edi + 4], ebx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
cmp ebp, 0x80
je 0x10018c24
mov eax, dword [esi + 0x10]
mov ebx, dword [esi + 0x14]
cmp ebp, 0xc0
je 0x10018bfc
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
jmp 0x10018c04
mov ecx, eax
mov edx, ebx
not ecx
not edx
bswap eax
bswap ebx
bswap ecx
bswap edx
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ecx
mov dword [edi + 0x2c], edx
xor eax, dword [edi]
xor ebx, dword [edi + 4]
xor ecx, dword [edi + 8]
xor edx, dword [edi + 0xc]
nop
call fcn.10018c29

Function at 0x10020430
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x10020449
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10020486
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x10020482
nop word [eax + eax]
cmp esi, edx
jae 0x10020486
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x10020470
cmp esi, edx
jb 0x1002048d
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100221e0
Capabilities:
Access peb ldr_data
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10160646
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x101c3db4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi + 8], 0xa
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
lea eax, [edi + 0x18]
mov dword [ebp - 4], 0
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
lea esi, [edi + 0x30]
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10025460
push 0
push 0
push edi
push 0x10022b30
push 0
mov dword [esi], eax
push 0
mov byte [edi], 1
call fcn.10139993
mov dword [edi + 4], eax
add esp, 0x18
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10025180
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10160a76
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x101c3db4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.10115c7f
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.10033bec
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100274e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10160d6a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x101c3db4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x28], esi
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x2c], esi
call fcn.10033fb3
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x100275a0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], vtable.std::exception.0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], str.bad_locale_name
xorps xmm0, xmm0
mov byte [ebp - 0x14], 1
push eax
movq qword [ebp - 0x20], xmm0
call fcn.101358ce
add esp, 8
mov dword [ebp - 0x24], vtable.std::runtime_error.0
lea eax, [ebp - 0x24]
push 0x101be1e0
push eax
call fcn.10135a5c
push edi
push esi
call fcn.10033cef
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101156cc
mov esp, ebp
pop ebp
ret 4

Function at 0x1002a440
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push str._____Delete_HttpRequestTask_n
mov dword [esi], vtable.HttpRequestTask.0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [esi + 0xb8]
call fcn.1002a290
lea ecx, [esi + 4]
call fcn.10029f90
test byte [ebp + 8], 1
je 0x1002a47e
push 0x18c
push esi
call fcn.101156e2
add esp, 8
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x1002a520
Capabilities:
Write file on windows

Disassembly:
cmp dword [ecx + 0x14], 8
push esi
push edi
mov esi, edx
jb 0x1002a52c
mov ecx, dword [ecx]
push 0x40
push 0x101b5950
push ecx
call fcn.10139bbf
mov edi, eax
add esp, 0xc
test edi, edi
je 0x1002a578
push edi
push 1
push dword [esi + 4]
push dword [esi]
call fcn.10139e19
push edi
call fcn.10139ee7
push 0
mov dword [esi], 0
call fcn.101395b2
add esp, 0x18
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov al, 1
pop edi
pop esi
ret
pop edi
xor al, al
pop esi
ret
Function at 0x10031e50
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x101c3db4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
cmp dword [esi + 0x14], 8
jb 0x10031e6e
mov eax, dword [esi]
jmp 0x10031e70
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x10031e8e
xor al, al
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101156cc
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x14], 8
jb 0x10031e98
mov eax, dword [esi]
jmp 0x10031e9a
mov eax, esi
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call ebx
test eax, eax
jne 0x10031f20
cmp dword [esi + 0x14], 8
jb 0x10031eb1
mov eax, dword [esi]
jmp 0x10031eb3
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x10031ed5
and eax, 0xfffffffe
cmp dword [esi + 0x14], 8
jb 0x10031ecb
mov ecx, dword [esi]
jmp 0x10031ecd
mov ecx, esi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [esi + 0x14], 8
jb 0x10031edf
mov eax, dword [esi]
jmp 0x10031ee1
mov eax, esi
push eax
lea ecx, [ebp - 0x1c]
call fcn.10023770
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
call ebx
test eax, eax
lea ecx, [ebp - 0x1c]
setne bl
call fcn.10029330
test bl, bl
jne 0x10031f20
mov ecx, esi
call fcn.10031ba0
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101156cc
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop esi
xor ecx, ebp
pop ebx
call fcn.101156cc
mov esp, ebp
pop ebp
ret