joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000b4c3
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x1003ae88], 0
mov byte [0x1003ae8c], 0
mov edi, dword [0x1003ae7c]
add edi, 0xe84
mov dword [0x1003ae80], edi
mov dword [0x1003ae84], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x1000b523
xor eax, eax
mov dword [0x1003ae84], 0
mov dword [ebp - 0x20], eax
jmp 0x1000b555
mov eax, dword [ebp - 0x1c]
mov dword [0x1003ae80], 0x8b8
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x1003ae84]
add eax, 1
mov dword [0x1003ae84], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1000b523
jmp 0x1000b512
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x1003ae90], 0
mov edi, dword [0x1003ae88]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x1003ae90], esi
mov dword [0x1003ae7c], 0x233b
mov eax, esi
cdq
idiv ecx
mov dword [0x1003ae88], edx
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x1003ae8c], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov cl, byte [0x1003ae8c]
mov esi, dword [0x1003ae88]
mov byte [ebx + esi], cl
mov esi, dword [0x1003ae84]
add esi, 1
mov dword [0x1003ae84], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x1000b555
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000b60b
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [0x1001bfa7]
mov esi, 0xe
lea edi, [ebp - 0x28]
mov dword [0x1003ae7c], 0x1540
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0xe
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
call fcn.1000b1f4
mov dword [0x1003ae7c], 0x1b9e
call fcn.1000b0a2
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.1000a717
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
jne 0x1000b688
mov eax, dword [ebp - 0x40]
add esp, 0x4c
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x3c]
mov dword [0x1003ae7c], 0x505
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [0x1003ae7c], 0x1847
mov dword [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x44], eax
call fcn.1000a877
xor eax, eax
mov ecx, dword [ebp - 0x44]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x1003ae7c], 0x14d0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x38], ecx
mov ecx, dword [ebp - 0x44]
mov dword [edx + 0x58], ecx
mov dword [0x1003ae80], 0xc82
cmp ecx, 0
mov dword [ebp - 0x40], eax
je 0x1000b67e
mov eax, dword [ebp - 0x44]
add eax, 0x233d
mov ecx, dword [0x1003ae7c]
add ecx, 0x2182
mov dword [0x1003ae7c], ecx
mov dword [ebp - 0x40], eax
jmp 0x1000b67e
Function at 0x1000b9fe
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x1003ae84], 0
mov dword [0x1003ae88], 0
mov dword [0x1003ae94], 0
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x1000bb3b
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov dword [0x1003ae7c], 0x581
add ecx, 1
mov edi, eax
add edi, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x1003ae84], edx
mov dword [0x1003ae80], 0x20ec
mov ecx, dword [ebp - 0x20]
movzx ebx, byte [ecx + edx]
mov ecx, dword [ebp - 0x30]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x1003ae88], edx
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x1003ae8c], cl
mov dword [0x1003ae80], 0x1c17
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x1003ae8c]
mov edx, dword [0x1003ae88]
mov byte [ebx + edx], cl
mov edx, dword [0x1003ae84]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x1003ae88]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x1003ae94], ecx
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x2c]
xor cl, byte [edx + esi]
mov byte [0x1003ae98], cl
mov dword [0x1003ae7c], 0x13d7
mov dword [0x1003ae80], 0x1ac9
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], cl
mov ecx, dword [ebp - 0x10]
cmp edi, ecx
mov dword [ebp - 0x38], edi
jne 0x1000bb43
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [0x1003ae84]
mov ecx, dword [0x1003ae88]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], edx
jmp 0x1000ba57
Function at 0x1000bb5f
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x80]
lea ecx, [esp + 0x20]
mov dword [0x1003ae7c], 0x895
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.1000aab2
lea ecx, [0x1000ad67]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x20], edx
mov dword [esp + 0x68], 0x166a00
mov edx, dword [0x1003ae68]
mov dword [esp + 0x30], edx
mov edx, dword [0x1003ae6c]
mov dword [esp + 0x4c], edx
mov edx, dword [0x1003ae70]
mov dword [esp + 0x7c], edx
mov edx, dword [0x1003ae74]
mov dword [esp + 0x40], edx
mov edx, dword [0x1003ae78]
mov dword [esp + 0x3c], edx
mov dword [0x1003ae80], 0x1d3f
mov dword [0x1003ae7c], 0x2324
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
jmp 0x1000bc5e
mov eax, dword [esp + 0x10]
mov dword [esp + 0x50], eax
mov dword [0x1003ae7c], 0x4417
mov dword [0x1003ae80], 0x94b
mov ecx, dword [esp + 0xc]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x54], edx
call fcn.1000adde
xor ecx, ecx
cmp eax, 0
mov dword [esp + 8], ecx
jne 0x1000bc99
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.1000b60b
mov ecx, esp
lea edx, [esp + 0x20]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [esp + 8], eax
jmp 0x1000bc99
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
jne 0x1000bc85
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x1000bbf5
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x1000bc5e
mov eax, dword [esp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x4216d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1e000]
push edi
or ebp, 0xffffffff
jmp 0x4216f2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4216f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4216e8
mov eax, 1
add ebx, ebx
jne 0x42170b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x421700
jne 0x42171c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x421700
xor ecx, ecx
sub eax, 3
jb 0x421730
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4217a2
mov ebp, eax
add ebx, ebx
jne 0x42173b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x421748
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42176c
inc ecx
add ebx, ebx
jne 0x421758
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42174d
jne 0x421769
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42174d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42178c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42177d
jmp 0x4216ee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42178c
add edi, ecx
jmp 0x4216ee
pop esi
lea edi, [esi + 0x1f000]
mov eax, dword [edi]
or eax, eax
je 0x4217eb
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x211dc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2122c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4217a9
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x21234]
or eax, eax
je 0x4217e5
mov dword [ebx], eax
add ebx, 4
jmp 0x4217c6
call dword [esi + 0x21230]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x42181c
cmp al, 0xef
ja 0x42180f
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4217f1
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4217fe
mov ebp, dword [esi + 0x21238]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x421850
sub esp, 0xffffff80
jmp 0x411343
Function at 0x3ad7258d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x3ad7a064]
jne 0x3ad72597
repz ret
jmp fcn.3ad73d0c

