joyce8/EMBER2024-capa huggingface dataset:
Function at 0x580770
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x123000]
push edi
jmp 0x58078a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x580791
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x580780
mov eax, 1
add ebx, ebx
jne 0x5807a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5807b4
jne 0x5807d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5807d3
dec eax
add ebx, ebx
jne 0x5807c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x580798
add ebx, ebx
jne 0x5807cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x580825
xor ecx, ecx
sub eax, 3
jb 0x5807eb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x58085a
sar eax, 1
mov ebp, eax
jmp 0x5807f6
add ebx, ebx
jne 0x5807f6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5807c4
inc ecx
add ebx, ebx
jne 0x580804
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5807c4
add ebx, ebx
jne 0x580811
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x580806
jne 0x580822
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x580806
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x580844
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x580836
jmp 0x580786
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x580844
add edi, ecx
jmp 0x580786
pop esi
mov edi, esi
mov ecx, 0x40d6
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x580862
cmp byte [edi], 0x11
jne 0x580862
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 0x580867
lea edi, [esi + 0x179000]
mov eax, dword [edi]
or eax, eax
je 0x5808df
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x21b378]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x21b4f4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x580894
mov ecx, edi
jns 0x5808c3
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 + 0x21b4f8]
or eax, eax
je 0x5808d9
mov dword [ebx], eax
add ebx, 4
jmp 0x5808b1
call dword [esi + 0x21b508]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x580910
cmp al, 0xef
ja 0x580903
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x5808e5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x5808f2
mov ebp, dword [esi + 0x21b4fc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x580944
sub esp, 0xffffff80
jmp 0x4204f7
Function at 0x447b20
Capabilities:
Allocate thread local storage

Disassembly:
push ebx
push edi
push esi
sub esp, 0x20
cmp dword [ecx + 4], 0
mov esi, ecx
je 0x447b91
lea ebx, [esi + 0xc]
mov dword [esp + 4], 0
lea eax, [esp + 4]
push 0
push eax
push 0
push ebx
call dword [sym.imp.kernel32.dll_InitOnceBeginInitialize]
cmp eax, 1
mov dword [esp], eax
jne 0x447bcc
cmp dword [esp + 4], 0
je 0x447bb3
call dword [sym.imp.kernel32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x447be1
mov edi, eax
inc eax
mov dword [esi], eax
mov eax, dword [0x45ea5c]
nop dword [eax]
mov dword [esi + 8], eax
lock cmpxchg dword [0x45ea5c], esi
jne 0x447b70
mov byte [0x45ea58], 1
push 0
push 0
push ebx
call dword [sym.imp.kernel32.dll_InitOnceComplete]
jmp 0x447bc3
call dword [sym.imp.kernel32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esp], eax
je 0x447c24
mov ecx, eax
xor eax, eax
inc ecx
lock cmpxchg dword [esi], ecx
jne 0x447bb7
mov edi, dword [esp]
jmp 0x447bc3
mov edi, dword [esi]
jmp 0x447bc2
mov edi, eax
push dword [esp]
call dword [sym.imp.kernel32.dll_TlsFree]
dec edi
mov eax, edi
add esp, 0x20
pop esi
pop edi
pop ebx
ret
mov ecx, esp
lea edx, [esp + 8]
mov dword [esp + 8], 0
call fcn.00447c60
ud2
push 0
push 4
push ebx
call dword [sym.imp.kernel32.dll_InitOnceComplete]
lea ecx, [esp + 8]
mov edx, 0x45468c
mov dword [esp + 8], 0x454654
mov dword [esp + 0xc], 1
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], 0x454ea4
mov dword [esp + 0x14], 0
call fcn.00446f30
ud2
mov ecx, esp
lea edx, [esp + 8]
mov dword [esp + 8], 0x454654
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0x454ea4
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.00447ca0
ud2
Function at 0xc90058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xc901a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xc9007e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xc9006a
add dl, dl
jne 0xc90089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xc900dc
xor eax, eax
add dl, dl
jne 0xc90096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xc9017d
add dl, dl
jne 0xc900a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc900b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc900bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc900c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xc900d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xc90075
mov eax, 1
add dl, dl
jne 0xc900ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc900f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xc900e1
sub eax, ebx
mov ebx, 1
jne 0xc90128
mov ecx, 1
add dl, dl
jne 0xc9010e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xc90119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xc90105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xc90075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xc9013f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xc9014a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xc90136
cmp eax, 0x7d00
jae 0xc9016d
cmp eax, 0x500
jb 0xc90168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xc90075
cmp eax, 0x7f
ja 0xc90170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xc90075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xc9019e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xc90075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x5f0680
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.HAOCMP1
lea edi, [esi - 0x14a000]
push edi
or ebp, 0xffffffff
jmp 0x5f06a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5f06a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5f0698
mov eax, 1
add ebx, ebx
jne 0x5f06bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5f06cc
jne 0x5f06eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5f06eb
dec eax
add ebx, ebx
jne 0x5f06d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5f06b0
add ebx, ebx
jne 0x5f06e7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5f073d
xor ecx, ecx
sub eax, 3
jb 0x5f0703
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5f0772
sar eax, 1
mov ebp, eax
jmp 0x5f070e
add ebx, ebx
jne 0x5f070e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5f06dc
inc ecx
add ebx, ebx
jne 0x5f071c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5f06dc
add ebx, ebx
jne 0x5f0729
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5f071e
jne 0x5f073a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5f071e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5f075c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5f074e
jmp 0x5f069e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5f075c
add edi, ecx
jmp 0x5f069e
pop esi
mov edi, esi
mov ecx, 0x4bf6
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5f077a
cmp byte [edi], 0x12
jne 0x5f077a
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 0x5f077f
lea edi, [esi + 0x1ec000]
mov eax, dword [edi]
or eax, eax
je 0x5f07f7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x246f58]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x247084]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5f07ac
mov ecx, edi
jns 0x5f07db
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 + 0x247088]
or eax, eax
je 0x5f07f1
mov dword [ebx], eax
add ebx, 4
jmp 0x5f07c9
call dword [esi + 0x247090]
mov ebp, dword [esi + 0x24708c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x247]
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 0x5f082b
sub esp, 0xffffff80
jmp 0x43c5f7
Function at 0x40d037
Capabilities:
Packed with generic packer

