joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5d88ef
Capabilities:
Get geographical location

Disassembly:
push 0x210
mov eax, 0x5e6be9
call fcn.005d20e6
xor eax, eax
push 0x1fe
mov word [ebp - 0x214], ax
xor ebx, ebx
lea eax, [ebp - 0x212]
push ebx
push eax
call sub.msvcrt.dll_memset
mov esi, dword [ebp + 8]
add esp, 0xc
push 0x100
lea eax, [ebp - 0x214]
push eax
push 0x1001
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea eax, [ebp - 0x214]
and esi, 0x3ff
push eax
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x218], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
add esi, 7
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005d13e0
mov edi, eax
pop ecx
cmp edi, ebx
je 0x5d8999
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 0x21c]
push 0x5d89a4
push esi
push edi
call fcn.005d1451
add esp, 0x14
mov eax, edi
call fcn.005d2126
ret 4
Function at 0x5e0d7d
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
push edi
lea eax, [ecx + eax + 0x18]
test esi, esi
jbe 0x5e0dba
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x5e0db2
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x5e0dbc
inc edx
add eax, 0x28
cmp edx, esi
jb 0x5e0da2
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x402200
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x402258
cmp byte [esi + ebx - 1], 0xa
je 0x40222c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x4040f8], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
Function at 0x4025f0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
test byte [0x404010], 2
jne 0x402610
mov dword [esp], 1
call dword [sym.imp.ucrtbase.dll_exit]
lea esi, [esi]
mov dword [esp + 0xc], str.Out_of_memory_for_list._n
mov dword [esp + 8], str.list_append
mov dword [esp + 4], 0x404010
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
jmp 0x4025ff
Function at 0x403a40
Capabilities:
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___wargv
mov edi, dword [eax]
call sym.__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
inc eax
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._wmain
mov dword [esp], eax
call sym._exit
nop
nop
nop
nop
nop
Function at 0x41cb40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x41cb50
xor eax, eax
jmp 0x41cced
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x41ccae
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x44ac08]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x44ac08]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x44ac08]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x44ac08]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x44ac08]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x44ac08]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x44ac08]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x44ac08]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x41cb59
cmp dword [ebp + 0x10], 0
je 0x41cce7
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x44ac08]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
jne 0x41ccb4
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x10001e80
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
add edx, 0xe0
push edi
mov ecx, esi
mov ebx, 4
nop word [eax + eax]
mov edi, 4
mov al, byte [edx]
inc edx
xor byte [ecx], al
inc ecx
sub edi, 1
jne 0x10001ea5
sub ebx, 1
jne 0x10001ea0
mov eax, dword [ebp + 0xc]
add eax, 0xd0
mov byte [ebp + 0xb], 0xd
mov dword [ebp - 4], eax
movzx eax, byte [esi + 9]
mov edi, esi
mov cl, byte [esi + 0xd]
mov ebx, 4
mov byte [esi + 0xd], al
movzx eax, byte [esi + 5]
mov byte [esi + 9], al
movzx eax, byte [esi + 1]
mov byte [esi + 5], al
movzx eax, byte [esi + 0xa]
mov byte [esi + 1], cl
mov cl, byte [esi + 2]
mov byte [esi + 2], al
movzx eax, byte [esi + 0xe]
mov byte [esi + 0xa], cl
mov cl, byte [esi + 6]
mov byte [esi + 6], al
movzx eax, byte [esi + 7]
mov byte [esi + 0xe], cl
mov cl, byte [esi + 3]
mov byte [esi + 3], al
movzx eax, byte [esi + 0xb]
mov byte [esi + 7], al
movzx eax, byte [esi + 0xf]
mov byte [esi + 0xb], al
mov byte [esi + 0xf], cl
nop dword [eax + eax]
mov ecx, edi
mov edx, 4
nop word [eax + eax]
movzx eax, byte [ecx]
lea ecx, [ecx + 4]
mov al, byte [eax + 0x100ba560]
mov byte [ecx - 4], al
sub edx, 1
jne 0x10001f30
inc edi
sub ebx, 1
jne 0x10001f20
mov edx, dword [ebp - 4]
mov eax, esi
mov ebx, 4
mov edi, 4
nop dword [eax]
mov cl, byte [edx]
inc edx
xor byte [eax], cl
inc eax
sub edi, 1
jne 0x10001f60
sub ebx, 1
jne 0x10001f54
push esi
call fcn.10002040
mov dl, byte [ebp + 0xb]
add esp, 4
sub dword [ebp - 4], 0x10
dec dl
mov byte [ebp + 0xb], dl
test dl, dl
jne 0x10001ec4
movzx eax, byte [esi + 9]
mov edi, esi
mov cl, byte [esi + 0xd]
mov ebx, 4
mov byte [esi + 0xd], al
movzx eax, byte [esi + 5]
mov byte [esi + 9], al
movzx eax, byte [esi + 1]
mov byte [esi + 5], al
movzx eax, byte [esi + 0xa]
mov byte [esi + 1], cl
mov cl, byte [esi + 2]
mov byte [esi + 2], al
movzx eax, byte [esi + 0xe]
mov byte [esi + 0xa], cl
mov cl, byte [esi + 6]
mov byte [esi + 6], al
movzx eax, byte [esi + 7]
mov byte [esi + 0xe], cl
mov cl, byte [esi + 3]
mov byte [esi + 3], al
movzx eax, byte [esi + 0xb]
mov byte [esi + 7], al
movzx eax, byte [esi + 0xf]
mov byte [esi + 0xb], al
mov byte [esi + 0xf], cl
mov ecx, edi
mov edx, 4
nop dword [eax + eax]
movzx eax, byte [ecx]
lea ecx, [ecx + 4]
mov al, byte [eax + 0x100ba560]
mov byte [ecx - 4], al
sub edx, 1
jne 0x10001ff0
inc edi
sub ebx, 1
jne 0x10001fe4
sub dword [ebp + 0xc], esi
mov dword [ebp + 8], 4
mov edx, dword [ebp + 0xc]
mov ecx, 4
nop dword [eax]
mov al, byte [edx + esi]
xor byte [esi], al
inc esi
sub ecx, 1
jne 0x10002020
sub dword [ebp + 8], 1
jne 0x10002014
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10002240
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
movzx eax, byte [edx]
mov esi, 8
mov byte [ecx], al
movzx eax, byte [edx + 1]
mov byte [ecx + 1], al
movzx eax, byte [edx + 2]
mov byte [ecx + 2], al
movzx eax, byte [edx + 3]
mov byte [ecx + 3], al
movzx eax, byte [edx + 4]
mov byte [ecx + 4], al
movzx eax, byte [edx + 5]
mov byte [ecx + 5], al
movzx eax, byte [edx + 6]
mov byte [ecx + 6], al
movzx eax, byte [edx + 7]
mov byte [ecx + 7], al
movzx eax, byte [edx + 8]
mov byte [ecx + 8], al
movzx eax, byte [edx + 9]
mov byte [ecx + 9], al
movzx eax, byte [edx + 0xa]
mov byte [ecx + 0xa], al
movzx eax, byte [edx + 0xb]
mov byte [ecx + 0xb], al
movzx eax, byte [edx + 0xc]
mov byte [ecx + 0xc], al
movzx eax, byte [edx + 0xd]
mov byte [ecx + 0xd], al
movzx eax, byte [edx + 0xe]
mov byte [ecx + 0xe], al
movzx eax, byte [edx + 0xf]
mov byte [ecx + 0xf], al
movzx eax, byte [edx + 0x10]
mov byte [ecx + 0x10], al
movzx eax, byte [edx + 0x11]
mov byte [ecx + 0x11], al
movzx eax, byte [edx + 0x12]
mov byte [ecx + 0x12], al
movzx eax, byte [edx + 0x13]
mov byte [ecx + 0x13], al
movzx eax, byte [edx + 0x14]
mov byte [ecx + 0x14], al
movzx eax, byte [edx + 0x15]
mov byte [ecx + 0x15], al
movzx eax, byte [edx + 0x16]
mov byte [ecx + 0x16], al
movzx eax, byte [edx + 0x17]
mov byte [ecx + 0x17], al
movzx eax, byte [edx + 0x18]
mov byte [ecx + 0x18], al
movzx eax, byte [edx + 0x19]
mov byte [ecx + 0x19], al
movzx eax, byte [edx + 0x1a]
mov byte [ecx + 0x1a], al
movzx eax, byte [edx + 0x1b]
mov byte [ecx + 0x1b], al
movzx eax, byte [edx + 0x1c]
mov byte [ecx + 0x1c], al
mov bh, byte [edx + 0x1d]
lea edi, [ecx + 0x1d]
mov byte [edi], bh
movzx eax, byte [edx + 0x1e]
mov byte [ecx + 0x1e], al
movzx eax, byte [edx + 0x1f]
mov byte [ecx + 0x1f], al
mov cl, byte [edi + 1]
lea eax, [edi]
mov dh, byte [eax + 2]
mov edi, esi
mov bl, byte [eax - 1]
mov byte [ebp - 1], cl
mov byte [ebp - 2], dh
and edi, 7
jne 0x10002384
movzx ecx, cl
movzx edx, bh
mov bh, byte [ecx + str.cw]
movzx ecx, byte [ebp - 2]
mov cl, byte [ecx + str.cw]
mov byte [ebp - 1], cl
movzx ecx, bl
mov cl, byte [ecx + str.cw]
mov byte [ebp - 2], cl
mov ecx, esi
shr ecx, 3
mov bl, byte [ecx + 0x100ba660]
xor bl, byte [edx + str.cw]
mov dh, byte [ebp - 2]
jmp 0x100023b3
cmp edi, 4
jne 0x100023b3
mov dl, byte [ebp - 1]
movzx ecx, bl
mov bl, byte [ecx + str.cw]
movzx ecx, bh
mov bh, byte [ecx + str.cw]
movzx ecx, dl
mov cl, byte [ecx + str.cw]
mov byte [ebp - 1], cl
movzx ecx, dh
mov dh, byte [ecx + str.cw]
movzx ecx, byte [eax - 0x1d]
lea edi, [eax + 4]
mov dl, byte [ebp - 1]
xor cl, bl
mov byte [eax + 3], cl
inc esi
mov cl, byte [eax - 0x1c]
xor cl, bh
mov byte [ebp - 2], cl
mov bh, byte [ebp - 2]
mov byte [edi], cl
movzx ecx, byte [eax - 0x1b]
xor cl, dl
mov byte [eax + 5], cl
movzx ecx, byte [eax - 0x1a]
xor cl, dh
mov byte [eax + 6], cl
cmp esi, 0x3c
jb 0x10002331
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100085d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b5752
mov eax, dword fs:[0]
push eax
sub esp, 0xc34
mov eax, dword [0x100dcbc0]
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, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0xc40], esi
mov dword [ebp - 0xc38], 0
mov dword [ebp - 0xc3c], esi
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
push 0x800
lea eax, [ebp - 0xc10]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0xc38], 1
call fcn.1008e1a0
lea eax, [ebp - 0xc28]
mov dword [ebp - 0xc30], 0x800
push 0x10c
push eax
call fcn.1002f210
add esp, 0x14
cmp dword [eax + 0x14], 0xf
mov dword [ebp - 4], 1
jbe 0x1000868c
mov eax, dword [eax]
lea ecx, [ebp - 0xc34]
push ecx
push 0x101
push 0
push eax
push reloc.WS2_32.dll_bind
call fcn.100090c0
mov ecx, dword [ebp - 0xc14]
add esp, 0x14
mov byte [ebp - 4], 0
mov edi, eax
cmp ecx, 0xf
jbe 0x100086e8
mov edx, dword [ebp - 0xc28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100086de
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10008835
push ecx
push edx
call fcn.1008c3c5
add esp, 8
test edi, edi
jne 0x10008818
lea eax, [ebp - 0xc28]
push 0x113
push eax
call fcn.1002f210
add esp, 8
cmp dword [eax + 0x14], 0xf
jbe 0x1000870c
mov eax, dword [eax]
lea ecx, [ebp - 0xc30]
push ecx
lea ecx, [ebp - 0xc10]
push ecx
push 0
push 0
push eax
push dword [ebp - 0xc34]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 0xc14]
mov edi, eax
cmp ecx, 0xf
jbe 0x10008767
mov edx, dword [ebp - 0xc28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000875d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000883a
push ecx
push edx
call fcn.1008c3c5
add esp, 8
test edi, edi
jne 0x1000880c
push 0x3ff
lea eax, [ebp - 0x40f]
push edi
push eax
call fcn.1008e1a0
mov edi, dword [ebp - 0xc30]
add esp, 0xc
xor esi, esi
mov byte [ebp - 0x410], 0
test edi, edi
jle 0x100087f8
nop word [eax + eax]
mov al, byte [ebp + esi - 0xc10]
mov cl, al
and al, 0xf
shr cl, 4
cmp cl, 9
ja 0x100087b8
add cl, 0x30
jmp 0x100087bb
add cl, 0x37
mov byte [ebp - 0xc2c], cl
cmp al, 9
ja 0x100087c9
add al, 0x30
jmp 0x100087cb
add al, 0x37
mov byte [ebp - 0xc2b], al
lea eax, [ebp - 0xc2c]
push eax
lea eax, [ebp - 0x410]
mov byte [ebp - 0xc2a], 0
push 0x400
push eax
call fcn.10094695
inc esi
add esp, 0xc
cmp esi, edi
jl 0x100087a0
mov esi, dword [ebp - 0xc3c]
lea eax, [ebp - 0x410]
push eax
mov ecx, esi
call fcn.10007730
push dword [ebp - 0xc34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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.1008c3d3
mov esp, ebp
pop ebp
ret
call fcn.1009189f
call fcn.1009189f
int3
Function at 0x10009c30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 0x20], 0xf
lea edx, [ebp - 4]
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
cmova eax, dword [ebp + 0xc]
push edx
push 0x20019
push 0
push eax
push ecx
mov dword [ebp - 8], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10009c8a
cmp dword [ebp + 0x38], 0xf
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 8]
mov dword [ebp - 0xc], 4
push ecx
push 0
lea eax, [ebp + 0x24]
cmova eax, dword [ebp + 0x24]
push 0
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x20]
mov esi, dword [ebp - 8]
cmp ecx, 0xf
jbe 0x10009cc7
mov edx, dword [ebp + 0xc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10009cbd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10009d10
push ecx
push edx
call fcn.1008c3c5
add esp, 8
mov ecx, dword [ebp + 0x38]
mov dword [ebp + 0x1c], 0
mov dword [ebp + 0x20], 0xf
mov byte [ebp + 0xc], 0
cmp ecx, 0xf
jbe 0x10009d09
mov edx, dword [ebp + 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10009cff
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10009d10
push ecx
push edx
call fcn.1008c3c5
add esp, 8
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.1009189f
int3
Function at 0x1000a030
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b58f5
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x100dcbc0]
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
lea eax, [ebp - 0x40]
mov byte [ebp - 0x44], 0
push 0x1b9
push eax
call fcn.1002f210
add esp, 8
cmp dword [esi + 0x14], 0xf
mov eax, esi
mov ecx, dword [esi + 0x28]
mov dword [ebp - 4], 0
jbe 0x1000a085
mov eax, dword [esi]
push 0
push 0
push 0
push 1
push eax
call ecx
cmp dword [ebp - 0x2c], 0xf
lea ecx, [ebp - 0x40]
mov edx, dword [esi + 0x2c]
cmova ecx, dword [ebp - 0x40]
push 0
push 0
push 3
push 0
push 0
push 0x1bb
push ecx
push eax
mov dword [esi + 0x1c], eax
call edx
mov edx, eax
mov dword [esi + 0x20], edx
test edx, edx
je 0x1000a0c1
mov byte [esi + 0x18], 1
cmp byte [esi + 0x18], 0
je 0x1000a1fe
mov ax, word [0x100ba6cc]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x30]
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x28], ax
mov al, byte [0x100ba6ce]
mov dword [ebp - 0x18], 3
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x26], al
mov byte [ebp - 0x25], 0
push 0
push 0x4883000
push 0
push 0
push str.HTTP_1.0
push 0x100ba6f4
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
push edx
call ecx
mov ecx, dword [ebp - 0x14]
mov edi, eax
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x1000a153
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000a149
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000a24c
push ecx
push edx
call fcn.1008c3c5
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
test edi, edi
je 0x1000a1e4
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 4
push eax
lea eax, [ebp - 0x48]
push eax
mov eax, dword [esi + 0x34]
push 0x1f
push edi
call eax
or dword [ebp - 0x48], 0x180
lea eax, [ebp - 0x48]
push 4
push eax
mov eax, dword [esi + 0x38]
push 0x1f
push edi
call eax
mov eax, dword [esi + 0x3c]
push 0
push 0
push 0
push 0
push edi
call eax
push 0
lea eax, [ebp - 0x54]
mov dword [ebp - 0x4c], 0
push eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x54], 4
push eax
mov eax, dword [esi + 0x4c]
push 0x20000013
push edi
call eax
mov eax, dword [ebp - 0x44]
mov ecx, 1
cmp dword [ebp - 0x4c], 0xc8
movzx eax, al
cmove eax, ecx
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 0x44]
push edi
call eax
cmp byte [esi + 0x18], 0
je 0x1000a1fe
push dword [esi + 0x20]
mov eax, dword [esi + 0x44]
call eax
push dword [esi + 0x1c]
mov eax, dword [esi + 0x44]
call eax
mov byte [esi + 0x18], 0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x1000a22e
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000a224
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000a251
push ecx
push edx
call fcn.1008c3c5
add esp, 8
mov al, byte [ebp - 0x44]
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.1008c3d3
mov esp, ebp
pop ebp
ret
call fcn.1009189f
call fcn.1009189f
int3
Function at 0x1000d100
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b5c4d
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x100dcbc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
call fcn.10096eb4
add esp, 4
mov dword [ebp - 0x54], eax
mov edi, eax
mov ecx, edx
lea eax, [ebp - 0x50]
mov dword [ebp - 0x58], ecx
sub edi, 0xf53700
mov ebx, ecx
push eax
push 0x20119
push 0
push 0
push reloc.WS2_32.dll_bind
sbb ebx, 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000d1fa
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x40]
push 0x10a
push eax
mov dword [ebp - 0x4c], 4
mov dword [ebp - 0x48], 4
call fcn.1002f500
add esp, 8
mov esi, eax
cmp dword [esi + 0x14], 7
mov dword [ebp - 4], 0
jbe 0x1000d19d
mov esi, dword [esi]
lea eax, [ebp - 0x28]
push 0x190
push eax
call fcn.1002f500
add esp, 8
cmp dword [eax + 0x14], 7
jbe 0x1000d1b6
mov eax, dword [eax]
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x4c]
push ecx
push esi
push eax
push dword [ebp - 0x50]
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.100076d0
lea ecx, [ebp - 0x40]
call fcn.100076d0
test esi, esi
jne 0x1000d1fa
mov ecx, dword [ebp - 0x44]
xor eax, eax
add ecx, dword [ebp - 0x54]
push esi
adc eax, dword [ebp - 0x58]
push 2
push eax
push ecx
call fcn.1008c960
jmp 0x1000d1fe
mov eax, edi
mov edx, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1008c3d3
mov esp, ebp
pop ebp
ret
Function at 0x100115e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, 0x5a4d
push ebx
push esi
push edi
mov ecx, dword [edx]
cmp word [ecx], ax
jne 0x1001163e
mov esi, dword [ecx + 0x3c]
add esi, ecx
cmp dword [esi], 0x4550
jne 0x1001163e
mov edx, dword [edx + 4]
mov edi, dword [esi + 0xa8]
sub edx, ecx
cmp edi, edx
ja 0x1001163e
mov ebx, dword [esi + 0xac]
lea eax, [ebx + edi]
cmp eax, edx
ja 0x1001163e
push ebx
lea eax, [ecx + edi]
push 0
push eax
call fcn.1008e1a0
add esp, 0xc
mov dword [esi + 0xac], 0
mov al, 1
pop edi
pop esi
pop ebx
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret

Function at 0x10011650
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b629d
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x100dcbc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jne 0x10011692
xor al, al
jmp 0x10011729
push 0x100ba764
push ecx
lea eax, [ebp - 0x40]
xor bl, bl
push eax
call fcn.1000c0d0
push edi
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
call fcn.1000e810
add esp, 0x18
lea ecx, [ebp - 0x40]
call fcn.100076d0
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
push 0
cmova eax, dword [ebp - 0x28]
push 0
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x1001171f
mov edx, dword [esi]
lea eax, [ebp - 0x44]
mov ecx, dword [esi + 4]
push 0
push eax
sub ecx, edx
mov dword [ebp - 0x44], 0
push ecx
push edx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esi + 4]
mov eax, 1
sub ecx, dword [esi]
cmp dword [ebp - 0x44], ecx
movzx ebx, bl
cmove ebx, eax
lea ecx, [ebp - 0x28]
call fcn.100076d0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1008c3d3
mov esp, ebp
pop ebp
ret