joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10015320
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x438
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x10015590
mov esi, 0x200
lea eax, [ebp - 0x18]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x2c], 2
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 2
mov dword [ebp - 0x20], 0
cmp esi, 0x201
jae 0x100153b0
jmp 0x1001539e
jbe 0x10015436
cmp esi, 0x201
jae 0x100153b0
mov dword [ebp - 0x30], 0x200
lea ebx, [ebp - 0x444]
mov edi, esi
jmp 0x100153e1
mov edi, dword [ebp - 0x34]
sub esi, edi
je 0x100153d5
mov dword [ebp - 0x10], 0
push esi
push edi
lea eax, [ebp - 0x28]
push eax
call fcn.100365e0
add esp, 0xc
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], edi
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov esi, eax
test eax, eax
jne 0x10015405
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x10015499
cmp esi, edi
jne 0x10015390
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x100154b8
lea esi, [edi + edi]
test edi, edi
mov eax, 0xffffffff
cmovs esi, eax
cmp esi, 0x201
jb 0x1001539e
jmp 0x100153b0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x10], 0
cmp esi, eax
ja 0x100154d5
lea eax, [ebp - 0x44]
push esi
push ebx
push eax
call fcn.10012c30
add esp, 0xc
movsd xmm0, qword [ebp - 0x44]
mov esi, dword [ebp + 8]
movsd xmm1, qword [ebp - 0x3c]
movsd qword [esi + 8], xmm1
movsd qword [esi], xmm0
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x10015483
add eax, eax
push 2
push eax
push dword [ebp - 0x24]
call fcn.10006c70
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, esi
add esp, 0x438
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebp + 8]
mov byte [esi + 4], 0
mov dword [esi + 8], eax
mov dword [esi], bind
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x10015473
jmp 0x10015483
mov dword [ebp - 0x10], 0
push 0x1004054c
push 0x28
push str.internal_error:_entered_unreachable_code_
call fcn.10036d10
add esp, 0xc
jmp 0x100154e4
push 0x10040514
push eax
push esi
call fcn.10036fc0
add esp, 0xc
ud2
Function at 0x100213b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10021408
mov esi, dword [esp + 0x18]
lea edi, [edx + eax*2]
xor ebx, ebx
movzx eax, byte [edx + 1]
cmp byte [edx], ch
lea edx, [edx + 2]
lea ebp, [ebx + eax]
jne 0x10021400
cmp ebx, ebp
ja 0x10021475
cmp ebp, dword [esp + 0x1c]
ja 0x10021481
add ebx, esi
nop word [eax + eax]
test eax, eax
je 0x10021402
dec eax
cmp byte [ebx], cl
lea ebx, [ebx + 1]
jne 0x100213f0
jmp 0x1002145e
ja 0x10021408
cmp edx, edi
mov ebx, ebp
jne 0x100213c5
mov eax, dword [esp + 0x24]
test eax, eax
je 0x10021462
mov esi, dword [esp + 0x20]
cmp eax, 1
movzx ecx, cx
mov ebx, esi
lea edi, [esi + eax]
mov al, 1
sbb ebx, 0xffffffff
nop word cs:[eax + eax]
nop
movzx edx, byte [esi]
test dl, dl
jns 0x10021447
cmp ebx, edi
je 0x1002146b
movzx esi, byte [ebx]
and edx, 0x7f
inc ebx
shl edx, 8
or edx, esi
mov esi, ebx
sub ecx, edx
js 0x10021464
xor al, 1
xor ebx, ebx
cmp esi, edi
setne bl
add ebx, esi
cmp esi, edi
jne 0x10021430
jmp 0x10021464
xor eax, eax
jmp 0x10021464
mov al, 1
and al, 1
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x100422d8
call fcn.10036c00
push 0x100422e8
push ebp
push ebx
call fcn.10036fe0
push 0x100422e8
push dword [esp + 0x20]
push ebp
call fcn.10036fc0
Function at 0x1002c912
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1002c951
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1002c951
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1002c951
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1002c951
cmp dword [ecx + 0x74], 0xe
jbe 0x1002c951
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x1002d9bf
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10044c20
push 0x10044c18
push str.FlsAlloc
push 0x1f
call fcn.1002d8db
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002d9f3
push dword [ebp + 8]
mov ecx, esi
call dword [0x100381c0]
call esi
jmp 0x1002d9f9
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1002da3d
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10044c30
push 0x10044c28
push str.FlsGetValue
push 0x21
call fcn.1002d8db
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002da74
push dword [ebp + 8]
mov ecx, esi
call dword [0x100381c0]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1002da7c
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10044c38
push 0x10044c30
push str.FlsSetValue
push 0x22
call fcn.1002d8db
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002dab6
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x100381c0]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1003026e
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1003030b
push ebx
push esi
call fcn.10030237
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.100301cb
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100302b8
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1003030a
push edi
push eax
call fcn.1002e32f
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100302d8
call fcn.1002d788
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10030309
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100301cb
add esp, 0x20
test eax, eax
jne 0x100302f7
push edi
call fcn.1002d788
jmp 0x100302ff
push ebx
call fcn.1002d788
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x10031881
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x100607a0]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x100318c1
cmp byte [ebx], 0xa
jne 0x100318c1
or byte [edi + eax + 0x28], 4
jmp 0x100318c6
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x100319c5
mov dl, byte [eax]
cmp dl, 0x1a
je 0x100319a8
inc eax
cmp dl, 0xd
je 0x100318f2
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x10031918
cmp eax, ecx
jae 0x10031926
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x100318da
jmp 0x100319c5
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100319a3
cmp dword [ebp - 0x10], 0
je 0x100319a3
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x100607a0]
test byte [eax + edi + 0x28], 0x48
je 0x1003197d
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x10031968
mov byte [esi], dl
jmp 0x10031979
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x100607a0]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x100319c5
cmp byte [ebp - 1], 0xa
jne 0x1003198c
cmp esi, ebx
jne 0x1003198c
mov byte [esi], 0xa
jmp 0x100319c4
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.100337c8
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x100319c5
mov byte [esi], 0xd
jmp 0x100319c4
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x100607a0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x100319c2
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x100319c5
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x100319ce
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x100607a0]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x10031a14
cmp word [ebx], dx
jne 0x10031a14
or byte [eax + edi + 0x28], 4
jmp 0x10031a19
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x10031b7c
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x10031b5c
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x10031a5a
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x10031a90
cmp eax, edx
jae 0x10031a9e
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x10031a35
jmp 0x10031b7c
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10031b57
cmp dword [ebp - 0x18], 0
je 0x10031b57
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x100607a0]
test byte [eax + edi + 0x28], 0x48
je 0x10031b2d
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x10031af1
mov word [esi], cx
jmp 0x10031b28
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x100607a0]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x100607a0]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x100607a0]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x10031b7c
pop eax
cmp word [ebp - 4], ax
jne 0x10031b3d
cmp esi, ebx
jne 0x10031b3d
mov word [esi], ax
jmp 0x10031b79
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.100337c8
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x10031b7c
push 0xd
pop eax
jmp 0x10031b38
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x100607a0]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x10031b76
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x10031b7c
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x10035930
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1003595d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1003595d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
push ebx
push edi
push esi
sub esp, 0x68
movzx eax, byte [esp + 0x78]
mov esi, dword [esp + 0x84]
mov ebx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x88]
mov edi, dword [esp + 0x80]
test eax, eax
mov dword [esp + 8], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], edi
mov dword [esp + 0x14], edx
je 0x10036e71
cmp eax, 1
jne 0x10036eee
mov dword [esp], 0x100429e4
jmp 0x10036e78
mov dword [esp], 0x100429e2
mov edx, 2
mov eax, dword [esp + 0x90]
cmp dword [ecx], 0
mov dword [esp + 4], edx
jne 0x10036f0a
mov ecx, esp
lea edx, [esp + 8]
lea esi, [esp + 0x10]
mov dword [esp + 0x38], 0x10042a20
mov dword [esp + 0x3c], 3
mov dword [esp + 0x48], 0
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], 0x100230a0
mov dword [esp + 0x20], edx
lea edx, [esp + 0x18]
mov dword [esp + 0x24], 0x10023080
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], 0x10023080
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], 3
lea ecx, [esp + 0x38]
push eax
push ecx
call fcn.10036c30
mov edx, 7
mov dword [esp], 0x100429e6
mov eax, dword [esp + 0x90]
cmp dword [ecx], 0
mov dword [esp + 4], edx
je 0x10036e8d
movsd xmm0, qword [ecx + 0x10]
movsd xmm2, qword [ecx]
movsd xmm1, qword [ecx + 8]
mov edx, esp
lea esi, [esp + 0x50]
mov dword [esp + 0x38], 0x10042a54
mov dword [esp + 0x3c], 4
mov dword [esp + 0x48], 0
mov dword [esp + 0x18], edx
lea edx, [esp + 8]
mov dword [esp + 0x1c], 0x100230a0
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], 0x100220b0
lea esi, [esp + 0x10]
mov dword [esp + 0x28], edx
lea edx, [esp + 0x18]
mov dword [esp + 0x2c], 0x10023080
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], 0x10023080
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], 4
movsd qword [esp + 0x60], xmm0
movsd qword [esp + 0x58], xmm1
movsd qword [esp + 0x50], xmm2
lea ecx, [esp + 0x38]
push eax
push ecx
call fcn.10036c30
int3
Function at 0x401000
Capabilities:
Get process heap flags

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
push 0x403004
call sub.KERNEL32.dll_AcquireSRWLockExclusive
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
lea esi, [esp + 8]
xor ebx, ebx
mov edi, esp
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x20]
mov dword [esi], eax
cmp ebx, 0xd
je 0x401053
lea eax, [ebx + str.Hello_World__n]
push 0xd
pop ebp
sub ebp, ebx
mov ecx, edi
mov edx, esi
push ebp
push eax
call fcn.00401071
pop eax
pop ecx
movzx eax, word [esp + 4]
add ebx, dword [esp]
test eax, eax
je 0x40102a
push 0x403004
call sub.KERNEL32.dll_ReleaseSRWLockExclusive
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x401065
Capabilities:
Write file on windows

