joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ce28
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x40
mov eax, 0x48bdc4
call fcn.0045cda0
mov esi, ecx
mov ebx, dword [ebp + 0xc]
lea ecx, [ebp - 0x4c]
xor edi, edi
mov dword [ebp - 0x10], 4
push edi
push 0xffffffffffffffff
push 0x49ff48
call fcn.00417813
push dword [ebp + 8]
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], edi
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00413e39
add esp, 0xc
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.0041394e
lea ecx, [ebp - 0x44]
call fcn.0041394e
cmp dword [esi + 8], edi
je 0x41cf20
mov ecx, esi
mov dword [ebp - 0x1c], esi
call fcn.0041a7e7
xor eax, eax
inc eax
mov dword [ebp - 0x18], eax
push eax
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.0043231d
test eax, eax
je 0x41cee4
cmp dword [esi + 0xc], edi
je 0x41cf15
lea ecx, [ebp - 0x34]
call fcn.00418bd8
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [esi + 0xc]
mov edi, eax
lea eax, [ebp + 0xc]
push eax
push edi
push dword [esi + 8]
mov edx, dword [ecx]
push ecx
call dword [edx + 0x80]
push edi
test eax, eax
jne 0x41cedc
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x41cf0d
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x41cf15
lea ecx, [ebp - 0x34]
call fcn.00418bd8
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push edi
push eax
push dword [esi + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41cf15
cmp dword [ebp - 0x14], 4
jne 0x41cf15
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
setne bl
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.0041a81e
lea ecx, [ebp - 0x24]
call fcn.0041394e
lea ecx, [ebp - 0x2c]
call fcn.0041394e
mov eax, ebx
call fcn.0045cd6e
ret 8
Function at 0x41cf3a
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x40
mov eax, 0x48bdc4
call fcn.0045cda0
mov ebx, ecx
mov edi, dword [ebp + 0xc]
lea ecx, [ebp - 0x4c]
xor esi, esi
mov dword [ebp - 0x10], 4
push esi
push 0xffffffffffffffff
push 0x49ff08
call fcn.00417813
push dword [ebp + 8]
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], esi
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00413e39
add esp, 0xc
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.0041394e
lea ecx, [ebp - 0x44]
call fcn.0041394e
mov ecx, ebx
mov dword [ebp - 0x1c], ebx
call fcn.0041a7e7
xor eax, eax
inc eax
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 3
cmp dword [ebx + 8], esi
je 0x41d017
push eax
mov ecx, ebx
call fcn.0043231d
test eax, eax
je 0x41cfec
cmp dword [ebx + 0xc], esi
je 0x41d017
lea ecx, [ebp - 0x34]
call fcn.00418bd8
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [ebx + 0xc]
mov esi, eax
lea eax, [ebp + 0xc]
push eax
push esi
push dword [ebx + 8]
mov edx, dword [ecx]
push ecx
call dword [edx + 0x80]
test eax, eax
push esi
cmove edi, dword [ebp + 0xc]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x41d017
lea ecx, [ebp - 0x34]
call fcn.00418bd8
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push esi
push eax
push dword [ebx + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41d017
cmp dword [ebp - 0x14], 4
cmove edi, dword [ebp + 0xc]
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.0041a81e
lea ecx, [ebp - 0x24]
call fcn.0041394e
lea ecx, [ebp - 0x2c]
call fcn.0041394e
mov eax, edi
call fcn.0045cd6e
ret 8
Function at 0x41d253
Capabilities:
Set registry value

Disassembly:
push 0x88
mov eax, 0x48be83
call fcn.0045cda0
mov esi, ecx
xor edi, edi
lea ecx, [ebp - 0x24]
push edi
push 0xffffffffffffffff
push 0x49ff48
call fcn.00417813
push dword [ebp + 8]
lea eax, [ebp - 0x24]
mov dword [ebp - 4], edi
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00413e39
add esp, 0xc
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0041394e
lea ecx, [ebp - 0x1c]
call fcn.0041394e
mov ecx, esi
mov dword [ebp - 0x2c], esi
call fcn.0041a7e7
xor eax, eax
inc eax
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 3
cmp dword [esi + 8], edi
jne 0x41d302
push edi
push 0xffffffffffffffff
push str.error_setting_key
lea ecx, [ebp - 0x24]
call fcn.00417813
push dword [ebp + 8]
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.00413e39
add esp, 0xc
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x48], vtable.RSException.0
call fcn.00413841
push 0x4b0a7c
lea eax, [ebp - 0x48]
push eax
call sub.MSVCR120.dll__CxxThrowException
push eax
mov ecx, esi
call fcn.0043231d
test eax, eax
je 0x41d39d
cmp dword [esi + 0xc], edi
je 0x41d37a
lea ecx, [ebp - 0x60]
call fcn.00418bd8
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push dword [ebp + 0xc]
mov ecx, dword [esi + 0xc]
mov edi, eax
push edi
push dword [esi + 8]
mov edx, dword [ecx]
push ecx
call dword [edx + 0x78]
push edi
test eax, eax
je 0x41d374
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push 0
push 0xffffffffffffffff
push str.error_setting_key
lea ecx, [ebp - 0x24]
call fcn.00417813
push dword [ebp + 8]
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.00413e39
add esp, 0xc
mov byte [ebp - 4], 7
jmp 0x41d2e4
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.0041a81e
lea ecx, [ebp - 0x50]
call fcn.0041394e
lea ecx, [ebp - 0x58]
call fcn.0041394e
call fcn.0045cd6e
ret 8
lea ecx, [ebp - 0x60]
call fcn.00418bd8
push 4
lea ecx, [ebp + 0xc]
push ecx
push 4
push edi
push eax
push dword [esi + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x41d37a
push edi
push 0xffffffffffffffff
push str.error_setting_key
lea ecx, [ebp - 0x78]
call fcn.00417813
push dword [ebp + 8]
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00413e39
add esp, 0xc
push eax
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 9
mov dword [ebp - 0x94], vtable.RSException.0
call fcn.00413841
push 0x4b0a7c
lea eax, [ebp - 0x94]
jmp 0x41d2fc
Function at 0x43231d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x43232c
pop dword [ebp - 0x3c]
mov eax, 0xe51d8b10
add eax, 0x1b25981c
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0x8741469d
add dword [ebp - 0x4c], 0xc710feae
mov dword [ebp - 0x48], 0x5712c520
add dword [ebp - 0x48], 0xdb208725
mov dword [ebp - 0x44], 0x6860b3d6
sub dword [ebp - 0x44], 0x1c146fa8
mov dword [ebp - 0x40], 0xcf6cce9e
sub dword [ebp - 0x40], 0xcf6cce9e
lea eax, [ebp - 0x4c]
push eax
mov eax, 0xabc6451e
sub eax, 0xab7c74de
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0xc8d72184
add dword [ebp - 0x4c], 0xab9b47d2
mov dword [ebp - 0x48], 0xf6b52c34
sub dword [ebp - 0x48], 0xb548cabf
mov dword [ebp - 0x44], 0x4ea8319
sub dword [ebp - 0x44], 0xa17b16ad
mov dword [ebp - 0x40], 0xbc8c428d
sub dword [ebp - 0x40], 0xbc8c428d
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x4deea
push 0
call eax
mov ecx, 0x1a945258
add ecx, 0xe56bf82c
mov edx, eax
mov edi, 0x1454b14e
add edi, 0xebf8f4b2
add edi, dword [ebp - 0x3c]
mov esi, 0xcf989b8a
sub esi, 0x7671e07b
mov ebx, dword [edi]
sub ebx, esi
xor dword [ebp - 0x28], 0xc159afe9
mov dword [edx], ebx
xor dword [ebp - 4], ecx
add edx, 0x2f33f3bc
sub edx, 0x2f33f3b8
add edi, 0x41c1ba78
add edi, 0xbe3e458c
loop 0x432449
add eax, 0x3509573b
add eax, 0xcaf7c5a8
mov ebx, eax
add eax, 5
mov ecx, 0xa1d4ebb1
add ecx, 0x5e6b144f
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x449a4a
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x874
mov eax, 0x491f7c
call fcn.0045cdd3
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x838], eax
mov dword [ebp - 0x850], ebx
mov dword [ebp - 0x84c], ebx
mov dword [ebp - 0x848], ebx
mov dword [ebp - 0x844], ebx
mov dword [ebp - 0x840], ebx
mov dword [ebp - 0x83c], ebx
lea ecx, [ebp - 0x850]
mov dword [ebp - 4], ebx
push 0xffffffffffffffff
cmp dword [ebp + 0xc], ebx
je 0x449a9f
push str.SoftwareAdobeAcrobat_ReaderDCAVGeneralcRecentFilesc
jmp 0x449aa4
push str.SoftwareAdobeAdobe_AcrobatDCAVGeneralcRecentFilesc
call fcn.0043231d
mov edi, ebx
mov dword [ebp - 0x814], ebx
mov dword [ebp - 0x834], ebx
mov dword [ebp - 0x830], ebx
mov dword [ebp - 0x82c], ebx
mov dword [ebp - 0x828], ebx
mov dword [ebp - 0x824], ebx
mov dword [ebp - 0x820], ebx
inc edi
mov byte [ebp - 4], 1
push edi
sub esp, 0x18
mov ecx, esp
push ebx
push 0xffffffffffffffff
push 0x4a07f4
call fcn.00417813
lea eax, [ebp - 0x834]
push eax
call fcn.0041b5c7
lea eax, [ebp - 0x834]
push eax
lea eax, [ebp - 0x850]
push eax
lea eax, [ebp - 0x880]
push eax
call fcn.00413e39
add esp, 0x2c
lea ecx, [ebp - 0x880]
mov byte [ebp - 4], 2
call fcn.00418bd8
lea ecx, [ebp - 0x814]
push ecx
push 0x20019
push ebx
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x449bf9
cmp dword [ebp - 0x814], eax
je 0x449c0e
push 0x800
lea eax, [ebp - 0x810]
push ebx
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x818], 1
lea eax, [ebp - 0x81c]
mov dword [ebp - 0x81c], 0x800
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x818]
push eax
push ebx
push 0x4a659c
push dword [ebp - 0x814]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x449bf9
cmp dword [ebp - 0x818], 1
jne 0x449bf9
push 0xffffffffffffffff
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x868]
call fcn.00417865
push ebx
push ebx
push dword [ebp - 0x838]
lea ecx, [ebp - 0x868]
mov byte [ebp - 4], 3
call fcn.00418318
test ax, ax
je 0x449c48
lea ecx, [ebp - 0x858]
mov byte [ebp - 4], 2
call fcn.0041394e
lea ecx, [ebp - 0x860]
call fcn.0041394e
cmp dword [ebp - 0x814], 0
je 0x449c0e
push dword [ebp - 0x814]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x870]
call fcn.0041394e
lea ecx, [ebp - 0x878]
call fcn.0041394e
lea ecx, [ebp - 0x824]
mov byte [ebp - 4], bl
call fcn.0041394e
lea ecx, [ebp - 0x82c]
call fcn.0041394e
cmp edi, 0x64
jl 0x449aab
jmp 0x449c99
push dword [ebp - 0x814]
xor ebx, ebx
inc ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x858]
call fcn.0041394e
lea ecx, [ebp - 0x860]
call fcn.0041394e
lea ecx, [ebp - 0x870]
call fcn.0041394e
lea ecx, [ebp - 0x878]
call fcn.0041394e
lea ecx, [ebp - 0x824]
call fcn.0041394e
lea ecx, [ebp - 0x82c]
call fcn.0041394e
lea ecx, [ebp - 0x840]
call fcn.0041394e
lea ecx, [ebp - 0x848]
call fcn.0041394e
mov eax, ebx
call fcn.0045cd82
ret
Function at 0x449fa8
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x848
mov eax, 0x49201a
call fcn.0045cdd3
mov esi, dword [ebp + 8]
xor ebx, ebx
push ebx
push 0xffffffffffffffff
push str.https:__files.acrobat.com_api
mov ecx, esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x854], esi
mov dword [ebp - 0x820], ebx
call fcn.00417813
xor eax, eax
mov dword [ebp - 0x838], ebx
inc eax
mov dword [ebp - 0x834], ebx
mov dword [ebp - 0x820], eax
mov dword [ebp - 0x830], ebx
mov dword [ebp - 0x82c], ebx
mov dword [ebp - 0x828], ebx
mov dword [ebp - 0x824], ebx
lea ecx, [ebp - 0x838]
mov dword [ebp - 4], eax
push 0xffffffffffffffff
cmp dword [ebp + 0xc], ebx
je 0x44a01e
push str.SoftwareAdobeAcrobat_ReaderDCBlueHeron
jmp 0x44a023
push str.SoftwareAdobeAdobe_AcrobatDCBlueHeron
call fcn.0043231d
lea ecx, [ebp - 0x838]
mov dword [ebp - 0x814], ebx
call fcn.00418bd8
lea ecx, [ebp - 0x814]
push ecx
push 0x20019
push ebx
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44a116
cmp dword [ebp - 0x814], eax
je 0x44a12b
mov edi, 0x800
lea eax, [ebp - 0x810]
push edi
push ebx
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x818], 1
lea eax, [ebp - 0x81c]
mov dword [ebp - 0x81c], edi
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x818]
push eax
push ebx
push str.tMasterURL
push dword [ebp - 0x814]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44a116
cmp dword [ebp - 0x818], 1
jne 0x44a116
push 0xffffffffffffffff
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x850]
call fcn.00417865
lea ecx, [ebp - 0x850]
mov byte [ebp - 4], 2
call fcn.00418bd8
cmp dword [ebp - 0x84c], 0
jbe 0x44a0fc
push 0xffffffffffffffff
lea eax, [ebp - 0x850]
mov ecx, esi
push eax
call fcn.0043231d
lea ecx, [ebp - 0x840]
mov byte [ebp - 4], 1
call fcn.0041394e
lea ecx, [ebp - 0x848]
call fcn.0041394e
cmp dword [ebp - 0x814], 0
je 0x44a12b
push dword [ebp - 0x814]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x828]
call fcn.0041394e
lea ecx, [ebp - 0x830]
call fcn.0041394e
mov eax, esi
call fcn.0045cd82
ret
Function at 0x45d0ce
Capabilities:
Terminate process