Function at 0x3ad75a5b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x3ad75a6a
pop dword [ebp - 0x44]
mov eax, 0xdccfd090
add eax, 0x5e0789da
sub dword [ebp - 0x44], eax
push 0x40
push 0x1000
push 0x3b326
push 0
mov eax, 0x5e72284c
add eax, 0xdc64e868
add eax, dword [ebp - 0x44]
call dword [eax]
mov ecx, 0x5658
xor edi, edi
add edi, eax
mov edx, 0x3ad88e00
add edx, dword [ebp - 0x44]
mov esi, 0x6071ea41
add esi, 0x2a05ab63
add dword [ebp - 8], 0x156943db
mov ebx, dword [edx]
add dword [ebp - 0x14], ebx
add ebx, esi
mov dword [ebp - 4], 0x863a44db
mov dword [edi], ebx
xor dword [ebp - 0x40], 0xeb81baec
add edi, 0x131de9b9
sub edi, 0x131de9b5
add edx, 4
loop 0x3ad75abf
add eax, 0xa8a30b1e
sub eax, 0xa8a1beeb
mov ebx, eax
add eax, 0xe091b22e
sub eax, 0xe091b229
mov ecx, 0x28f96112
add ecx, 0x11dd9eee
add ecx, dword [ebp - 0x44]
call ebx
leave
ret