Disassembly:
call section..text
push 0
call sub.ntdll.dll_RtlExitUserProcess

Function at 0x401071
Capabilities:
Write file on windows

Disassembly:
push esi
push eax
mov esi, ecx
mov eax, esp
push 0
push eax
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [edx]
call sub.KERNEL32.dll_WriteFile
test eax, eax
je 0x4010a1
mov eax, dword [esp]
xor ecx, ecx
movzx ecx, cx
mov dword [esi], eax
mov eax, esi
mov dword [esi + 4], ecx
add esp, 4
pop esi
ret
call sub.KERNEL32.dll_GetLastError
cmp ax, 6
je 0x401106
movzx eax, ax
cmp eax, 8
je 0x4010d8
cmp eax, 0x21
je 0x4010fe
cmp eax, 0x40
je 0x4010f6
cmp eax, 0x6d
je 0x4010e0
cmp eax, 0x3e3
je 0x4010e8
cmp eax, 0x6f8
je 0x4010d8
cmp eax, 0x718
jne 0x4010f0
xor eax, eax
mov cx, 9
jmp 0x401092
xor eax, eax
mov cx, 8
jmp 0x401092
xor eax, eax
mov cx, 0xa
jmp 0x401092
mov cx, 0xf
jmp 0x401092
xor eax, eax
mov cx, 0xe
jmp 0x401092
xor eax, eax
mov cx, 0xc
jmp 0x401092
xor eax, eax
mov cx, 0xb
jmp 0x401092
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x432072
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x3a8451a4
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
loop 0x432060
nop
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4320d2
nop
mov ebx, 0x42f314
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
mov esi, 0x57fa2b57
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x4659a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x457015
lea edi, [esi - 0x56015]
push edi
or ebp, 0xffffffff
jmp 0x4659c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4659c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4659b8
mov eax, 1
add ebx, ebx
jne 0x4659db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4659d0
jne 0x4659ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4659d0
xor ecx, ecx
sub eax, 3
jb 0x465a00
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x465a72
mov ebp, eax
add ebx, ebx
jne 0x465a0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x465a18
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x465a3c
inc ecx
add ebx, ebx
jne 0x465a28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x465a1d
jne 0x465a39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x465a1d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x465a5c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x465a4d
jmp 0x4659be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x465a5c
add edi, ecx
jmp 0x4659be
pop esi
mov edi, esi
mov ecx, 0x33e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x465a7a
cmp byte [edi], 0
jne 0x465a7a
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 eax, ebx
loop 0x465a7f
lea edi, [esi + 0x63000]
mov eax, dword [edi]
or eax, eax
je 0x465aee
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x651f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x65254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x465aac
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x65258]
or eax, eax
je 0x465ae8
mov dword [ebx], eax
add ebx, 4
jmp 0x465ac9
call dword [esi + 0x6525c]
popal
jmp 0x40da18

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x4014d0
Capabilities:
Accept command line arguments
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48aa20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call fcn.00435e3a
lea ecx, [esp + 0x30]
mov dword [esp + 0x40], 0
call sub.MFC42u.DLL_CString::CString_3
push 0x4af3d4
lea ecx, [esp + 0x34]
mov byte [esp + 0x44], 1
mov dword [esp + 0x10], 0x495a40
call sub.MFC42u.DLL_CString::operator_1
mov dword [esp + 0x34], esi
mov ecx, dword [esp + 0x48]
lea eax, [esp + 8]
push eax
push ecx
mov dword [esp + 0x48], 2
mov dword [esp + 0x10], 0
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test eax, eax
mov dword [esp + 0x48], eax
je 0x4015a2
mov edi, dword [esp + 8]
xor ecx, ecx
test edi, edi
jle 0x4015a2
push ebp
mov ebp, eax
mov eax, dword [ebp]
lea esi, [ecx + 1]
xor edx, edx
xor ecx, ecx
cmp esi, edi
sete cl
mov edi, ecx
mov cx, word [eax]
cmp cx, 0x2d
je 0x40157a
cmp cx, 0x2f
jne 0x401582
mov edx, 1
add eax, 2
push edi
push edx
mov edx, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x1c]
call dword [edx + 0x18]
mov edi, dword [esp + 0xc]
mov ecx, esi
add ebp, 4
cmp ecx, edi
jl 0x40155a
mov eax, dword [esp + 0x4c]
pop ebp
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [esp + 0x30]
mov dword [esp + 0x40], 3
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x40], 0xffffffff
call sub.MFC42u.DLL_CCommandLineInfo::CCommandLineInfo
mov ecx, dword [esp + 0x38]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x3c
ret 4
Function at 0x4016c0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x224
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ebx, ebx
or ebp, 0xffffffff
lea ecx, [esi + 0x24]
push 0x4b99c0
mov dword [esp + 0x24], ebx
mov dword [esi + 0x1c], ebp
mov dword [esi + 0x20], ebp
mov dword [esp + 0x2c], ecx
call sub.MFC42u.DLL_CString::operator_1
lea ecx, [esi + 0x28]
push 0x4b99c0
mov dword [esp + 0x28], ecx
call sub.MFC42u.DLL_CString::operator_1
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x2e]
mov word [esp + 0x2c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x10]
mov dword [esp + 0x1c], ebp
push eax
push 0x20019
push ebx
push str.SOFTWARELiveUpdate360
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x401845
mov eax, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
lea edx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push edx
push eax
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push str.proxytype
push ecx
call ebx
test eax, eax
mov edi, 1
jne 0x40177b
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x20], edi
mov dword [esi + 0x1c], edx
lea eax, [esp + 0x18]
lea ecx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push edx
push 0
push str.customproxytype
push eax
mov dword [esp + 0x34], ebp
call ebx
test eax, eax
jne 0x4017a7
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x20], ecx
mov dword [esp + 0x14], edi
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x2c]
rep stosd dword es:[edi], eax
lea edx, [esp + 0x18]
lea eax, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
push ecx
push 0
push str.customhttp
push edx
mov dword [esp + 0x30], 0x208
call ebx
test eax, eax
jne 0x4017ef
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x2c]
push eax
call sub.MFC42u.DLL_CString::operator_1
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x2c]
lea edx, [esp + 0x2c]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
lea eax, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push eax
push 0
push 0x4af3d8
push ecx
call ebx
test eax, eax
jne 0x40182b
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x2c]
push edx
call sub.MFC42u.DLL_CString::operator_1
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x224
ret
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x224
ret