Disassembly:
call fcn.0043231d
jmp 0x45d0d8
push 0x14
push 0x4bbba0
call fcn.0045cef0
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
call dword [sym.imp.MSVCR120.dll___crtGetShowWindowMode]
movzx ebx, ax
mov dword [ebp - 4], esi
mov eax, dword fs:[0x18]
mov edx, dword [eax + 4]
mov edi, esi
mov esi, 0x4cde1c
mov ecx, edx
xor eax, eax
lock cmpxchg dword [esi], ecx
test eax, eax
je 0x45d11f
cmp eax, edx
jne 0x45d108
xor esi, esi
inc esi
mov edi, esi
jmp 0x45d122
xor esi, esi
inc esi
cmp dword [0x4cde20], esi
jne 0x45d134
push 0x1f
call sub.MSVCR120.dll__amsg_exit
pop ecx
jmp 0x45d16f
cmp dword [0x4cde20], 0
jne 0x45d169
mov dword [0x4cde20], esi
push 0x49d838
push 0x49d828
call sub.MSVCR120.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x45d16f
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x45d286
mov dword [0x4cd024], esi
cmp dword [0x4cde20], esi
jne 0x45d192
push 0x49d824
push 0x49d4a4
call sub.MSVCR120.dll__initterm
pop ecx
pop ecx
mov dword [0x4cde20], 2
test edi, edi
jne 0x45d19f
xor eax, eax
mov ecx, 0x4cde1c
xchg dword [ecx], eax
cmp dword [0x4cde24], 0
je 0x45d1c3
push 0x4cde24
call fcn.0043231d
pop ecx
test eax, eax
je 0x45d1c3
push 0
push 2
push 0
call dword [0x4cde24]
mov eax, dword [sym.imp.MSVCR120.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x1c], esi
mov edi, dword [ebp - 0x20]
mov cl, byte [esi]
cmp cl, 0x20
ja 0x45d212
test cl, cl
je 0x45d1df
test edi, edi
jne 0x45d212
mov al, byte [esi]
test al, al
je 0x45d1ef
cmp al, 0x20
ja 0x45d1ef
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x45d1df
push ebx
push esi
push 0
push 0x400000
call main
mov dword [0x4cd028], eax
cmp dword [0x4cd02c], 0
jne 0x45d26b
push eax
call dword [sym.imp.MSVCR120.dll_exit]
cmp cl, 0x22
jne 0x45d223
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov dword [ebp - 0x20], edi
movzx eax, cl
push eax
call dword [sym.imp.MSVCR120.dll__ismbblead]
pop ecx
test eax, eax
je 0x45d236
inc esi
mov dword [ebp - 0x1c], esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x45d1d0
cmp dword [0x4cd024], 0
jne 0x45d27f
call dword [sym.imp.MSVCR120.dll__cexit]
mov eax, dword [0x4cd028]
mov dword [ebp - 4], 0xfffffffe
call fcn.0045cf35
ret
Function at 0x45e666
Capabilities:
Encode data using base64

