joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001b40
Capabilities:
Encode data using xor
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2e4
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x10022ac0]
xor ecx, ecx
push esi
mov dword [ebp - 0x2e0], 0x1b
movups xmmword [ebp - 0x2dc], xmm0
mov dword [ebp - 0x2cc], 0x127f7f26
mov dword [ebp - 0x2c8], 0x7c353927
mov dword [ebp - 0x2c4], 0x56393837
nop dword [eax]
lea eax, [ecx + 0x3b]
xor byte [ebp + ecx - 0x2dc], al
inc ecx
mov eax, dword [ebp - 0x2e0]
cmp ecx, eax
jb 0x10001b90
mov byte [ebp + eax - 0x2dc], 0
lea eax, [ebp - 0x2dc]
push eax
lea eax, [ebp - 0x110]
push 0x104
push eax
call fcn.10001050
add esp, 0xc
lea eax, [ebp - 0x110]
push 2
push eax
call fcn.1000afd9
add esp, 8
test eax, eax
je 0x10001c5f
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x10001c70
movaps xmm0, xmmword [0x10022ad0]
xor ecx, ecx
mov dword [ebp - 0x2d8], 0x13
movups xmmword [ebp - 0x2d4], xmm0
mov dword [ebp - 0x2c4], 0x4e21202f
nop dword [eax + eax]
lea eax, [ecx + 0x3b]
xor byte [ebp + ecx - 0x2d4], al
inc ecx
mov eax, dword [ebp - 0x2d8]
cmp ecx, eax
jb 0x10001c20
mov byte [ebp + eax - 0x2d4], 0
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x2d4]
push eax
lea eax, [ebp - 0x110]
push 0x104
push eax
call fcn.10001050
add esp, 0x10
push 8
push 0
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
call fcn.100018c0
lea ecx, [ebp - 0x2e4]
call fcn.100015d0
mov esi, eax
test esi, esi
je 0x10001cf7
push 0
push 0x10001a80
push 0x100022b0
push 0x100022b0
push 0x100022b0
lea eax, [ebp - 0x2c0]
push 0x100022b0
push eax
call fcn.10001ad0
add esp, 0x1c
lea eax, [ebp - 0x2c0]
push 0
push 0x100022d0
push eax
call fcn.10001b00
mov edx, dword [ebp - 0x2e4]
lea eax, [ebp - 0x2c0]
add esp, 0xc
mov ecx, esi
push eax
sub esp, 0xc
push 0x10001ab0
push 0x10001a90
call fcn.10002330
mov ecx, eax
call fcn.10002820
push esi
call fcn.1000b063
add esp, 0x1c
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100055b0
mov esp, ebp
pop ebp
ret

Function at 0x10001d10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
sub dword [ebp + 0xc], 1
jne 0x10001d7d
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
mov dword [esp], 0xb
xor ecx, ecx
mov dword [esp + 4], 0x5f584868
mov dword [esp + 8], 0x6c081552
mov dword [esp + 0xc], 0x46292827
nop dword [eax]
lea eax, [ecx + 0x3b]
xor byte [esp + ecx + 4], al
inc ecx
mov eax, dword [esp]
cmp ecx, eax
jb 0x10001d50
mov byte [esp + eax + 4], 0
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x10026414], eax
test eax, eax
je 0x10001d7d
call fcn.10001b40
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100045a0
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.100045b0

Function at 0x10004830
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.10004840

Function at 0x10004b60
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x1001bc58]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x1001bc58]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x1001bc58]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x1001bc58]
mov eax, edx
pop ebp
ret

Function at 0x10008995
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.1001a480
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.1000d0d2
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x100089d7
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x10008b33
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.1001a3d0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x10025f48]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.1000d3dd
mov ecx, dword [esi*4 + 0x10025f48]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x10008b2c
cmp eax, dword [ecx + edi + 0x24]
jne 0x10008b2c
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10008b2c
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1000d3dd
add esp, 0x14
test edx, edx
jl 0x10008b2c
jg 0x10008aa2
test eax, eax
jb 0x10008b2c
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x10008b2c
jl 0x10008abc
cmp dword [ebp - 0x1008], eax
ja 0x10008b2c
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x10008ada
test ebx, ebx
je 0x10008b13
cmp ecx, edi
jae 0x10008b13
mov al, byte [ecx]
cmp al, 0xd
jne 0x10008af4
lea eax, [edi - 1]
cmp ecx, eax
jae 0x10008b00
cmp byte [ecx + 1], 0xa
jne 0x10008b00
inc ecx
jmp 0x10008b00
movzx eax, al
movsx eax, byte [eax + 0x10025208]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x10008ada
cmp edx, ebx
jne 0x10008ada
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x10008b31
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.100055b0
leave
ret
Function at 0x1000c549
Capabilities:
Parse pe header

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

Function at 0x1000db4e
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 + 0x10025f48]
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 0x1000db8e
cmp byte [ebx], 0xa
jne 0x1000db8e
or byte [edi + eax + 0x28], 4
jmp 0x1000db93
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 0x1000dc92
mov dl, byte [eax]
cmp dl, 0x1a
je 0x1000dc75
inc eax
cmp dl, 0xd
je 0x1000dbbf
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x1000dbe5
cmp eax, ecx
jae 0x1000dbf3
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 0x1000dba7
jmp 0x1000dc92
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 0x1000dc70
cmp dword [ebp - 0x10], 0
je 0x1000dc70
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x10025f48]
test byte [eax + edi + 0x28], 0x48
je 0x1000dc4a
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x1000dc35
mov byte [esi], dl
jmp 0x1000dc46
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x10025f48]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x1000dc92
cmp byte [ebp - 1], 0xa
jne 0x1000dc59
cmp esi, ebx
jne 0x1000dc59
mov byte [esi], 0xa
jmp 0x1000dc91
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.1000d3fb
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x1000dc92
mov byte [esi], 0xd
jmp 0x1000dc91
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x10025f48]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x1000dc8f
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x1000dc92
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x1000dc9b
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 + 0x10025f48]
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 0x1000dce1
cmp word [ebx], dx
jne 0x1000dce1
or byte [eax + edi + 0x28], 4
jmp 0x1000dce6
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 0x1000de49
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 0x1000de29
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x1000dd27
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x1000dd5d
cmp eax, edx
jae 0x1000dd6b
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 0x1000dd02
jmp 0x1000de49
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 0x1000de24
cmp dword [ebp - 0x18], 0
je 0x1000de24
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x10025f48]
test byte [eax + edi + 0x28], 0x48
je 0x1000ddfa
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 0x1000ddbe
mov word [esi], cx
jmp 0x1000ddf5
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x10025f48]
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 + 0x10025f48]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x10025f48]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x1000de49
pop eax
cmp word [ebp - 4], ax
jne 0x1000de0a
cmp esi, ebx
jne 0x1000de0a
mov word [esi], ax
jmp 0x1000de46
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.1000d3fb
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x1000de49
push 0xd
pop eax
jmp 0x1000de05
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x10025f48]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x1000de43
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x1000de49
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 0x10010756
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001ecd8
push 0x1001ecd0
push str.FlsAlloc
push 0x1f
call fcn.10010615
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001078a
push dword [ebp + 8]
mov ecx, esi
call dword [0x1001b164]
call esi
jmp 0x10010790
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x100107d4
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001ece8
push 0x1001ece0
push str.FlsGetValue
push 0x21
call fcn.10010615
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001080b
push dword [ebp + 8]
mov ecx, esi
call dword [0x1001b164]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x10010813
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001ecf0
push 0x1001ece8
push str.FlsSetValue
push 0x22
call fcn.10010615
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001084d
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1001b164]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10012266
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 0x10012303
push ebx
push esi
call fcn.1001222f
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.10010ac6
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100122b0
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10012302
push edi
push eax
call fcn.1000f239
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100122d0
call fcn.1000eca2
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10012301
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10010ac6
add esp, 0x20
test eax, eax
jne 0x100122ef
push edi
call fcn.1000eca2
jmp 0x100122f7
push ebx
call fcn.1000eca2
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 0x10017841
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.100177bd
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x100179b0
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x100179b0
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x10017965
jg 0x1001789d
test eax, eax
je 0x1001795b
push 1
push 0x1000
call fcn.1001112f
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x100178c0
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x10017952
push 0x8000
push ebx
call fcn.100176ee
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x100178e9
jg 0x100178e4
cmp ecx, 0x1000
jb 0x100178e9
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.10014c5f
add esp, 0x10
cmp eax, 0xffffffff
je 0x1001792e
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x100178e4
jl 0x10017915
test ecx, ecx
jne 0x100178d6
push dword [ebp - 0xc]
push ebx
call fcn.100176ee
push esi
call fcn.1000eca2
add esp, 0xc
xor ebx, ebx
jmp 0x100179be
cmp byte [edi + 0x24], 0
je 0x10017945
cmp dword [edi + 0x20], 5
jne 0x10017945
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x10017950
mov ebx, dword [edi + 0x18]
jmp 0x10017952
xor ebx, ebx
push esi
call fcn.1000eca2
pop ecx
jmp 0x100179be
test ecx, ecx
jg 0x10017927
jl 0x10017965
test eax, eax
jae 0x10017927
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1000d3fb
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x10017985
cmp byte [edi + 0x1c], 0
je 0x10017927
jmp 0x100179b6
push ebx
call fcn.10012f91
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x10017927
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x100179be
cmp byte [edi + 0x1c], 0
je 0x100179bb
mov ebx, dword [edi + 0x18]
jmp 0x100179be
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.1000d3fb
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1001a320
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001a34d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001a34d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x62dff0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x17a000]
push edi
jmp 0x62e00a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x62e011
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x62e000
mov eax, 1
add ebx, ebx
jne 0x62e023
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x62e034
jne 0x62e053
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x62e053
dec eax
add ebx, ebx
jne 0x62e040
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x62e018
add ebx, ebx
jne 0x62e04f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x62e0a5
xor ecx, ecx
sub eax, 3
jb 0x62e06b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x62e0da
sar eax, 1
mov ebp, eax
jmp 0x62e076
add ebx, ebx
jne 0x62e076
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x62e044
inc ecx
add ebx, ebx
jne 0x62e084
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x62e044
add ebx, ebx
jne 0x62e091
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x62e086
jne 0x62e0a2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x62e086
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x62e0c4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x62e0b6
jmp 0x62e006
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x62e0c4
add edi, ecx
jmp 0x62e006
pop esi
mov edi, esi
mov ecx, 0x85ef
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x62e0e2
cmp byte [edi], 0x1a
jne 0x62e0e2
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 0x62e0e7
lea edi, [esi + 0x222000]
mov eax, dword [edi]
or eax, eax
je 0x62e15f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x22f318]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x22f444]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x62e114
mov ecx, edi
jns 0x62e143
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 + 0x22f448]
or eax, eax
je 0x62e159
mov dword [ebx], eax
add ebx, 4
jmp 0x62e131
call dword [esi + 0x22f458]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x62e190
cmp al, 0xef
ja 0x62e183
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x62e165
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x62e172
mov ebp, dword [esi + 0x22f44c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x25f]
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 0x62e1c4
sub esp, 0xffffff80
jmp 0x55b7de
Function at 0x40110e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4b1004]
jne 0x401118
repz ret
jmp fcn.004016b3