Disassembly:
pushal
call 0x40d03d
pop eax
sub eax, 0x3d
push eax
lea edi, [eax - 0xc000]
push edi
add word [edi + 0xb5cc], 1
lea esi, [eax + 0x1ec]
or ebp, 0xffffffff
xor ebx, ebx
jmp 0x40d066
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40d071
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40d060
mov eax, 1
add ebx, ebx
jne 0x40d083
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
ja 0x40d078
jne 0x40d094
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40d078
xor ecx, ecx
sub eax, 3
jb 0x40d102
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40d11e
mov ebp, eax
add ebx, ebx
jne 0x40d0b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40d0c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40d0e4
inc ecx
add ebx, ebx
jne 0x40d0d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
ja 0x40d0c5
jne 0x40d0e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40d0c5
add ecx, 2
cmp eax, 0xfffff300
adc ecx, 1
lea edx, [edi + eax]
cmp eax, 0xfffffffc
jle 0x40d108
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40d0f4
jmp 0x40d066
mov eax, ebp
jmp 0x40d0a8
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40d108
add edi, ecx
jmp 0x40d066
pop esi
pop ebp
sub edi, dword [edi - 4]
push edi
lea edi, [esi]
mov ecx, 0xe8
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40d12f
cmp byte [edi], 1
jne 0x40d12f
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 0x40d134
pop edi
mov eax, dword [edi]
or eax, eax
je 0x40d199
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb000]
add ebx, esi
push eax
add edi, 8
call dword [ebp]
xchg edx, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40d15c
push edx
mov ecx, edi
jns 0x40d189
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push edx
call dword [ebp + 4]
pop edx
mov dword [ebx], eax
add ebx, 4
jmp 0x40d176
lea ebx, [esi - 4]
add edi, 4
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x40d1ca
cmp al, 0xef
ja 0x40d1bd
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x40d19f
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x40d1ac
popal
jmp 0x4049e7
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

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

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
mov ecx, 0x7a033873
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x5db577cb
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43306c
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x100c94d
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x638
mov eax, dword [0x100e0a8]
mov ecx, dword [ebp + 0x14]
push ebx
xor ebx, ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
cmp eax, ebx
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x638], ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x630], eax
mov dword [ebp - 0x624], ebx
mov dword [ebp - 0x620], ebx
mov dword [edi], ecx
jne 0x100c99d
mov dword [ebp - 0x620], 0x8000ffff
jmp 0x100cb2a
lea eax, [ebp - 0x624]
push eax
push 1
push ebx
push 0x1002898
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x100c9ca
mov dword [ebp - 0x620], 0x8000ffff
jmp 0x100cb15
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x62c]
push eax
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x628]
push eax
push ebx
push 0x100287c
push dword [ebp - 0x624]
mov dword [ebp - 0x62c], 0x208
call esi
test eax, eax
je 0x100ca11
mov dword [ebp - 0x620], 0x8000ffff
jmp 0x100cb14
cmp dword [ebp - 0x628], 1
jne 0x100ca02
lea eax, [ebp - 0x634]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x628]
push eax
push 0
push 0x1002864
push dword [ebp - 0x624]
mov dword [ebp - 0x634], 0x208
call esi
test eax, eax
jne 0x100ca02
cmp dword [ebp - 0x628], 1
jne 0x100ca02
push dword [ebp - 0x630]
call sub.msvcrt.dll_wcslen
add eax, dword [ebp - 0x634]
pop ecx
mov ecx, dword [ebp - 0x62c]
lea eax, [eax + ecx + 2]
cmp eax, 0x104
jb 0x100ca87
mov dword [ebp - 0x620], 0x8007000e
jmp 0x100cb14
mov ecx, dword [ebp - 0x20c]
test cx, cx
je 0x100cab2
lea eax, [ebp - 0x20c]
inc eax
lea edx, [ebx + ebx*4]
lea ebx, [ecx + edx*2 - 0x30]
inc eax
xor ecx, ecx
mov cx, word [eax]
test cx, cx
jne 0x100ca98
cmp bx, 0x409
je 0x100cb14
push dword [ebp - 0x630]
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push 0x1002848
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push 1
push 0
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test eax, eax
jne 0x100caf5
mov dword [ebp - 0x620], 0x80070006
jmp 0x100cb14
cmp dword [ebp - 0x638], 0
mov dword [edi], eax
je 0x100cb14
lea eax, [ebp - 0x414]
push eax
push dword [ebp - 0x638]
call sub.msvcrt.dll_wcscpy
pop ecx
pop ecx
pop esi
cmp dword [ebp - 0x624], 0
je 0x100cb2a
push dword [ebp - 0x624]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x620]
pop edi
pop ebx
call fcn.0100b28a
leave
ret 0x10

Function at 0x402b00
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x402b2b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00409910
add esp, 4
or eax, 0xffffffff
jmp 0x402b5a
mov ecx, dword [ebp - 4]
and ecx, 1
test ecx, ecx
je 0x402b58
mov edx, dword [ebp + 0xc]
and edx, 2
test edx, edx
je 0x402b58
mov dword [0x42ddf4], 0xd
mov dword [0x42ddf8], 5
or eax, 0xffffffff
jmp 0x402b5a
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0xe07370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0xe0738e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0xe30074
push ecx
mov edi, eax
call fcn.00e1b198
mov esi, eax
add esp, 8
test esi, esi
jne 0xe073cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00e1b02e
push esi
call fcn.00e1afb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0xe0a850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0xe0a8ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0xe35720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xe0a8ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.00e1b1e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0xe0a8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0xe35720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xe0a92a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.00e1c082
xor esi, esi
add esp, 8
cmp eax, esi
je 0xe0a957
mov word [eax], si
add eax, 2
push eax
call fcn.00e1c030
add esp, 4
jmp 0xe0a959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0xe0a8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0xe0a8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0xe0aff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret