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

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10024eb8
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 0x10024eb0
cmp ebx, ebp
ja 0x10024f25
cmp ebp, dword [esp + 0x1c]
ja 0x10024f31
add ebx, esi
nop word [eax + eax]
test eax, eax
je 0x10024eb2
dec eax
cmp byte [ebx], cl
lea ebx, [ebx + 1]
jne 0x10024ea0
jmp 0x10024f0e
ja 0x10024eb8
cmp edx, edi
mov ebx, ebp
jne 0x10024e75
mov eax, dword [esp + 0x24]
test eax, eax
je 0x10024f12
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 0x10024ef7
cmp ebx, edi
je 0x10024f1b
movzx esi, byte [ebx]
and edx, 0x7f
inc ebx
shl edx, 8
or edx, esi
mov esi, ebx
sub ecx, edx
js 0x10024f14
xor al, 1
xor ebx, ebx
cmp esi, edi
setne bl
add ebx, esi
cmp esi, edi
jne 0x10024ee0
jmp 0x10024f14
xor eax, eax
jmp 0x10024f14
mov al, 1
and al, 1
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x10043a8c
call fcn.10038090
push 0x10043a9c
push ebp
push ebx
call fcn.10038150
push 0x10043a9c
push dword [esp + 0x20]
push ebp
call fcn.10038130
Function at 0x1002dcd2
Capabilities:
Parse pe header

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

Function at 0x1002ed7f
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10045c88
push 0x10045c80
push str.FlsAlloc
push 0x1f
call fcn.1002ec9b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002edb3
push dword [ebp + 8]
mov ecx, esi
call dword [0x100391e4]
call esi
jmp 0x1002edb9
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1002edfd
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10045c98
push 0x10045c90
push str.FlsGetValue
push 0x21
call fcn.1002ec9b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002ee34
push dword [ebp + 8]
mov ecx, esi
call dword [0x100391e4]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1002ee3c
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10045ca0
push 0x10045c98
push str.FlsSetValue
push 0x22
call fcn.1002ec9b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002ee76
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x100391e4]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1003162e
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 0x100316cb
push ebx
push esi
call fcn.100315f7
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.1003158b
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10031678
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100316ca
push edi
push eax
call fcn.1002f6ef
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10031698
call fcn.1002eb48
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100316c9
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1003158b
add esp, 0x20
test eax, eax
jne 0x100316b7
push edi
call fcn.1002eb48
jmp 0x100316bf
push ebx
call fcn.1002eb48
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 0x10032c41
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 + 0x100627b8]
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 0x10032c81
cmp byte [ebx], 0xa
jne 0x10032c81
or byte [edi + eax + 0x28], 4
jmp 0x10032c86
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 0x10032d85
mov dl, byte [eax]
cmp dl, 0x1a
je 0x10032d68
inc eax
cmp dl, 0xd
je 0x10032cb2
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x10032cd8
cmp eax, ecx
jae 0x10032ce6
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 0x10032c9a
jmp 0x10032d85
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 0x10032d63
cmp dword [ebp - 0x10], 0
je 0x10032d63
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x100627b8]
test byte [eax + edi + 0x28], 0x48
je 0x10032d3d
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x10032d28
mov byte [esi], dl
jmp 0x10032d39
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x100627b8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x10032d85
cmp byte [ebp - 1], 0xa
jne 0x10032d4c
cmp esi, ebx
jne 0x10032d4c
mov byte [esi], 0xa
jmp 0x10032d84
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.10034b88
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x10032d85
mov byte [esi], 0xd
jmp 0x10032d84
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x100627b8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x10032d82
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x10032d85
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x10032d8e
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 + 0x100627b8]
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 0x10032dd4
cmp word [ebx], dx
jne 0x10032dd4
or byte [eax + edi + 0x28], 4
jmp 0x10032dd9
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 0x10032f3c
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 0x10032f1c
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x10032e1a
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x10032e50
cmp eax, edx
jae 0x10032e5e
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 0x10032df5
jmp 0x10032f3c
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 0x10032f17
cmp dword [ebp - 0x18], 0
je 0x10032f17
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x100627b8]
test byte [eax + edi + 0x28], 0x48
je 0x10032eed
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 0x10032eb1
mov word [esi], cx
jmp 0x10032ee8
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x100627b8]
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 + 0x100627b8]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x100627b8]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x10032f3c
pop eax
cmp word [ebp - 4], ax
jne 0x10032efd
cmp esi, ebx
jne 0x10032efd
mov word [esi], ax
jmp 0x10032f39
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.10034b88
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x10032f3c
push 0xd
pop eax
jmp 0x10032ef8
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x100627b8]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x10032f36
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x10032f3c
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 0x10036cf0
Capabilities:
Parse pe header

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

Function at 0x10037170
Capabilities:
Allocate thread local storage

Disassembly:
push ebx
push edi
push esi
sub esp, 0x20
mov esi, dword [esp + 0x30]
cmp dword [esi + 4], 0
je 0x100371f3
lea edi, [esi + 0xc]
mov dword [esp + 4], 0
lea eax, [esp + 4]
push 0
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_InitOnceBeginInitialize]
cmp eax, 1
mov dword [esp], eax
jne 0x1003722e
cmp dword [esp + 4], 0
je 0x10037215
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x1003724f
mov ebx, eax
inc eax
mov dword [esi], eax
mov eax, dword [0x100620b0]
nop word [eax + eax]
mov dword [esi + 8], eax
lock cmpxchg dword [0x100620b0], esi
jne 0x100371d0
mov byte [0x100620ac], 1
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_InitOnceComplete]
mov eax, ebx
jmp 0x10037227
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esp], eax
je 0x10037291
mov ecx, eax
xor eax, eax
inc ecx
lock cmpxchg dword [esi], ecx
jne 0x10037219
mov eax, dword [esp]
jmp 0x10037227
mov eax, dword [esi]
jmp 0x10037226
push dword [esp]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsFree]
mov eax, esi
dec eax
add esp, 0x20
pop esi
pop edi
pop ebx
ret
mov dword [esp + 8], 0
lea eax, [esp + 8]
mov ecx, esp
push 0x1003f1b0
push eax
push 0x1003f1ac
push ecx
push 0
call fcn.10037140
push 0
push 4
push edi
call dword [sym.imp.KERNEL32.dll_InitOnceComplete]
mov dword [esp + 8], 0x1003f108
mov dword [esp + 0xc], 1
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], 0x1003ee20
mov dword [esp + 0x14], 0
lea eax, [esp + 8]
push 0x1003f19c
push eax
call fcn.10037d20
mov ecx, esp
lea edx, [esp + 8]
mov dword [esp + 8], 0x1003f108
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0x1003ee20
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.10037110
int3
Function at 0x10037a10
Capabilities:
Resolve dns

Disassembly:
push ebx
push edi
push esi
sub esp, 0x34
mov esi, ecx
lea eax, [esp + 4]
push dword [esp + 0x44]
push edx
push eax
call fcn.10021620
add esp, 0xc
mov eax, dword [esp + 4]
cmp eax, 0x80000000
jne 0x10037a8e
mov edi, dword [esp + 8]
mov ebx, dword [esp + 0xc]
xorps xmm0, xmm0
mov eax, esp
mov dword [esp], 0
lea ecx, [esp + 0x14]
movups xmmword [esp + 0x14], xmm0
movups xmmword [esp + 0x24], xmm0
mov dword [esp + 0x1c], 1
push eax
push ecx
push 0
push edi
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x10037abd
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi + 8], eax
mov dword [esi + 4], 0
mov eax, 1
test ebx, ebx
mov dword [esi], eax
mov byte [edi], 0
jne 0x10037ade
jmp 0x10037aea
mov ecx, dword [0x100412e8]
mov edx, dword [0x100412ec]
test eax, eax
mov dword [esi + 8], edx
mov dword [esi + 4], ecx
mov dword [esi], 1
je 0x10037aea
push 1
push eax
push dword [esp + 0x10]
call fcn.100059a0
add esp, 0x40
pop esi
pop edi
pop ebx
ret
mov eax, dword [esp + 0x48]
mov ecx, dword [esp]
mov eax, dword [eax]
movzx eax, word [eax]
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
mov word [esi + 0xc], ax
xor eax, eax
test ebx, ebx
mov dword [esi], eax
mov byte [edi], 0
je 0x10037aea
push 1
push ebx
push edi
call fcn.100059a0
add esp, 0xc
add esp, 0x34
pop esi
pop edi
pop ebx
ret
Function at 0x10037f10
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 0x10037f61
cmp eax, 1
jne 0x10037fde
mov dword [esp], 0x10043570
jmp 0x10037f68
mov dword [esp], 0x1004356e
mov edx, 2
mov eax, dword [esp + 0x90]
cmp dword [ecx], 0
mov dword [esp + 4], edx
jne 0x10037ffa
mov ecx, esp
lea edx, [esp + 8]
lea esi, [esp + 0x10]
mov dword [esp + 0x38], 0x100435ac
mov dword [esp + 0x3c], 3
mov dword [esp + 0x48], 0
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], 0x10022e90
mov dword [esp + 0x20], edx
lea edx, [esp + 0x18]
mov dword [esp + 0x24], 0x10022e70
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], 0x10022e70
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], 3
lea ecx, [esp + 0x38]
push eax
push ecx
call fcn.10037d20
mov edx, 7
mov dword [esp], 0x10043572
mov eax, dword [esp + 0x90]
cmp dword [ecx], 0
mov dword [esp + 4], edx
je 0x10037f7d
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], 0x100435e0
mov dword [esp + 0x3c], 4
mov dword [esp + 0x48], 0
mov dword [esp + 0x18], edx
lea edx, [esp + 8]
mov dword [esp + 0x1c], 0x10022e90
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], 0x10021df0
lea esi, [esp + 0x10]
mov dword [esp + 0x28], edx
lea edx, [esp + 0x18]
mov dword [esp + 0x2c], 0x10022e70
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], 0x10022e70
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.10037d20
int3
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
nop
mov ebx, dword [eax]
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
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x42e030
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x42ed60
Capabilities:
Encode data using xor

Disassembly:
wait
mov esp, ebp
pop ebp
ret
pop esp
jp 0x42edbd
jns 0x42ed3c
sbb eax, 0x475a1a90
fcomp qword [esi - 0x4a3161f1]
sub byte [edx + eax*2 - 0xf92918f], 0xb3
test byte [esi - 0x45], bl
or ch, byte [edx + 0x6e]
inc ebp
mul dword [ebp + 0x78]
retf
enter 0xffffffffffff84bb, 0xffffffffffffff89
mov byte [edi + 0x434e4e93], dh
mov dword [eax + 0x4e4e93b7], ecx
inc ebx
xor eax, 0xa6224c07
xchg edi, eax
out 0xc5, eax
salc
jl 0x42edc0
cmp eax, 0x9dee1fb4
push eax
sub byte [edi], 0x2e
or byte [ebx], bl
lahf
dec edi
push esp
test byte [esi], 0xb6
cli
mov dh, 0x69
dec eax
mov dword [ecx], 0x9e4b5422
shl dword [edx], cl
pop esi
jg 0x42ee6d
out 0xf4, eax
mov edi, 0x8d20b6b7
sbb al, byte [ecx]
mul byte [edi]
push ds
mov bh, 0xb4
pushal
test byte [edx + edi*2 + 0x69b606c0], bl
lea ebx, [edx + 0x5a]
mul dword [edx - 0x7f]
inc ebp
jecxz 0x42ee3e
jl 0x42edcd
xor byte [eax + 0x43c7c271], 0x3f
salc
popal
call 0x84f8bc82
in eax, 0x27
jno 0x42ee5c
rol byte [si + 0x6e84], 0xa7
push 0xc01c1a20
cmp dh, byte [ecx - 0x71]
mov dh, 0x4e
dec ebx
inc ebx
xor eax, 0xab224c0c
xchg edi, eax
mov dh, 0xc0
mov dh, 0xc0
sub dh, byte [ecx - 0x31]
idiv dword [edx + 0x10]
faddp st(7)
inc ebx
pop es
ficom dword [edi - 0x483dea92]
and byte [edi - 0x65258456], 0x3c
dec esp
or eax, 0x9c095bae
pushfd
xchg edx, eax
iretd
nop
inc ebp
clc
stc
je 0x42eef2
invalid
pop edx
mov dl, 0x28