Function at 0x4050db
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4b1004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00403f01
and dword [ebp - 0x14], 0
cmp dword [0x4b3c78], 0
mov dword [ebp - 0x18], eax
jne 0x40518e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x405236
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x405236
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4b3c78], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4b3c7c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4b3c80], eax
call edi
push eax
call esi
mov dword [0x4b3c88], eax
test eax, eax
je 0x40518e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4b3c84], eax
mov eax, dword [0x4b3c84]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4051e7
cmp dword [0x4b3c88], ecx
je 0x4051e7
push eax
call esi
push dword [0x4b3c88]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4051e7
test ebx, ebx
je 0x4051e7
call edi
test eax, eax
je 0x4051de
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4051de
test byte [ebp - 8], 1
jne 0x4051e7
or dword [ebp + 0x10], 0x200000
jmp 0x40521a
mov eax, dword [0x4b3c7c]
cmp eax, dword [ebp - 0x18]
je 0x40521a
push eax
call esi
test eax, eax
je 0x40521a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40521a
mov eax, dword [0x4b3c80]
cmp eax, dword [ebp - 0x18]
je 0x40521a
push eax
call esi
test eax, eax
je 0x40521a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4b3c78]
call esi
test eax, eax
je 0x405236
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x405238
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040110e
leave
ret
Function at 0x4a5430
Capabilities:
Create pipe

Disassembly:
sub esp, 0x41c
mov eax, dword [0x4b1004]
xor eax, esp
mov dword [esp + 0x418], eax
mov eax, dword [esp + 0x420]
mov eax, dword [eax]
push ebx
mov ebx, dword [0x4b5a2c]
push edi
mov edi, dword [0x4b7eac]
call fcn.004a5370
cmp dword [0x4b7eac], 0x2f
jne 0x4a54c4
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
lea eax, [esp + 0x2c]
push eax
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ReadEventLogA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
call fcn.004a53a0
mov ecx, dword [esp + 0x420]
pop edi
pop ebx
xor ecx, esp
call fcn.0040110e
add esp, 0x41c
ret
Function at 0x4a5930
Capabilities:
Get disk information

Disassembly:
mov eax, 0x1010
call fcn.0040c3b0
mov eax, dword [0x4b1004]
xor eax, esp
mov dword [esp + 0x100c], eax
mov eax, dword [0x4b7eac]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetSystemTimes]
push edi
mov ebx, 0x1519af
mov edi, 0x8e46a6f0
mov dword [0x4b7b14], edi
cmp eax, 0x3dc
jne 0x4a597a
push 0
push 0
push 0
call esi
mov eax, dword [0x4b7eac]
dec ebx
jne 0x4a5960
mov edi, dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov ebx, dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
xor esi, esi
jmp 0x4a5990
cmp eax, 0xa5f
jne 0x4a59c7
push 0
call edi
push 0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
lea ecx, [esp + 0x830]
push ecx
push 0x4af500
call ebx
mov eax, dword [0x4b7eac]
cmp esi, 0x84620b
jne 0x4a59de
mov eax, dword [0x4b2bf0]
add eax, 0xa231
mov dword [0x4b7eac], eax
cmp eax, 0x141
jne 0x4a59f9
mov dword [0x4b41b8], 0xec58acac
mov dword [0x4b41bc], 0xffffffff
inc esi
cmp esi, 0x12d225a
jl 0x4a5990
call fcn.004a54e0
mov ecx, dword [esp + 0x1018]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0040110e
add esp, 0x1010
ret 0x10