Function at 0x3ad779e2
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.3ad72618
and dword [ebp - 4], 0
cmp dword [0x3ad7b5e8], 0
mov ebx, eax
jne 0x3ad77a93
push 0x3ad72234
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x3ad77b44
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push 0x3ad72228
push edi
call esi
test eax, eax
je 0x3ad77b44
push eax
call fcn.3ad75a5b
mov dword [esp], 0x3ad72218
push edi
mov dword [0x3ad7b5e8], eax
call esi
push eax
call fcn.3ad75a5b
mov dword [esp], 0x3ad72204
push edi
mov dword [0x3ad7b5ec], eax
call esi
push eax
call fcn.3ad75a5b
mov dword [esp], 0x3ad721e8
push edi
mov dword [0x3ad7b5f0], eax
call esi
push eax
call fcn.3ad75a5b
pop ecx
mov dword [0x3ad7b5f8], eax
test eax, eax
je 0x3ad77a93
push 0x3ad721d0
push edi
call esi
push eax
call fcn.3ad75a5b
pop ecx
mov dword [0x3ad7b5f4], eax
mov eax, dword [0x3ad7b5f4]
cmp eax, ebx
je 0x3ad77aeb
cmp dword [0x3ad7b5f8], ebx
je 0x3ad77aeb
push eax
call fcn.3ad75a5b
push dword [0x3ad7b5f8]
mov esi, eax
call fcn.3ad75a5b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x3ad77aeb
test edi, edi
je 0x3ad77aeb
call esi
test eax, eax
je 0x3ad77ae2
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x3ad77ae2
test byte [ebp - 0xc], 1
jne 0x3ad77aeb
or dword [ebp + 0x10], 0x200000
jmp 0x3ad77b24
mov eax, dword [0x3ad7b5ec]
cmp eax, ebx
je 0x3ad77b24
push eax
call fcn.3ad75a5b
pop ecx
test eax, eax
je 0x3ad77b24
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x3ad77b24
mov eax, dword [0x3ad7b5f0]
cmp eax, ebx
je 0x3ad77b24
push eax
call fcn.3ad75a5b
pop ecx
test eax, eax
je 0x3ad77b24
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x3ad7b5e8]
call fcn.3ad75a5b
pop ecx
test eax, eax
je 0x3ad77b44
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x3ad77b46
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1009aaa
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x100d258]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
xor eax, eax
push 0x7e
push eax
mov word [ebp - 0x84], ax
lea eax, [ebp - 0x82]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x84]
push eax
push dword [ebp + 8]
mov dword [ebp - 0x88], 0x80
call dword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
jne 0x1009b10
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
jmp 0x1009b34
test esi, esi
je 0x1009b24
lea eax, [ebp - 0x84]
push eax
call fcn.010098c9
mov eax, dword [eax]
mov dword [esi], eax
test edi, edi
je 0x1009b32
mov ax, word [ebp - 0x82]
mov word [edi], ax
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0100736d
leave
ret 0xc

Function at 0x1018000
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x102b9b2
nop
push 0x101801c
pop esi
nop
nop
mov edi, 0x598
nop
nop
xor dword [esi + edi], eax
nop
dec edi
sub edi, 3
nop
jne 0x1018015
pop edx
les eax, [ebx]
add dword [edx - 0x4dfefd47], esi
mov ecx, 0xcbd40002
add al, byte [ecx]
mov dl, 0xed
add eax, dword [ecx]
loopne 0x101803a
add dword [edx + 0x4d010009], esi
add byte [ecx], al
dec ebp
inc esi
std
invalid
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.00405630
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.00405630
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.00405630
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.00405630
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.00405630
mov dword [0x41203c], eax
call fcn.00405630
test eax, eax
jge 0x402550
push 8
call fcn.00405630
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.00405630
pop ecx
push 1
call fcn.00405630
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.00405630
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.00405630
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.00405630
jmp 0x402495

Function at 0x405630
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x40563f
pop dword [ebp - 0x40]
mov eax, 0x40563f
sub dword [ebp - 0x40], eax
push 0x40
push 0x1000
push 0x34e62
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x40]
call dword [eax]
mov ecx, 0x36c5
mov ebx, eax
mov edi, 0x4cbd5bb8
sub edi, 0x4c7c1ff4
add edi, dword [ebp - 0x40]
mov edx, 0xb8111da3
add edx, 0xe24bd00
sub dword [ebp - 0x14], 0x3e9cdd45
mov esi, dword [edi]
sub dword [ebp - 0x24], 0xa763271f
add esi, edx
sub dword [ebp - 0x2c], 0xeeef3d9f
mov dword [ebx], esi
xor dword [ebp - 0x2c], 0xb5e95e8f
add ebx, 0x8ab9c8c1
add ebx, 0x75463743
add edi, 0x8b5c17ea
sub edi, 0x8b5c17e6
loop 0x40568e
add eax, 0xda707893
add eax, 0x25905554
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x42d900
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x27000]
push edi
jmp 0x42d91a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x42d921
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x42d910
mov eax, 1
add ebx, ebx
jne 0x42d933
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x42d928
jne 0x42d944
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42d928
xor ecx, ecx
sub eax, 3
jb 0x42d958
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42d9ca
mov ebp, eax
add ebx, ebx
jne 0x42d963
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x42d970
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42d994
inc ecx
add ebx, ebx
jne 0x42d980
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42d975
jne 0x42d991
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42d975
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42d9b4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42d9a5
jmp 0x42d916
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42d9b4
add edi, ecx
jmp 0x42d916
pop esi
mov edi, esi
mov ecx, 0xe
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42d9d2
cmp byte [edi], 2
jne 0x42d9d2
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 0x42d9d7
lea edi, [esi + 0x2b000]
mov eax, dword [edi]
or eax, eax
je 0x42da4f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2d8ec]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2d928]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42da04
mov ecx, edi
jns 0x42da33
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 + 0x2d930]
or eax, eax
je 0x42da49
mov dword [ebx], eax
add ebx, 4
jmp 0x42da21
call dword [esi + 0x2d92c]
mov ebp, dword [esi + 0x2d934]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1cf]
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 0x42da83
sub esp, 0xffffff80
jmp 0x401114
Function at 0x406b40
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
call fcn.00406b49