Function at 0x4b9fd1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c1510
cmp edx, dword [eax]
je 0x4b9ff3
add eax, 8
inc ecx
cmp eax, 0x4c15a0
jl 0x4b9fe4
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c1510]
jne 0x4ba121
mov eax, dword [0x4c5e9c]
cmp eax, 1
je 0x4ba0fb
test eax, eax
jne 0x4ba024
cmp dword [0x4c143c], 1
je 0x4ba0fb
cmp edx, 0xfc
je 0x4ba121
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4ba05b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004ba9b0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bae40
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4ba09e
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bae40
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4bf65c
push edi
call fcn.004bcd10
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004ba9b0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004ba9c0
lea eax, [ebp - 0xa0]
push 0x4bf63c
push eax
call fcn.004ba9c0
push dword [esi + 0x4c1514]
lea eax, [ebp - 0xa0]
push eax
call fcn.004ba9c0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004bcc84
add esp, 0x2c
pop edi
jmp 0x4ba121
lea eax, [ebp + 8]
lea esi, [esi + 0x4c1514]
push 0
push eax
push dword [esi]
call fcn.004bae40
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x415e80
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
sub esp, 0x20c
mov eax, dword [0x538010]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov eax, dword [0x53d8f4]
test eax, eax
jne 0x415f76
lea esi, [ebp - 0x214]
push 0x208
push 0
push esi
call fcn.004d4450
add esp, 0xc
push 0x104
push esi
push 0x51c74c
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
add eax, 0xfffffefb
cmp eax, 0xfffffefc
jae 0x415edc
mov eax, dword [0x53d8f4]
jmp 0x415eec
push 8
push 0
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [0x53d8f4], eax
test eax, eax
jne 0x415f76
mov word [ebp - 0x214], 0
push 0x104
push esi
push str._SYSTEMROOT__system32cabinet.dll
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
add eax, 0xfffffefb
cmp eax, 0xfffffefc
jae 0x415f21
mov eax, dword [0x53d8f4]
jmp 0x415f31
push 8
push 0
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [0x53d8f4], eax
test eax, eax
jne 0x415f76
mov word [ebp - 0x214], 0
push 0x104
push esi
push str.C:Windows_system32cabinet.dll
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
add eax, 0xfffffefb
cmp eax, 0xfffffefc
jae 0x415f62
mov eax, dword [0x53d8f4]
jmp 0x415f72
push 8
push 0
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [0x53d8f4], eax
test eax, eax
je 0x415fad
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.FDICreate
push eax
call esi
mov dword [0x53d8e8], eax
push str.FDIDestroy
push dword [0x53d8f4]
call esi
mov dword [0x53d8ec], eax
push str.FDICopy
push dword [0x53d8f4]
call esi
mov dword [0x53d8f0], eax
xor ebx, ebx
cmp dword [0x53d8e8], 0
je 0x415fcb
cmp dword [0x53d8ec], 0
je 0x415fcb
cmp dword [0x53d8f0], 0
setne bl
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004d1573
mov eax, ebx
add esp, 0x20c
pop esi
pop ebx
pop ebp
ret
Function at 0x417220
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 [0x538010]
xor eax, ebp
mov dword [esp + 0x68], eax
xor eax, eax
push eax
push eax
push ecx
push 0x417860
push eax
push eax
call fcn.004e048e
add esp, 0x18
mov esi, eax
cmp dword [edi + 0x3c], eax
je 0x417296
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [edi + 0x3c]
inc eax
cmp eax, 2
jb 0x41727c
call fcn.00489980
push dword [edi + 0x3c]
call fcn.00476780
add esp, 4
mov dword [edi + 0x3c], 0
lea eax, [esi + 1]
cmp eax, 2
jb 0x41728c
mov dword [edi + 0x3c], esi
call fcn.00489980
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, dword [edi + 0x3c]
inc esi
cmp esi, 1
ja 0x4172f4
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ebx, [esp + 4]
push eax
push ebx
call fcn.00500050
add esp, 8
lea edi, [esp + 0x10]
mov ecx, edi
push ebx
push 0xa0
push str.InitializeThread
push 1
call fcn.0044cb80
lea ecx, [esp + 0x4c]
push 0x51cb16
push str.Failed_to_create_thread_for_async_install_tasks
call fcn.00415500
mov ecx, edi
call fcn.0044cbc0
cmp byte [ebx + 0xb], 0
jns 0x4172f4
push dword [esp + 4]
call fcn.004d05a5
add esp, 4
test esi, 0xfffffffe
setne bl
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.004d1573
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x41ef10
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [0x538010]
xor eax, ebp
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
test eax, eax
je 0x41ef78
lea esi, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.0041f000
movzx eax, byte [esi + 0xb]
mov edx, dword [esi]
mov ecx, eax
test al, al
jns 0x41ef49
mov ecx, dword [ebp - 0x18]
mov esi, edx
mov dword [ebp - 0x24], edx
lea ebx, [esi + ecx*2]
cmp ecx, 8
jge 0x41ef8e
mov edx, ebx
mov edi, ebx
cmp edi, ebx
setne bl
sub edx, esi
cmp edx, 0xfffffffe
setne bh
test al, al
jns 0x41ef74
push dword [ebp - 0x24]
call fcn.004d05a5
add esp, 4
and bl, bh
jmp 0x41ef7a
mov bl, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d1573
mov eax, ebx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
lea edx, [esi + ecx*2]
add edx, 0xfffffffe
mov dword [ebp - 0x20], edx
add ecx, ecx
mov edi, esi
shr ecx, 1
add ecx, 0xfffffff9
mov edx, edi
cmp word [edi], 0x2d
je 0x41efb3
add edi, 2
add edx, 2
dec ecx
jne 0x41efa2
jmp 0x41ef54
test edi, edi
je 0x41ef54
cmp word [edi + 2], 0x2d
jne 0x41efec
cmp word [edi + 4], 0x73
jne 0x41efec
cmp word [edi + 6], 0x69
jne 0x41efec
cmp word [edi + 8], 0x6c
jne 0x41efec
cmp word [edi + 0xa], 0x65
jne 0x41efec
cmp word [edi + 0xc], 0x6e
jne 0x41efec
cmp word [edi + 0xe], 0x74
je 0x41ef58
add edi, 2
mov ecx, dword [ebp - 0x20]
sub ecx, edx
cmp ecx, 0xf
jg 0x41ef9b
jmp 0x41ef54