Disassembly:
push 0x34
mov eax, 0x494e5a
call fcn.0045cdd3
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], ecx
mov byte [ebp - 0x28], cl
xor eax, eax
mov dword [ebp - 4], ecx
mov word [ebp - 0x2b], ax
mov esi, ecx
mov eax, dword [ebp + 0x10]
mov byte [ebp - 0x2c], cl
mov byte [ebp - 0x30], cl
mov word [ebp - 0x2f], cx
mov byte [ebp - 0x2d], cl
test eax, eax
je 0x45e7df
mov ecx, dword [ebp + 0xc]
push 3
pop edi
dec eax
mov dword [ebp + 0x10], eax
mov al, byte [ecx]
mov byte [ebp + esi - 0x2c], al
inc esi
mov dl, byte [ebp - 0x2a]
inc ecx
mov bl, byte [ebp - 0x2b]
mov bh, byte [ebp - 0x2c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x31], dl
cmp esi, edi
jne 0x45e730
mov al, bh
mov cl, bh
shr al, 2
and cl, 3
mov byte [ebp - 0x30], al
mov al, bl
shl cl, 4
shr al, 4
add cl, al
mov al, dl
mov byte [ebp - 0x2f], cl
mov cl, bl
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, dl
and al, 0x3f
mov byte [ebp - 0x2e], cl
mov byte [ebp - 0x2d], al
xor esi, esi
movzx eax, byte [ebp + esi - 0x30]
lea ecx, [ebp - 0x28]
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 0x38], al
push dword [ebp - 0x38]
push 1
call fcn.0043231d
inc esi
cmp esi, 4
jb 0x45e707
mov dl, byte [ebp - 0x31]
xor esi, esi
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x45e6b3
test esi, esi
je 0x45e7d6
mov eax, esi
cmp esi, edi
jae 0x45e764
cmp eax, edi
jae 0x45e806
mov byte [ebp + eax - 0x2c], 0
inc eax
cmp eax, edi
jb 0x45e751
mov dl, byte [ebp - 0x2a]
mov bl, byte [ebp - 0x2b]
mov bh, byte [ebp - 0x2c]
mov al, bh
and bh, 3
shr al, 2
mov byte [ebp - 0x30], al
mov al, bl
shr al, 4
and bl, 0xf
shl bh, 4
add bh, al
shl bl, 2
mov al, dl
mov byte [ebp - 0x2f], bh
shr al, 6
and dl, 0x3f
add bl, al
mov byte [ebp - 0x2d], dl
mov byte [ebp - 0x2e], bl
lea eax, [esi + 1]
xor ebx, ebx
test eax, eax
je 0x45e7c1
lea edi, [esi + 1]
movzx eax, byte [ebp + ebx - 0x30]
lea ecx, [ebp - 0x28]
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 0x38], al
push dword [ebp - 0x38]
push 1
call fcn.0043231d
inc ebx
cmp ebx, edi
jb 0x45e79e
push 3
pop edi
cmp esi, edi
jae 0x45e7d6
sub edi, esi
push 0x3d
push 1
lea ecx, [ebp - 0x28]
call fcn.0043231d
dec edi
jne 0x45e7c7
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x45e7e2
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x3c]
push 0xffffffffffffffff
push eax
call fcn.004138ae
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
push 0
push 1
call fcn.0043231d
mov eax, dword [ebp - 0x3c]
call fcn.0045cd82
ret
call fcn.0043231d
int3
Function at 0x46cf57
Capabilities:
Read data from internet
Receive data

