joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403ad0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push esi
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
xor eax, 0xffffffff
test ecx, ecx
mov esi, dword [ebp + 8]
je 0x403af9
xor al, byte [esi]
movzx edx, al
shr eax, 8
mov edx, dword [edx*4 + section..data]
inc esi
xor eax, edx
dec ecx
jne 0x403ae4
xor eax, 0xffffffff
pop esi
leave
ret 0xc

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e072
nop
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x7b836bab
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
loop 0x42e060
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
je 0x42e0d2
nop
nop
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x16ea7df4
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219

Function at 0x4019f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov dword [0x4040c0], eax
xor eax, eax
mov ebp, esp
mov ecx, 0xa
push eax
dec ecx
jne 0x4019ff
push esp
mov dword [ebp - 0x24], 0x40171b
mov eax, dword [0x4040c0]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], str.solienty
call dword [sym.imp.USER32.dll_RegisterClassA]
xor eax, eax
push eax
push dword [0x4040c0]
push eax
push eax
push 0x190
push 0x2b2
push 0x640
push 0x9c4
push 0
push str.absent
push str.solienty
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x4040c8], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x401a9e
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea eax, [ebp - 0x1c]
push eax
call esi
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x401a7f
pop ebp
ret 0x10
Function at 0x1a49a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1e8e10
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x202014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
lea eax, [ebp + 0x20]
cmp dword [ebp + 0x34], 0x10
mov ecx, 0x2030ec
push dword [ebp + 0x30]
cmovae eax, dword [ebp + 0x20]
push eax
call fcn.001b80c0
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
mov ecx, 0x202a8c
push eax
call fcn.001b80c0
mov esi, dword [0x2030fc]
xor ebx, ebx
mov edi, dword [0x203100]
nop word [eax + eax]
cmp edi, 0x10
mov byte [ebx + 0x206390], bl
mov eax, ebx
mov ecx, 0x2030ec
cmovae ecx, dword [0x2030ec]
cdq
idiv esi
mov al, byte [edx + ecx]
mov byte [ebx + 0x2064a0], al
inc ebx
cmp ebx, 0x100
jl 0x1a4a20
xor edi, edi
xor esi, esi
mov dl, byte [esi + 0x206390]
movzx eax, byte [esi + 0x2064a0]
add edi, eax
movzx ecx, dl
add edi, ecx
and edi, 0x800000ff
jns 0x1a4a74
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [edi + 0x206390]
mov byte [esi + 0x206390], al
inc esi
mov byte [edi + 0x206390], dl
cmp esi, 0x100
jl 0x1a4a50
mov esi, dword [ebp - 0x10]
mov ecx, esi
call fcn.001a4690
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x1a4ac9
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1a4abf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1a4b1f
push edx
push ecx
call fcn.001bd663
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x1a4b0b
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1a4b01
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1a4b1f
push edx
push ecx
call fcn.001bd663
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.001d6c6a
int3
Function at 0x1a70a0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x188
mov eax, dword [0x202014]
xor eax, esp
mov dword [esp + 0x184], eax
push esi
push edi
push 0x104
lea eax, [esp + 0x84]
mov esi, ecx
push eax
push 0
call 0x860924
nop
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x1a7289
mov edi, dword [esi + 0x3c]
add edi, esi
cmp dword [edi], 0x4550
jne 0x1a7289
push 0x44
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.001d40f0
add esp, 0xc
lea eax, [esp + 0x20]
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
push eax
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
push 0
lea eax, [esp + 0xa4]
push eax
call 0x8609b5
nop
test eax, eax
je 0x1a7289
push 4
push 0x1000
push 4
push 0
call 0x8601f7
nop
push eax
mov dword [esp + 0x1c], eax
mov dword [eax], 0x10007
push dword [esp + 0x28]
call 0x6000cd
nop
test eax, eax
je 0x1a7289
push 0
push 4
lea eax, [esp + 0x24]
push eax
push 0x1f8df8
push dword [esp + 0x30]
call 0x6005c7
nop
mov eax, dword [edi + 0x34]
cmp dword [esp + 0x1c], eax
jne 0x1a71ac
push 0x1f8dfc
push 0x1f8e14
call 0x850c3e
nop
push eax
call 0x6002e1
nop
push dword [esp + 0x1c]
push dword [esp + 0x24]
call eax
mov eax, dword [edi + 0x34]
push 0x40
push 0x3000
push dword [edi + 0x50]
push eax
push dword [esp + 0x30]
call 0x6003a3
nop
mov dword [esp + 0x14], eax
test eax, eax
je 0x1a7289
push 0
push dword [edi + 0x54]
push esi
push eax
push dword [esp + 0x30]
call 0x8608b1
nop
xor eax, eax
mov dword [esp + 0x10], 0
cmp ax, word [edi + 6]
jae 0x1a7243
mov dword [esp + 0xc], eax
call fcn.001a6ef0
push eax
call 0x84067a
nop
mov ecx, dword [esp + 0xc]
add ecx, esi
add ecx, dword [esi + 0x3c]
push 0
push dword [ecx + 0x108]
mov eax, dword [ecx + 0x10c]
add eax, esi
push eax
mov eax, dword [ecx + 0x104]
add eax, dword [esp + 0x20]
push eax
push dword [esp + 0x30]
call 0x8608b1
nop
mov ecx, dword [esp + 0x10]
movzx eax, word [edi + 6]
inc ecx
add dword [esp + 0xc], 0x28
mov dword [esp + 0x10], ecx
cmp ecx, eax
jl 0x1a71f2
push 0
push 4
lea eax, [edi + 0x34]
push eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0xa4]
add eax, 8
push eax
push dword [esp + 0x30]
call 0x8608b1
nop
mov ecx, dword [esp + 0x18]
mov eax, dword [edi + 0x28]
add eax, dword [esp + 0x14]
push ecx
mov dword [ecx + 0xb0], eax
push dword [esp + 0x28]
call 0x600884
nop
push dword [esp + 0x24]
call 0x850d0d
nop
push 0x8000
push 0
push esi
call 0x8607e4
nop
mov ecx, dword [esp + 0x18c]
mov al, 1
pop edi
pop esi
xor ecx, esp
call fcn.001bcff1
mov esp, ebp
pop ebp
ret
Function at 0x1aaf20
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1e9726
mov eax, dword fs:[0]
push eax
sub esp, 0x438
mov eax, dword [0x202014]
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 ebx, ecx
mov dword [ebp - 0x414], ebx
push 0
mov dword [ebp - 0x414], ebx
call fcn.001d8b63
push eax
call fcn.001d6660
add esp, 8
call fcn.001d663f
cdq
mov ecx, 0x3313
idiv ecx
mov edi, edx
call fcn.001d663f
mov ecx, eax
mov eax, 0x55555556
imul ecx
mov esi, edx
shr esi, 0x1f
add esi, edx
imul esi, edi
call fcn.001d663f
imul edx, eax, 0x4d
lea ecx, [ebp - 0x444]
add edx, 0x64
add edx, esi
call fcn.001a45b0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x444]
cmp dword [ebp - 0x430], 0x10
lea edx, [ebp - 0x410]
cmovae eax, dword [ebp - 0x444]
sub edx, eax
nop
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [edx + eax - 1], cl
test cl, cl
jne 0x1aafd0
lea esi, [ebp - 0x410]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x1aafe6
push 0x40
push 0
push 0x208560
sub esi, ecx
call fcn.001d40f0
add esp, 0xc
mov dword [0x208554], 0
mov edx, esi
mov dword [0x208550], 0
lea ecx, [ebp - 0x410]
mov dword [0x208540], 0x67452301
mov dword [0x208544], 0xefcdab89
mov dword [0x208548], 0x98badcfe
mov dword [0x20854c], 0x10325476
call fcn.001a5530
call fcn.001a55f0
mov ecx, 0x2065a0
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x418], 0xf
mov byte [ebp - 0x42c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1ab071
sub ecx, edx
push ecx
push 0x2065a0
lea ecx, [ebp - 0x42c]
call fcn.001b80c0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x430]
cmp edx, 0x10
jb 0x1ab0cc
mov ecx, dword [ebp - 0x444]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1ab0c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1ab18c
push edx
push ecx
call fcn.001bd663
add esp, 8
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 0xf
mov byte [ebp - 0x444], 0
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x41c]
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov byte [ebx], 0
cmp eax, 1
jb 0x1ab187
dec eax
mov ecx, 0xa
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x418], 0x10
lea eax, [ebp - 0x42c]
cmovae eax, dword [ebp - 0x42c]
push ecx
inc eax
mov ecx, ebx
push eax
call fcn.001b80c0
mov edx, dword [ebp - 0x418]
cmp edx, 0x10
jb 0x1ab169
mov ecx, dword [ebp - 0x42c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1ab15f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1ab18c
push edx
push ecx
call fcn.001bd663
add esp, 8
mov eax, 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.001bcff1
mov esp, ebp
pop ebp
ret
call fcn.001b8200
call fcn.001d6c6a
int3
Function at 0x1bdcc7
Capabilities:
Parse pe header

Disassembly:
push 0
call 0x9e17fa
nop
test eax, eax
je 0x1bdd07
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1bdd07
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1bdd07
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1bdd07
cmp dword [ecx + 0x74], 0xe
jbe 0x1bdd07
cmp dword [ecx + 0xe8], 0
je 0x1bdd07
mov al, 1
ret
xor al, al
ret
Function at 0x10001360
Capabilities:
Get file size
Read file on windows

Disassembly:
push ecx
push esi
push edi
mov esi, ecx
call dword [0x1001c1ec]
mov edi, dword [esp + 0x10]
test edi, edi
je 0x10001505
mov eax, dword [edi + 0x38]
test eax, eax
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CreateFileW]
je 0x1000143b
cmp word [eax], 0
je 0x1000143b
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call ebp
mov ebx, eax
cmp dword [esi + 0x10], 0xffffffff
je 0x1000143b
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
je 0x10001430
cmp edi, 0x20000
ja 0x10001430
push edi
call fcn.1000d8f9
add esp, 4
test eax, eax
mov dword [esi + 0x1bac], eax
je 0x10001430
push 0
lea ecx, [esp + 0x14]
push ecx
push edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10001413
mov eax, dword [esp + 0x10]
mov dword [esi + 0x1bb0], eax
add eax, 8
mov dword [esi + 0x420], eax
mov dword [esi + 0x424], 0
jmp 0x10001430
mov eax, dword [esi + 0x1bac]
test eax, eax
je 0x10001430
push eax
call fcn.1000d8f4
add esp, 4
mov dword [esi + 0x1bac], 0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0x18]
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x100014fb
cmp word [eax], 0
je 0x100014fb
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call ebp
mov ebx, eax
cmp dword [esi + 0x10], 0xffffffff
je 0x100014fb
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
je 0x100014f4
cmp edi, 0x20000
ja 0x100014f4
push edi
call fcn.1000d8f9
xor ebp, ebp
add esp, 4
cmp eax, ebp
mov dword [esi + 0x1bb4], eax
je 0x100014f4
push ebp
lea edx, [esp + 0x1c]
push edx
push edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100014db
mov eax, dword [esp + 0x18]
mov dword [esi + 0x1bb8], eax
add eax, 8
push ebx
mov dword [esi + 0x440], eax
mov dword [esi + 0x444], ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
pop ecx
ret 4
mov eax, dword [esi + 0x1bb4]
cmp eax, ebp
je 0x100014f4
push eax
call fcn.1000d8f4
add esp, 4
mov dword [esi + 0x1bb4], ebp
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
pop ecx
ret 4
pop edi
xor eax, eax
pop esi
pop ecx
ret 4
Function at 0x10001610
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x14]
test eax, eax
je 0x10001633
mov edx, dword [esp + 0x10]
mov ecx, dword [eax]
push edx
mov edx, dword [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
push edx
push eax
call dword [ecx + 0x18]
pop esi
ret 0xc
mov eax, dword [esi + 0x10]
cmp eax, 0xffffffff
jne 0x10001644
mov eax, 0x826a0006
pop esi
ret 0xc
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x14]
push 0
push edi
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x10001685
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x10001674
call esi
pop edi
pop esi
ret 0xc
call esi
and eax, 0xffff
pop edi
or eax, 0x80070000
pop esi
ret 0xc
mov eax, dword [edi]
test eax, eax
jne 0x10001695
pop edi
mov eax, 0x26a0001
pop esi
ret 0xc
mov ecx, dword [esi + 0x20]
add ecx, eax
pop edi
mov dword [esi + 0x20], ecx
xor eax, eax
pop esi
ret 0xc

