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

Disassembly:
sub esp, 0x410
mov eax, dword [0x4732d4]
xor eax, esp
mov dword [esp + 0x40c], eax
lea eax, [esp]
push eax
push 1
push 0
push str.SoftwareBottleTechShuame
push 0x80000002
call dword [0x45c024]
test eax, eax
jne 0x43375a
xor ecx, ecx
push 0x400
push ecx
lea edx, [esp + 0x12]
push edx
mov word [esp + 0x14], cx
call fcn.0043d6d0
mov edx, dword [esp + 0xc]
add esp, 0xc
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0xc]
push ecx
push 0
push 0
push str.Version
push edx
mov dword [esp + 0x1c], 0x200
call dword [0x45c010]
test eax, eax
jne 0x433750
lea eax, [esp + 8]
push eax
push 0x104
push esi
call fcn.0043e198
mov ecx, dword [esp + 0xc]
add esp, 0xc
push ecx
call dword [0x45c01c]
mov eax, 1
mov ecx, dword [esp + 0x40c]
xor ecx, esp
call fcn.0043c333
add esp, 0x410
ret
mov edx, dword [esp]
push edx
call dword [0x45c01c]
mov ecx, dword [esp + 0x40c]
xor ecx, esp
xor eax, eax
call fcn.0043c333
add esp, 0x410
ret

Function at 0x433dd0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x459532
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x4732d4]
xor eax, esp
mov dword [esp + 0x214], eax
push esi
push edi
mov eax, dword [0x4732d4]
xor eax, esp
push eax
lea eax, [esp + 0x224]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
mov dword [esp + 0xc], edi
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
mov dword [esp + 0x10], esi
mov word [esi + 4], ax
push 0x208
lea edx, [esp + 0x1a]
mov dword [esp + 0x230], edi
xor ecx, ecx
push edi
push edx
mov dword [esp + 0x18], 1
mov word [esp + 0x20], cx
call fcn.0043d6d0
add esp, 0xc
push edi
push 0x10
lea eax, [esp + 0x1c]
push eax
push edi
call dword [0x45c32c]
lea eax, [esp + 0x14]
call fcn.0040e4d9
mov edi, esi
call fcn.00434220
mov eax, esi
mov ecx, dword [esp + 0x224]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.0043c333
add esp, 0x224
ret

Function at 0x433ea0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x459532
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x4732d4]
xor eax, esp
mov dword [esp + 0x214], eax
push esi
push edi
mov eax, dword [0x4732d4]
xor eax, esp
push eax
lea eax, [esp + 0x224]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
mov dword [esp + 0xc], edi
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
mov dword [esp + 0x10], esi
mov word [esi + 4], ax
push 0x208
lea edx, [esp + 0x1a]
mov dword [esp + 0x230], edi
xor ecx, ecx
push edi
push edx
mov dword [esp + 0x18], 1
mov word [esp + 0x20], cx
call fcn.0043d6d0
add esp, 0xc
push edi
push 0x19
lea eax, [esp + 0x1c]
push eax
push edi
call dword [0x45c32c]
lea eax, [esp + 0x14]
call fcn.0040e4d9
mov edi, esi
call fcn.00434220
mov eax, esi
mov ecx, dword [esp + 0x224]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.0043c333
add esp, 0x224
ret
Function at 0x433f70
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x459532
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x4732d4]
xor eax, esp
mov dword [esp + 0x214], eax
push esi
push edi
mov eax, dword [0x4732d4]
xor eax, esp
push eax
lea eax, [esp + 0x224]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
mov dword [esp + 0xc], edi
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
mov dword [esp + 0x10], esi
mov word [esi + 4], ax
push 0x208
lea edx, [esp + 0x1a]
mov dword [esp + 0x230], edi
xor ecx, ecx
push edi
push edx
mov dword [esp + 0x18], 1
mov word [esp + 0x20], cx
call fcn.0043d6d0
add esp, 0xc
push edi
push 2
lea eax, [esp + 0x1c]
push eax
push edi
call dword [0x45c32c]
lea eax, [esp + 0x14]
call fcn.0040e4d9
mov edi, esi
call fcn.00434220
mov eax, esi
mov ecx, dword [esp + 0x224]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.0043c333
add esp, 0x224
ret