Disassembly:
push 4
mov eax, 0x49729e
call fcn.0045cda0
xor ebx, ebx
inc ebx
cmp dword [ebp + 0x10], 0
je 0x46d00b
push dword [ebp + 0x14]
call fcn.0043231d
mov esi, eax
pop ecx
mov dword [ebp - 0x10], esi
and dword [ebp - 4], 0
mov edi, dword [ebp + 0xc]
test esi, esi
je 0x46cff3
lea eax, [edi - 0xc8]
cmp eax, 0x63
jbe 0x46cf9a
cmp dword [ebp + 0x18], 0
je 0x46cff5
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0x14]
mov eax, dword [ebp + 8]
push esi
push dword [eax]
call dword [sym.imp.WININET.dll_InternetReadFile]
mov ebx, eax
test ebx, ebx
je 0x46cff5
cmp dword [ebp + 0xc], 0
jbe 0x46cff5
mov eax, dword [ebp + 8]
push dword [eax]
push 0x13
call fcn.0043231d
mov edi, eax
pop ecx
pop ecx
lea eax, [edi - 0xc8]
cmp eax, 0x63
jbe 0x46cfda
cmp dword [ebp + 0x18], 0
je 0x46cf89
mov ecx, dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
mov eax, dword [ecx]
call dword [eax + 0xc]
cmp eax, dword [ebp + 0xc]
je 0x46cf89
mov edi, dword [0x4a8960]
jmp 0x46cf89
xor ebx, ebx
test esi, esi
je 0x46d000
push esi
call sub.MSVCR120.dll_void___cdecl_operator_delete___void__
pop ecx
test ebx, ebx
cmove edi, dword [0x4a8960]
jmp 0x46d00e
mov edi, dword [ebp + 0xc]
mov eax, edi
call fcn.0045cd6e
ret 0x14
Function at 0x1021e10
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x1082334]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.MSVCR100.dll_printf]
test eax, eax
jne 0x1021e45
push 0x10023b0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x10023a4
jmp 0x1021e5a
cmp eax, 1
jne 0x1021e5f
push 0x1002394
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x100238c
call esi
add esp, 4
mov ecx, dword [ebp + 0x14]
lea eax, [ebp + 0x18]
push eax
push ecx
lea edx, [ebp - 0x104]
push 0xff
push edx
call dword [sym.imp.MSVCR100.dll__vsnprintf]
add esp, 0x10
test eax, eax
js 0x1021e89
cmp eax, 0xff
ja 0x1021e89
jne 0x1021e8d
mov byte [ebp - 5], 0
lea eax, [ebp - 0x104]
push eax
push 0x1002388
call esi
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
pop esi
call fcn.010225fd
mov esp, ebp
pop ebp
ret