Function at 0x100016b0
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
cmp eax, 0xffffffff
jne 0x100016c4
mov eax, 0x826a0006
pop esi
ret 0xc
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x14]
push 0
push edi
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x10001705
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x100016f4
call esi
pop edi
pop esi
ret 0xc
call esi
and eax, 0xffff
pop edi
or eax, 0x80070000
pop esi
ret 0xc
mov eax, dword [edi]
mov ecx, dword [esi + 0x20]
add ecx, eax
pop edi
mov dword [esi + 0x20], ecx
xor eax, eax
pop esi
ret 0xc
Function at 0x10002d70
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x28
mov eax, dword [0x1001c3d0]
push ebp
push esi
mov dword [esp + 0x2c], eax
push edi
mov edi, dword [esp + 0x38]
mov eax, 0x10624dd3
mul dword [edi + 0x10]
mov esi, ecx
mov eax, dword [esi + 0x3d4]
mov ebp, edx
shr ebp, 6
cmp ebp, eax
jbe 0x10002df3
push ebx
lea ebx, [eax + 1]
cmp ebx, ebp
ja 0x10002dc7
mov eax, dword [esi + 0x1bbc]
lea ecx, [eax + ebx*4]
mov eax, dword [esi + 0x14]
test eax, eax
je 0x10002dbd
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x20]
jmp 0x10002dc2
mov eax, dword [esi + 0x20]
mov dword [ecx], eax
inc ebx
cmp ebx, ebp
jbe 0x10002da4
mov ecx, dword [esi + 0x3d4]
cmp ecx, dword [esi + 0xb0]
pop ebx
jb 0x10002ded
pop edi
pop esi
mov eax, 0x80004005
pop ebp
mov ecx, dword [esp + 0x24]
call fcn.1000d8e6
add esp, 0x28
ret 4
mov dword [esi + 0x3d4], ebp
mov ax, word [edi + 4]
cmp ax, 0x1000
jne 0x10002e37
cmp word [edi + 6], 0x80
jne 0x10002e37
mov edi, dword [edi + 0x10]
cmp edi, dword [esi + 0x24]
jbe 0x10002e10
mov dword [esi + 0x24], edi
mov edx, dword [esi + 0x24]
pop edi
mov dword [esi + 0x158], edx
mov dword [esi + 0x15c], 0
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x24]
call fcn.1000d8e6
add esp, 0x28
ret 4
mov cx, word [edi + 6]
mov dx, word [edi + 8]
mov word [esp + 0x10], ax
mov eax, dword [edi + 0x10]
mov word [esp + 0xe], cx
mov ecx, dword [edi + 0x14]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x1c], ecx
push 0x14
lea ecx, [esp + 0x14]
mov word [esp + 0x1a], dx
mov edx, dword [edi + 0x18]
push ecx
mov ecx, esi
mov word [esp + 0x18], 0x269d
mov dword [esp + 0x28], edx
call fcn.100016b0
test eax, eax
jl 0x10002eca
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x1c]
lea edx, [esp + 0x38]
push edx
push eax
push ecx
mov ecx, esi
call fcn.100016b0
test eax, eax
jl 0x10002eca
mov eax, dword [edi + 0x18]
add eax, 4
neg eax
lea edx, [esp + 0x38]
and eax, 0xf
push edx
push eax
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call fcn.100016b0
test eax, eax
jl 0x10002eca
mov edi, dword [edi + 0x10]
cmp edi, dword [esi + 0x24]
jbe 0x10002ec5
mov dword [esi + 0x24], edi
mov eax, 1
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
call fcn.1000d8e6
add esp, 0x28
ret 4

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

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [eax + 0x48]
mov ecx, dword [esp + 8]
mov dword [ecx + 0x78], edx
mov edx, dword [eax + 0x40]
mov dword [ecx + 0x70], edx
mov edx, dword [eax + 0x44]
mov dword [ecx + 0x74], edx
mov edx, dword [eax + 0x4c]
mov dword [ecx + 0x7c], edx
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
jmp fcn.10004570

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

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [eax + 0x78]
mov ecx, dword [esp + 8]
mov dword [ecx + 0x48], edx
mov edx, dword [eax + 0x70]
mov dword [ecx + 0x40], edx
mov edx, dword [eax + 0x74]
mov dword [ecx + 0x44], edx
mov edx, dword [eax + 0x7c]
mov dword [ecx + 0x4c], edx
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
jmp fcn.10004750
Function at 0x100095f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10016b36
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x420
mov eax, dword [0x1001c3d0]
push ebx
push esi
push edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
call dword [0x1001c1ec]
xor ebx, ebx
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x424], esi
mov dword [ebp - 0x428], ebx
mov dword [ebp - 0x418], ebx
mov eax, dword [ebp + 8]
push 2
push ebx
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
cmp edi, ebx
mov dword [ebp - 0x420], edi
jne 0x1000966a
call fcn.10008fe0
mov esi, eax
jmp 0x1000975b
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push ecx
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
jne 0x10009689
call fcn.10008fe0
jmp 0x10009752
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x41c], ebx
jne 0x100096a7
call fcn.10008fe0
jmp 0x10009752
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + esi + 2]
cmp eax, 0x400
mov dword [ebp + 8], esi
mov byte [ebp - 4], 2
jbe 0x100096d7
push eax
lea ecx, [ebp - 0x418]
call fcn.100097a0
jmp 0x100096f4
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x100096f4
mov eax, dword [ebp - 0x418]
test eax, eax
mov dword [ebp - 4], 1
jne 0x1000970c
mov esi, 0x8007000e
jmp 0x10009754
call dword [0x1001c1ec]
mov ecx, dword [ebp - 0x418]
push esi
push ecx
push esi
push ebx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x10009730
call fcn.10008fe0
jmp 0x10009752
mov edx, dword [ebp - 0x418]
mov eax, dword [ebp + 0x14]
mov word [edx + esi*2], 0
mov ecx, dword [ebp - 0x418]
push eax
push ecx
lea ecx, [ebp - 0x428]
call fcn.100097e0
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x418]
lea edx, [ebp - 0x414]
cmp eax, edx
je 0x10009776
lea ecx, [ebp - 0x418]
call fcn.1000ace0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
mov eax, esi
call fcn.1000d8e6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1000a650
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x218
mov eax, dword [0x1001c3d0]
mov edx, dword [esp + 0x21c]
push ebp
push esi
mov ebp, ecx
lea ecx, [esp + 0x10]
push ecx
push 0x2001f
push 0
mov dword [esp + 0x228], eax
mov eax, dword [ebp]
push edx
push eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x1000a772
lea ecx, [esp + 8]
call fcn.1000a550
mov esi, eax
test esi, esi
mov eax, dword [esp + 0x10]
mov dword [esp + 8], eax
jne 0x1000a776
push edi
lea ecx, [esp + 0x18]
push ecx
push esi
push esi
push esi
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x34]
push ecx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push eax
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
jne 0x1000a720
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x10]
call fcn.1000a650
mov edi, eax
test edi, edi
jne 0x1000a79a
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x10]
push edi
push edi
push edi
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x34]
push edx
push edi
push eax
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
je 0x1000a6e2
mov eax, dword [esp + 0xc]
test eax, eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x1000a739
push eax
call edi
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0x228]
mov edx, dword [ebp]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x1000a758
push eax
call edi
pop edi
mov eax, esi
pop esi
pop ebp
mov ecx, dword [esp + 0x214]
call fcn.1000d8e6
add esp, 0x218
ret 4
mov eax, dword [esp + 8]
test eax, eax
je 0x1000a781
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ebp
mov ecx, dword [esp + 0x214]
call fcn.1000d8e6
add esp, 0x218
ret 4
mov eax, dword [esp + 0xc]
test eax, eax
je 0x1000a7a9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x220]
mov eax, edi
pop edi
pop esi
pop ebp
call fcn.1000d8e6
add esp, 0x218
ret 4
Function at 0x1000abe0
Capabilities:
Set registry value

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
mov ebp, ecx
xor edi, edi
push esi
call ebx
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x1000abf2
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp]
push edi
push eax
push 7
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x1000b070
Capabilities:
Parse url
Send data
Send http request