Function at 0x434040
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x459532
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x4732d4]
xor eax, esp
mov dword [esp + 0x214], eax
push esi
push edi
mov eax, dword [0x4732d4]
xor eax, esp
push eax
lea eax, [esp + 0x224]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
mov dword [esp + 0xc], edi
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
mov dword [esp + 0x10], esi
mov word [esi + 4], ax
push 0x208
lea edx, [esp + 0x1a]
mov dword [esp + 0x230], edi
xor ecx, ecx
push edi
push edx
mov dword [esp + 0x18], 1
mov word [esp + 0x20], cx
call fcn.0043d6d0
add esp, 0xc
push edi
push 0x17
lea eax, [esp + 0x1c]
push eax
push edi
call dword [0x45c32c]
lea eax, [esp + 0x14]
call fcn.0040e4d9
mov edi, esi
call fcn.00434220
mov eax, esi
mov ecx, dword [esp + 0x224]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.0043c333
add esp, 0x224
ret
Function at 0x439f50
Capabilities:
Connect to http server
Create http request

Disassembly:
push 0xffffffffffffffff
push 0x458918
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push edi
mov eax, dword [0x4732d4]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov eax, dword [0x476e64]
mov edx, dword [eax + 0xc]
mov ecx, 0x476e64
xor ebx, ebx
call edx
lea edi, [eax + 0x10]
mov dword [esp + 0xc], edi
mov dword [esp + 0x1c], ebx
mov eax, dword [esi + 0x54e0]
test eax, eax
jne 0x439fa0
lea ebx, [eax + 1]
jmp 0x439fd3
cmp eax, 2
jne 0x439fd3
lea ebx, [eax + 1]
lea eax, [esi + 0x54e4]
lea edi, [esp + 0xc]
call fcn.004016ec
mov eax, dword [esi + 0x54e8]
test eax, eax
jle 0x439fcf
push eax
push 0x466d54
call fcn.0043a910
add esp, 8
mov edi, dword [esp + 0xc]
push 0x10000000
push 0
push edi
push ebx
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.1__SV1__.NET_CLR_2.0.50727__.NET_CLR_3.0.04506.648__.NET_CLR_3.5.8888.8888__
call dword [0x45c4d0]
mov dword [esi + 8], eax
test eax, eax
jne 0x43a022
or ebx, 0xffffffff
lea eax, [edi - 0x10]
mov dword [esp + 0x1c], ebx
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x43a00e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x14
ret
push 0x439ec0
push eax
call dword [0x45c4f4]
or ebx, 0xffffffff
cmp eax, ebx
je 0x439ff1
mov edx, dword [esi + 8]
push 4
lea ecx, [esp + 0x14]
push ecx
push 2
push edx
mov dword [esp + 0x20], 0x7530
call dword [0x45c4e8]
movzx eax, word [esi + 0x2014]
mov edx, dword [esi + 8]
push esi
push 0
push 3
push 0
push 0
push eax
lea ecx, [esi + 0x201c]
push ecx
push edx
mov dword [esi + 0x5480], 1
call dword [0x45c4cc]
mov dword [esi + 0xc], eax
test eax, eax
lea eax, [edi - 0x10]
mov dword [esp + 0x1c], ebx
lea ecx, [eax + 0xc]
je 0x439ffb
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x43a0a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x14
ret
Function at 0x43a9b0
Capabilities:
Parse url