Function at 0x10225fd
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1082334]
jne 0x1022607
repz ret
jmp fcn.01022a6d

Function at 0x1029000
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x1082334]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x58]
push eax
push 0x20019
xor ebx, ebx
push ebx
push 0x10070d8
push 0x80000001
mov dword [ebp - 0x68], 0x50
call esi
test eax, eax
jne 0x10290e8
mov edx, dword [ebp - 0x58]
push edi
lea ecx, [ebp - 0x64]
push ecx
push 0x20019
push eax
push 0x10070cc
push edx
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x10290c7
mov ecx, dword [ebp - 0x64]
lea eax, [ebp - 0x60]
push eax
push 0x20019
push ebx
push 0x10070c4
push ecx
call esi
test eax, eax
jne 0x10290c1
lea edx, [ebp - 0x5c]
push edx
push 0x20019
push eax
mov eax, dword [ebp - 0x60]
push 0x10070bc
push eax
call esi
test eax, eax
jne 0x10290bb
lea ecx, [ebp - 0x68]
push ecx
mov ecx, dword [ebp - 0x5c]
lea edx, [ebp - 0x54]
push edx
lea eax, [ebp - 0x6c]
push eax
push ebx
push 0x10070a8
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [ebp - 0x5c]
test eax, eax
cmove ebx, dword [ebp - 0x54]
push edx
call edi
mov eax, dword [ebp - 0x60]
push eax
call edi
mov ecx, dword [ebp - 0x64]
push ecx
call edi
mov edx, dword [ebp - 0x58]
push edx
call edi
pop edi
cmp ebx, 1
jne 0x10290e8
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.010225fd
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.010225fd
mov esp, ebp
pop ebp
ret
Function at 0x102f590
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x10]
xor eax, eax
mov byte [ecx], 0
test esi, esi
jle 0x102f5bd
push edi
mov edi, dword [ebp + 0xc]
lea esp, [esp]
mov dl, byte [eax + edi]
and dl, al
xor byte [ecx], dl
inc eax
cmp eax, esi
jl 0x102f5b0
pop edi
pop esi
pop ebp
ret 0x10

