joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5fcc60
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
jmp 0x5fce1d
push edi
or ebp, 0xffffffff
jmp 0x5fcc82
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5fcc89
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5fcc78
mov eax, 1
add ebx, ebx
jne 0x5fcc9b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5fccac
jne 0x5fcccb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5fcccb
dec eax
add ebx, ebx
jne 0x5fccb8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5fcc90
add ebx, ebx
jne 0x5fccc7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5fcd1d
xor ecx, ecx
sub eax, 3
jb 0x5fcce3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5fcd52
sar eax, 1
mov ebp, eax
jmp 0x5fccee
add ebx, ebx
jne 0x5fccee
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5fccbc
inc ecx
add ebx, ebx
jne 0x5fccfc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5fccbc
add ebx, ebx
jne 0x5fcd09
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5fccfe
jne 0x5fcd1a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5fccfe
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5fcd3c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5fcd2e
jmp 0x5fcc7e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5fcd3c
add edi, ecx
jmp 0x5fcc7e
pop esi
mov edi, esi
mov ecx, 0x1090
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5fcd5a
cmp byte [edi], 0x12
jne 0x5fcd5a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x5fcd5f
lea edi, [esi + 0x1fa000]
mov eax, dword [edi]
or eax, eax
je 0x5fcdd7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1fe780]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1fe848]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5fcd8c
mov ecx, edi
jns 0x5fcdbb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1fe84c]
or eax, eax
je 0x5fcdd1
mov dword [ebx], eax
add ebx, 4
jmp 0x5fcda9
call dword [esi + 0x1fe85c]
mov ebp, dword [esi + 0x1fe850]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x5fce0b
sub esp, 0xffffff80
jmp 0x418ebe
nop
nop
nop
nop
push esi
mov ecx, 0x1b318
mov edx, 0x55c457de
mov ebx, dword [esi]
xor ebx, edx
mov dword [esi], ebx
add esi, 4
dec ecx
cmp ecx, 0
jne 0x5fce2c
pop esi
nop
nop
nop
nop
nop
nop
nop
nop
lea edi, [esi - 0x18f000]
jmp 0x5fcc6c
Function at 0x1000fe54
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
push 0
lea eax, [ebp - 1]
mov dword [ebp - 8], 0xfff9
push 0x137e
mov byte [ebp - 1], 0
mov ebx, ecx
push eax
call fcn.1001235d
mov byte [ebp - 2], 0
add esp, 0xc
cmp byte [ebp - 2], 0
je 0x1000fe99
push 1
push 0x1df2
push 0x98e
call dword [sym.imp.USER32.dll_AttachThreadInput]
lea eax, [ebp - 0x20]
push eax
call fcn.1000aa64
mov esi, eax
lea edi, [ebp - 0x14]
pop ecx
mov ecx, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1000fe47
mov ecx, eax
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov eax, dword [eax + ecx*8 + 4]
mov esp, ebp
pop ebp
ret