Disassembly:
sub esp, 0x3c
push 0x3c
lea eax, [esp + 4]
push 0
push eax
call fcn.0043d6d0
push 0x5418
push 0
push esi
call fcn.0043d6d0
mov eax, 0x400
mov dword [esp + 0x2c], eax
mov dword [esp + 0x48], eax
lea eax, [esi + 0x3008]
lea edx, [esi + 0x2808]
mov dword [esp + 0x34], eax
mov eax, 0x104
lea ecx, [esi + 0x2008]
mov dword [esp + 0x44], edx
lea edx, [esi + 0x3418]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], eax
lea ecx, [esi + 0x3210]
mov eax, edi
mov dword [esp + 0x4c], edx
add esp, 0x18
mov dword [esp], 0x3c
mov dword [esp + 0x24], ecx
mov dword [esp + 0x38], 0x1000
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43aa31
lea ecx, [esp]
push ecx
sub eax, edx
push 0
sar eax, 1
push eax
push edi
call dword [0x45c4dc]
test eax, eax
je 0x43aa8e
mov eax, dword [esp + 0xc]
cmp eax, 3
je 0x43aa60
cmp eax, 4
jne 0x43aa8e
push edi
push 0x1000
push esi
call fcn.0043e198
mov eax, dword [esp + 0x18]
mov dx, word [esp + 0x24]
mov dword [esi + 0x2004], eax
add esp, 0xc
mov word [esi + 0x2000], dx
mov eax, 1
add esp, 0x3c
ret
xor eax, eax
add esp, 0x3c
ret
Function at 0x401525
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x28
push 0x401198
call fcn.004016dc
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x401560
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401560
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x401578
cmp eax, 0x20b
je 0x401565
mov dword [ebp - 0x1c], edi
jmp 0x40158c
cmp dword [ecx + 0x84], 0xe
jbe 0x401560
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x401586
cmp dword [ecx + 0x74], 0xe
jbe 0x401560
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 1
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x402130], 0xffffffff
or dword [0x402134], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x40212c]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x402128]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x402138], eax
call fcn.004016d2
cmp dword [0x40201c], edi
jne 0x4015e7
push fcn.004016d2
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.004016bb
push 0x402010
push 0x40200c
call sub.msvcrt.dll__initterm
mov eax, dword [0x402124]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x402120]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x34], eax
push 0x402008
push section..data
call sub.msvcrt.dll__initterm
mov eax, dword [ebp - 0x20]
mov ecx, dword [sym.imp.msvcrt.dll___initenv]
mov dword [ecx], eax
push dword [ebp - 0x20]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.0040126d
add esp, 0x30
mov esi, eax
mov dword [ebp - 0x38], esi
cmp dword [ebp - 0x1c], edi
jne 0x40165e
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x401693
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.00401717
ret
Function at 0x1022d810
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x1022d9fd
pushal
mov esi, section..data
lea edi, [esi - 0xc2000]
push edi
or ebp, 0xffffffff
jmp 0x1022d83a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1022d841
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1022d830
mov eax, 1
add ebx, ebx
jne 0x1022d853
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1022d864
jne 0x1022d883
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1022d883
dec eax
add ebx, ebx
jne 0x1022d870
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1022d848
add ebx, ebx
jne 0x1022d87f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1022d8d5
xor ecx, ecx
sub eax, 3
jb 0x1022d89b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1022d90a
sar eax, 1
mov ebp, eax
jmp 0x1022d8a6
add ebx, ebx
jne 0x1022d8a6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1022d874
inc ecx
add ebx, ebx
jne 0x1022d8b4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1022d874
add ebx, ebx
jne 0x1022d8c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1022d8b6
jne 0x1022d8d2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1022d8b6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1022d8f4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1022d8e6
jmp 0x1022d836
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1022d8f4
add edi, ecx
jmp 0x1022d836
pop esi
mov edi, esi
mov ecx, 0x4329
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1022d912
cmp byte [edi], 0x12
jne 0x1022d912
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 0x1022d917
lea edi, [esi + 0x226000]
mov eax, dword [edi]
or eax, eax
je 0x1022d98f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x22d324]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x22d43c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1022d944
mov ecx, edi
jns 0x1022d973
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 + 0x22d440]
or eax, eax
je 0x1022d989
mov dword [ebx], eax
add ebx, 4
jmp 0x1022d961
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1022d9c0
cmp al, 0xef
ja 0x1022d9b3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1022d995
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1022d9a2
mov ebp, dword [esi + 0x22d444]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x1022d9f4
sub esp, 0xffffff80
jmp 0x10061afd
Function at 0x40e860
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa000]
push edi
or ebp, 0xffffffff
jmp 0x40e882
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40e889
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40e878
mov eax, 1
add ebx, ebx
jne 0x40e89b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40e890
jne 0x40e8ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40e890
xor ecx, ecx
sub eax, 3
jb 0x40e8c0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40e932
mov ebp, eax
add ebx, ebx
jne 0x40e8cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40e8d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40e8fc
inc ecx
add ebx, ebx
jne 0x40e8e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40e8dd
jne 0x40e8f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40e8dd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40e91c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40e90d
jmp 0x40e87e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40e91c
add edi, ecx
jmp 0x40e87e
pop esi
mov edi, esi
mov ecx, 0x1e9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40e93a
cmp byte [edi], 0
jne 0x40e93a
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 0x40e93f
lea edi, [esi + 0xc000]
mov eax, dword [edi]
or eax, eax
je 0x40e9ae
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xef68]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xf008]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40e96c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xf00c]
or eax, eax
je 0x40e9a8
mov dword [ebx], eax
add ebx, 4
jmp 0x40e989
call dword [esi + 0xf014]
mov ebp, dword [esi + 0xf010]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1df]
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 0x40e9e2
sub esp, 0xffffff80
jmp 0x4040f7
Function at 0x4010a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov eax, 0x25
mov ecx, 0x5792
mov ebx, 0x34e4
xor esi, esi
mov edx, 0x19fc
mov dword [ebp - 4], 0xe0
cmp eax, 0xe0
cmovl eax, dword [ebp - 4]
dec edx
jne 0x4010c6
mov eax, 0x75ded953
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x4010d2
mov eax, dword [ebp + 8]
test eax, eax
je 0x401195
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x401195
cmp eax, ecx
jae 0x401195
sub ecx, eax
mov dword [ebp + 0xc], ecx
inc edi
mov eax, 0x2aaaaaab
imul edi
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
add ecx, ecx
mov eax, edi
sub eax, ecx
jne 0x401125
add edi, 2
cmp edi, 0x1cf2
jl 0x401108
mov esi, 0x7752
mov eax, 0x4c346405
imul esi
sar edx, 6
mov esi, edx
shr esi, 0x1f
add esi, edx
jne 0x401132
mov eax, 0x8a42f871
imul ebx
add edx, ebx
sar edx, 7
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
jne 0x401145
mov ebx, dword [ebp + 0xc]
xor ecx, ecx
test ebx, ebx
je 0x401174
mov edx, dword [ebp + 8]
mov al, byte [ecx + edx + 1]
add al, 0x5e
xor byte [ecx + edx], al
inc ecx
cmp ecx, ebx
jb 0x401166
inc esi
mov eax, 0x55555556
imul esi
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, esi
lea eax, [eax + eax*2]
sub ecx, eax
jne 0x40118d
inc esi
cmp esi, 0x69fc
jl 0x401174
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402b30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov ecx, 0x63
push edi
xor eax, eax
mov edi, 0x229b
lea ebx, [ecx + 0x6c]
xor esi, esi
mov edx, 0xa98
mov dword [ebp - 4], 0x97
jmp 0x402b60
cmp ecx, 0x97
cmovg ecx, dword [ebp - 4]
dec edx
jne 0x402b60
lea ecx, [ecx]
inc eax
mov ecx, eax
and ecx, 0x80000003
jns 0x402b80
dec ecx
or ecx, 0xfffffffc
inc ecx
jne 0x402b83
inc eax
cmp eax, 0x1b23
jl 0x402b70
mov edx, dword [ebp + 8]
inc byte [edx + 0x2c]
movzx eax, byte [edx + 0x2c]
lea ecx, [edx + 0x2e]
add eax, ecx
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
movzx ecx, byte [eax]
movzx eax, byte [edx + 0x10]
add eax, ecx
movzx ecx, al
mov byte [edx + 0x10], al
mov al, byte [ecx + edx + 0x2e]
add ecx, edx
mov edx, dword [ebp - 4]
mov ah, byte [edx]
mov byte [edx], al
mov byte [ebp + 0xb], ah
mov byte [ecx + 0x2e], ah
mov eax, 0x86d90545
imul edi
add edx, edi
sar edx, 7
mov edi, edx
shr edi, 0x1f
add edi, edx
jne 0x402bc1
mov eax, 0x7695
mov ecx, 0xfb
cmp ebx, ecx
cmovg ebx, ecx
dec eax
jne 0x402be0
mov eax, dword [ebp - 4]
mov bl, byte [eax]
add bl, byte [ebp + 0xb]
inc esi
mov eax, 0x66666667
imul esi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, esi
lea eax, [eax + eax*4]
sub ecx, eax
jne 0x402c0d
add esi, 2
cmp esi, 0x19e4
jl 0x402bf0
mov ecx, dword [ebp - 8]
movzx eax, bl
pop edi
mov al, byte [eax + ecx]
movzx ecx, byte [ebp + 0xc]
movzx eax, al
pop esi
xor eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100011b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x100011c9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10001204
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x10001200
lea ebx, [ebx]
cmp esi, eax
jae 0x10001204
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x100011f0
cmp esi, eax
jb 0x1000120a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x100014c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [edi]
lea ecx, [esp]
push ecx
push esi
add eax, eax
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x14]
push 0
mov dword [edi], 0
mov ecx, dword [eax]
push str.LastProPath
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000152e
mov eax, dword [esp + 8]
cmp eax, 1
je 0x100014ff
cmp eax, 2
jne 0x1000151a
mov eax, dword [esp]
test esi, esi
je 0x10001528
test eax, eax
je 0x10001523
test al, 1
jne 0x1000151a
mov edx, eax
shr edx, 1
cmp word [esi + edx*2 - 2], 0
je 0x10001528
mov eax, 0xd
pop ecx
ret 4
xor ecx, ecx
mov word [esi], cx
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop ecx
ret 4
Function at 0x100017b0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1001a29b
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x100210c4]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
sub eax, 0
je 0x100018c3
sub eax, 1
jne 0x10001958
mov eax, dword [ebp + 8]
push 0x7c
mov dword [0x10022bd4], eax
mov dword [0x10022bd8], 0
mov dword [0x10022be4], 0
call fcn.1000cf0f
mov esi, eax
add esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 0x20], 0
test esi, esi
je 0x10001841
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push str.adrplugin
call fcn.10003890
push esi
call fcn.100055f0
jmp 0x10001843
xor eax, eax
push 0x10002360
mov dword [esp + 0x24], 0xffffffff
push 0x3001
mov dword [0x10022bd0], eax
call fcn.10004b80
call fcn.10004c60
push 0x100026a0
push 0x2001
call fcn.10004b80
push 0x10002750
push 0x2003
call fcn.10004b80
push 0x10002920
push 0x2004
call fcn.10004b80
push 0x100029d0
push 0x2005
call fcn.10004b80
push 0x10002a70
push 0x2008
call fcn.10004b80
push 0x10002b10
push 0x2010
call fcn.10004b80
jmp 0x10001958
mov eax, dword [0x10022bd0]
test eax, eax
je 0x100018dd
push eax
mov esi, eax
call fcn.10005850
push esi
call fcn.1000c46d
add esp, 4
mov eax, dword [0x10022bdc]
test eax, eax
je 0x100018ef
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov esi, dword [sym.imp.USER32.dll_FindWindowW]
push str.F5A7D6D5_1F1C_4640_9FD2_40F0260A0195
push 0
call esi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x10001914
push 0
push 0
push 0x83ec
push eax
call edi
push str.ED688B19_48E5_42f4_8EDD_91E954D590E1
push 0
call esi
test eax, eax
je 0x1000192d
push 0
push 0
push 0x83ed
push eax
call edi
cmp dword [0x10022bf0], 0
je 0x10001958
push str.B7FB80D5_DE86_42e4_8D74_F510EA8EA9BA
push 0
call esi
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10001958
push 0
push 0
push 0x417
push esi
call edi
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10002080
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10019d7d
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x100210c4]
xor eax, esp
mov dword [esp + 0x224], eax
push ebp
push esi
push edi
mov eax, dword [0x100210c4]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
xor ebp, ebp
mov dword [esp + 0x240], ebp
mov dword [esp + 0x24], ebp
mov eax, dword [0x10022104]
mov edx, dword [eax + 0xc]
mov ecx, 0x10022104
mov dword [esp + 0x28], ebx
call edx
add eax, 0x10
mov dword [ebx], eax
push 0x206
lea ecx, [esp + 0x32]
xor eax, eax
push ebp
mov esi, 1
push ecx
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], 0x104
mov word [esp + 0x38], ax
call fcn.1000ef50
add esp, 0xc
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
lea edx, [esp + 0x14]
push edx
push 0x20019
push ebp
push str.SOFTWAREXCPlayAdrBox
mov dword [esp + 0x250], esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebp
jne 0x1000217a
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
lea edi, [esp + 0x24]
lea esi, [esp + 0x30]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebp
call fcn.100014c0
mov edx, esi
push edx
push 0x1001d564
push ebx
call fcn.10004b60
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp eax, ebp
je 0x1000217a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.1000c478
add esp, 0x234
ret