Function at 0x103e010
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi + 0x38]
mov dword [ebp - 4], eax
movzx eax, word [edi + 0x76]
xor ebx, ebx
test ax, ax
jg 0x103e03a
mov eax, 0x80040002
jmp 0x103e138
mov cl, byte [esi + 0x1c8]
mov ebx, dword [esi + 0x10c]
cwde
sar eax, cl
dec ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0x10], eax
cmp eax, ebx
jl 0x103e057
mov dword [ebp + 0x10], ebx
mov ecx, dword [ebp + 0xc]
mov edx, dword [esi + 0x1e4]
push edi
push ecx
call edx
test eax, eax
js 0x103e138
movzx ecx, word [esi + 0x10]
mov ebx, dword [ebp + 0x10]
inc cx
add word [esi + 0xca], cx
mov cx, word [esi + 0xca]
movsx edx, cx
cmp edx, ebx
jge 0x103e0e4
jmp 0x103e093
mov ebx, dword [ebp + 0x10]
cmp dword [esi + 0x18], 0
movd xmm0, dword [esi + 0x14]
cvtdq2ps xmm0, xmm0
je 0x103e0a8
xorps xmm0, xmmword [0x10072c0]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
push edi
movss dword [eax + edx*4], xmm0
mov edx, dword [esi + 0x1e4]
push ecx
call edx
test eax, eax
js 0x103e135
movzx ecx, word [esi + 0x10]
inc cx
add word [esi + 0xca], cx
mov cx, word [esi + 0xca]
movsx edx, cx
cmp edx, ebx
jl 0x103e093
movsx ebx, cx
cmp ebx, dword [ebp + 0x10]
jl 0x103e090
mov ebx, dword [ebp + 8]
movsx edx, cx
cmp edx, ebx
jge 0x103e123
mov edi, edi
mov eax, dword [ebp + 0xc]
mov ecx, dword [esi + 0x1e4]
push edi
push eax
call ecx
test eax, eax
js 0x103e138
mov dx, word [esi + 0x10]
inc dx
add word [esi + 0xca], dx
mov cx, word [esi + 0xca]
movsx edx, cx
cmp edx, ebx
jl 0x103e0f0
movsx edx, cx
cmp edx, ebx
jl 0x103e0f0
movsx ecx, cx
cmp ecx, dword [esi + 0x10c]
jle 0x103e138
mov eax, 0x80040002
jmp 0x103e138
mov ebx, dword [ebp + 8]
movzx ecx, word [esi + 0xca]
movsx edx, cx
cmp edx, ebx
jne 0x103e157
inc ebx
mov word [edi + 0x1ea], bx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
sub cx, word [esi + 0x10]
mov word [edi + 0x1ea], cx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10