Function at 0x413330
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
sub esp, 0x20c
mov eax, dword [0x520014]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov eax, dword [0x523edc]
test eax, eax
jne 0x413416
lea esi, [ebp - 0x214]
push 0x208
push 0
push esi
call fcn.0048d770
add esp, 0xc
push 0x104
push esi
push 0x503b30
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
dec eax
cmp eax, 0x103
jbe 0x413388
mov eax, dword [0x523edc]
jmp 0x413398
push 8
push 0
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [0x523edc], eax
test eax, eax
jne 0x413416
mov word [ebp - 0x214], 0
push 0x104
push esi
push str._SYSTEMROOT__system32cabinet.dll
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
dec eax
cmp eax, 0x103
jbe 0x4133c5
mov eax, dword [0x523edc]
jmp 0x4133d5
push 8
push 0
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [0x523edc], eax
test eax, eax
jne 0x413416
mov word [ebp - 0x214], 0
push 0x104
push esi
push str.C:Windows_system32cabinet.dll
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
dec eax
cmp eax, 0x103
jbe 0x413402
mov eax, dword [0x523edc]
jmp 0x413412
push 8
push 0
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [0x523edc], eax
test eax, eax
je 0x41344d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.FDICreate
push eax
call esi
mov dword [0x523ed0], eax
push str.FDIDestroy
push dword [0x523edc]
call esi
mov dword [0x523ed4], eax
push str.FDICopy
push dword [0x523edc]
call esi
mov dword [0x523ed8], eax
xor ebx, ebx
cmp dword [0x523ed0], 0
je 0x41346b
cmp dword [0x523ed4], 0
je 0x41346b
cmp dword [0x523ed8], 0
setne bl
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0048a678
mov eax, ebx
add esp, 0x20c
pop esi
pop ebx
pop ebp
ret
Function at 0x413fd0
Capabilities:
Check if file exists
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x70
mov edi, ecx
mov eax, dword [0x520014]
xor eax, ebp
mov dword [esp + 0x68], eax
xor eax, eax
push eax
push eax
push ecx
push 0x414560
push eax
push eax
call fcn.00498690
add esp, 0x18
mov esi, eax
cmp dword [edi + 0x3c], eax
je 0x414033
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [edi + 0x3c]
inc eax
cmp eax, 2
jae 0x4140ae
lea eax, [esi + 1]
cmp eax, 2
jb 0x414029
mov dword [edi + 0x3c], esi
call fcn.0046e410
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, dword [edi + 0x3c]
inc esi
cmp esi, 1
jbe 0x414054
cmp esi, 1
seta bl
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.0048a678
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ebx, [esp + 4]
push eax
push ebx
call fcn.004b86f0
add esp, 8
lea edi, [esp + 0x10]
mov ecx, edi
push ebx
push 0xa8
push str.InitializeThread
push 1
call fcn.004b84f0
lea ecx, [esp + 0x4c]
push 0x503c86
push str.Failed_to_create_thread_for_async_install_tasks
call fcn.004b45d0
mov ecx, edi
call fcn.004b8530
cmp byte [ebx + 0xb], 0
jns 0x414039
push dword [esp + 4]
call fcn.00489982
add esp, 4
jmp 0x414039
call fcn.0046e410
push dword [edi + 0x3c]
call fcn.00470b40
add esp, 4
mov dword [edi + 0x3c], 0
jmp 0x414019