Function at 0x100145b0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1001461f
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
push dword [eax]
mov eax, dword [ebp - 0x1c]
push dword [eax]
lea eax, [ebp - 0x3c]
push eax
call fcn.100123af
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
call fcn.10015c56
lea ecx, [ebp - 0x3c]
call fcn.10015c7b
jmp 0x1001462e
push 0x25e2
push 0
push 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov esp, ebp
pop ebp
ret
Function at 0x10027529
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x1002755e
mov eax, dword [ebp + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1002755c
push 0x25e2
push 0
push 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
jmp 0x100275c0
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
push dword [eax]
push 0x4bbd
push dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
push dword [eax]
push 0
mov eax, dword [ebp - 0x2c]
push dword [eax]
mov eax, dword [ebp - 0x30]
push dword [eax]
call fcn.10028c6e
add esp, 0x1c
mov esp, ebp
pop ebp
ret

Function at 0x10029572
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x100295b5
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
lea eax, [eax*4 + 4]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push dword [eax + 8]
call fcn.10059ebc
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov dword [ecx + 8], eax
jmp 0x100295d8
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x100295d8
push 0
push 0xab1
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esp, ebp
pop ebp
ret

Function at 0x10029ad6
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10029b12
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
push dword [eax]
push 1
mov eax, dword [ebp - 0x10]
push dword [eax]
call fcn.10026785
add esp, 0xc
jmp 0x10029b3a
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x10029b3a
push 1
push 0x1df2
push 0x98e
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov esp, ebp
pop ebp
ret
Function at 0x10029dba
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x10029dde
xor eax, eax
jmp 0x10029f3d
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x10029dfc
xor eax, eax
jmp 0x10029f3d
push 0x785b
push 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x6207
call fcn.100299f8
add esp, 0x14
cmp dword [ebp - 0xc], 0
jne 0x10029e25
xor eax, eax
jmp 0x10029f3d
push 0
push dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x7011
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x10]
push 0x23f4
push 0x50ce
call fcn.10029f41
add esp, 0x24
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp - 4]
push eax
call fcn.10029a71
add esp, 0x10
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [eax + 0x34]
mov dword [ebp - 0x14], ecx
je 0x10029e8b
lea eax, [ebp - 4]
push eax
push 0x152c
push 1
lea eax, [ebp - 0x14]
push eax
call fcn.10029ad6
add esp, 0x10
push dword [ebp - 4]
call fcn.100296c5
pop ecx
test eax, eax
jne 0x10029e9f
xor eax, eax
jmp 0x10029f3d
lea eax, [ebp - 4]
push eax
push 1
push 0x3149
push 0x1647
call fcn.10029b3e
add esp, 0x10
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x10029f25
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x18], ecx
jne 0x10029ed6
xor eax, eax
jmp 0x10029f3d
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x10029eef
xor eax, eax
jmp 0x10029f3d
push 0x4acf
push 0x7179
push 0x68a6
push 0x61c9
lea eax, [ebp - 4]
push eax
push 0x4cde
push 0x16ad
push 1
push 0xf4e
push 0x6a7e
call fcn.10029bbd
add esp, 0x28
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x10029f36
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
jmp 0x10029f3a
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x1006e146
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10075330]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.1005e5dc
mov dword [ebp - 0x14], eax
cmp dword [0x10661df8], esi
jne 0x1006e239
push 0x800
push esi
push 0x100095f8
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x1006e1c6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1006e319
push esi
push esi
push 0x100095f8
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x1006e319
push 0x10009610
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1006e319
push eax
call ebx
push 0x1000961c
push edi
mov dword [0x10661df8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x1000962c
push edi
mov dword [0x10661dfc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10009640
push edi
mov dword [0x10661e00], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10661e08], eax
test eax, eax
je 0x1006e236
push 0x1000965c
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10661e04], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1006e25e
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1006e251
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x1006e273
push 4
pop eax
jmp 0x1006e31b
cmp dword [ebp - 0x14], esi
je 0x1006e273
push dword [0x10661df8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1006e258
mov eax, dword [0x10661e04]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x1006e2d1
cmp dword [0x10661e08], edi
je 0x1006e2d1
push eax
call ebx
push dword [0x10661e08]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1006e2d1
test eax, eax
je 0x1006e2d1
call ecx
test eax, eax
je 0x1006e2c6
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x1006e2c6
test byte [ebp - 8], 1
jne 0x1006e2d1
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x1006e301
mov eax, dword [0x10661dfc]
cmp eax, edi
je 0x1006e2fe
push eax
call ebx
test eax, eax
je 0x1006e2fe
call eax
mov esi, eax
test esi, esi
je 0x1006e2fe
mov eax, dword [0x10661e00]
cmp eax, edi
je 0x1006e2fe
push eax
call ebx
test eax, eax
je 0x1006e2fe
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x10661df8]
call ebx
test eax, eax
je 0x1006e319
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1006e31b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call main
mov esp, ebp
pop ebp
ret
Function at 0x1a3c8e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1487000]
push edi
or ebp, 0xffffffff
jmp 0x1a3c902
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1a3c909
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1a3c8f8
mov eax, 1
add ebx, ebx
jne 0x1a3c91b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1a3c92c
jne 0x1a3c94b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1a3c94b
dec eax
add ebx, ebx
jne 0x1a3c938
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1a3c910
add ebx, ebx
jne 0x1a3c947
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1a3c99d
xor ecx, ecx
sub eax, 3
jb 0x1a3c963
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1a3c9d2
sar eax, 1
mov ebp, eax
jmp 0x1a3c96e
add ebx, ebx
jne 0x1a3c96e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1a3c93c
inc ecx
add ebx, ebx
jne 0x1a3c97c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1a3c93c
add ebx, ebx
jne 0x1a3c989
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1a3c97e
jne 0x1a3c99a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1a3c97e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1a3c9bc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1a3c9ae
jmp 0x1a3c8fe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1a3c9bc
add edi, ecx
jmp 0x1a3c8fe
pop esi
mov edi, esi
mov ecx, 0x4ca7fd
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0x1a3c9f7
cmp byte [edi], 0x65
jne 0x1a3c9dc
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0x1a3c9da
lea edi, [esi + 0x1600000]
mov eax, dword [edi]
or eax, eax
je 0x1a3ca3f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x25dbc18]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x25dbd48]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1a3c9fd
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x25dbd50]
or eax, eax
je 0x1a3ca39
mov dword [ebx], eax
add ebx, 4
jmp 0x1a3ca1a
call dword [esi + 0x25dbd4c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1a3ca70
cmp al, 0xef
ja 0x1a3ca63
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1a3ca45
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1a3ca52
mov ebp, dword [esi + 0x25dbd54]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x1a3caa4
sub esp, 0xffffff80
jmp 0x92006c
Function at 0x100014a8
Capabilities:
Receive http response

Disassembly:
push esi
mov esi, eax
cmp dword [esi + 0xc], 0
jne 0x100014ba
call fcn.100025c7
test eax, eax
jne 0x100014c2
mov eax, esi
pop esi
jmp fcn.10005af7
pop esi
ret

Function at 0x10001a15
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov esi, eax
test esi, esi
jne 0x10001a50
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0xc]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp + 0x10]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x10001bcb
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [0x1000a2d0]
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov edi, dword [0x1000a2bc]
mov eax, dword [edi + 0x3c]
add eax, edi
movzx edx, word [eax + 6]
movzx esi, word [eax + 0x14]
imul edx, edx, 0x28
xor ecx, 0xd189
movzx ecx, cx
add edx, eax
mov dword [ebp - 0xc], ecx
lea esi, [esi + edx + 0x40]
jmp 0x10001c10
cmp ax, cx
je 0x10001c1a
add esi, 0x14
movzx eax, word [esi]
test ax, ax
jne 0x10001c08
jmp 0x10001c81
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10001c26
cmp dword [esi + 8], eax
jne 0x10001c79
test byte [esi + 3], 2
jne 0x10001c79
mov eax, dword [esi + 0x10]
inc eax
push eax
call fcn.10006837
mov ebx, eax
test ebx, ebx
je 0x10001c76
test byte [esi + 3], 1
je 0x10001c88
mov eax, dword [esi + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0xc]
push ebx
add eax, edi
call fcn.100018f6
cmp eax, dword [ebp - 8]
jne 0x10001c5f
mov dword [ebp - 4], 1
cmp dword [ebp - 8], 4
jb 0x10001c6a
mov eax, dword [esi + 4]
xor dword [ebx], eax
cmp dword [ebp - 4], 0
jne 0x10001cd1
push ebx
call fcn.100050ca
mov ecx, dword [ebp - 0xc]
movzx eax, byte [esi + 2]
lea esi, [esi + eax*4 + 0x14]
cmp word [esi], cx
je 0x10001c1a
jmp 0x10001ce5
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0xc]
add eax, edi
shr ecx, 2
mov dword [ebp + 0x10], ebx
je 0x10001cb5
mov edx, dword [eax]
sub edx, dword [ebp - 4]
mov edi, dword [ebp + 0x10]
add dword [ebp - 4], edx
add dword [ebp + 0x10], 4
add eax, 4
dec ecx
mov dword [edi], edx
jne 0x10001c9e
mov ecx, dword [esi + 0x10]
and ecx, 3
je 0x10001cca
push ecx
push eax
push dword [ebp + 0x10]
call sub.ntdll.dll_memcpy
add esp, 0xc
mov dword [ebp - 4], 1
mov eax, dword [esi + 0x10]
mov ecx, dword [ebp + 0xc]
mov byte [ebx + eax], 0
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov eax, dword [esi + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x100025c7
Capabilities:
Read http header
Receive http response

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [esi + 0x28]
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
lea edi, [esi + 0x2c]
mov dword [ebp - 0xc], ebx
mov dword [edi], ebx
mov dword [ebp - 8], eax
jne 0x100026c2
push ebx
push dword [esi + 0x18]
mov dword [ebp - 4], 4
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x100026b9
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push edi
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
push ebx
push 0x20000013
push dword [esi + 0x18]
call edi
test eax, eax
je 0x100026b9
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push 0x16
push dword [esi + 0x18]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ebx
call edi
mov eax, dword [ebp - 4]
add eax, 2
push eax
call fcn.10006837
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x100026b0
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 4]
push ecx
push eax
push ebx
push 0x16
push dword [esi + 0x18]
call edi
test eax, eax
je 0x1000269d
shr dword [ebp - 4], 1
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov word [eax + ecx*2], bx
mov eax, dword [ebp - 4]
inc eax
push eax
call fcn.10006837
mov edi, eax
cmp edi, ebx
je 0x10002694
mov eax, dword [ebp - 4]
inc eax
push eax
push dword [ebp - 0x10]
push edi
call sub.ntdll.dll_wcstombs
add esp, 0xc
mov dword [esi + 0xc], edi
jmp 0x100026a6
mov dword [ebp - 8], 8
jmp 0x100026a6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
push dword [ebp - 0x10]
call fcn.100050ca
jmp 0x100026c2
mov dword [ebp - 8], 8
jmp 0x100026c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
pop edi
pop ebx
leave
ret
Function at 0x10003ee2
Capabilities:
Check os version
Initialize winhttp library
Prepare http request

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
push dword [ebp + 8]
call fcn.10004aa6
mov edi, eax
xor ebx, ebx
cmp edi, ebx
je 0x1000402d
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
ja 0x10003f13
jne 0x10003f0e
cmp ah, 2
ja 0x10003f13
mov dword [ebp + 8], ebx
jmp 0x10003f1a
mov dword [ebp + 8], 4
push ebx
push ebx
push ebx
push dword [ebp + 8]
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
push edi
mov dword [esi + 0x10], eax
call fcn.100050ca
cmp dword [esi + 0x10], ebx
je 0x1000402d
push dword [esi]
call fcn.10004aa6
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x1000402d
cmp dword [ebp + 0xc], ebx
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
je 0x10003f6b
push 4
lea eax, [ebp + 0xc]
push eax
push 3
push dword [esi + 0x10]
call edi
test eax, eax
je 0x1000402d
push ebx
push 0x50
push dword [ebp - 4]
push dword [esi + 0x10]
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
push dword [ebp - 4]
mov dword [esi + 0x14], eax
call fcn.100050ca
cmp dword [esi + 0x14], ebx
je 0x1000402d
push dword [esi + 4]
mov ebx, 0x100
mov dword [ebp + 8], ebx
call fcn.10004aa6
xor ecx, ecx
cmp eax, ecx
mov dword [ebp - 4], eax
je 0x1000402d
push dword [ebp + 8]
mov eax, dword [0x1000a2d4]
push ecx
push ecx
push ecx
push dword [ebp - 4]
lea eax, [eax + 0x1000b768]
push eax
push dword [esi + 0x14]
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
push dword [ebp - 4]
mov dword [esi + 0x18], eax
call fcn.100050ca
mov eax, dword [esi + 0x18]
test eax, eax
je 0x1000402d
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp + 8]
push ecx
push 0x1f
push eax
mov dword [ebp - 8], 4
call dword [sym.imp.WINHTTP.dll_WinHttpQueryOption]
test eax, eax
je 0x10004007
or dword [ebp + 8], ebx
push 4
lea eax, [ebp + 8]
push eax
push 0x1f
push dword [esi + 0x18]
call edi
push 4
lea eax, [ebp + 0xc]
push eax
push 6
push dword [esi + 0x18]
call edi
test eax, eax
je 0x1000402d
push 4
lea eax, [ebp + 0xc]
push eax
push 5
push dword [esi + 0x18]
call edi
test eax, eax
je 0x1000402d
xor eax, eax
jmp 0x10004033
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop ebx
leave
ret 8