Disassembly:
sub esp, 0x4c0
mov eax, dword [0x1001c3d0]
push esi
mov esi, ecx
mov dword [esp + 0x4c0], eax
mov eax, dword [esi + 0x1034]
test eax, eax
je 0x1000b096
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
xor eax, eax
mov ecx, 0xf
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea ecx, [esp + 8]
push ecx
lea eax, [esp + 0xc8]
lea edi, [esi + 0x2c]
push 0x10000000
push edi
mov dword [esp + 0x14], 0x3c
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], 0x400
call fcn.1000e8de
add esp, 4
push eax
push edi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
pop edi
jne 0x1000b0fb
mov eax, 0x80004005
pop esi
mov ecx, dword [esp + 0x4bc]
call fcn.1000d8e6
add esp, 0x4c0
ret
mov eax, dword [esi + 0x1030]
push 0
push 0x400010
push 0
push 0
push str.HTTP_1.1
lea edx, [esp + 0xd4]
push edx
push 0x10017a68
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov ecx, dword [esi + 0x103c]
push ecx
lea edx, [esp + 0x44]
push str.Range:_bytes_d__r_n
push edx
mov dword [esi + 0x1034], eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [esi + 0x1034]
add esp, 0xc
push 0xa0000000
push 0xffffffffffffffff
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
test eax, eax
je 0x1000b0e2
mov edx, dword [esi + 0x1034]
push 0
push 0
push 0
push 0
push edx
call dword [sym.imp.WININET.dll_HttpSendRequestW]
mov ecx, dword [esp + 0x4c0]
neg eax
sbb eax, eax
and eax, 0x7fffbffb
add eax, 0x80004005
pop esi
call fcn.1000d8e6
add esp, 0x4c0
ret