joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6823dc
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
push edi
push esi
lea eax, [ebp - 4]
push eax
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 4], ebx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 4], ebx
jbe 0x68242c
cmp dword [ebp - 4], 2
ja 0x68e965
mov ecx, dword [edi]
test cl, 1
jne 0x68242c
cmp esi, ebx
je 0x682425
shr ecx, 1
cmp word [esi + ecx*2 - 2], bx
jne 0x68242c
pop edi
pop esi
pop ebx
leave
ret 0xc
push 0xd
pop eax
jmp 0x682425

Function at 0x6824ed
Capabilities:
Delete file
Move file

Disassembly:
push 0x14
mov eax, 0x696b05
call fcn.00681350
mov esi, ecx
mov eax, dword [esi + 0x44]
xor edi, edi
mov ebx, 0x8007000e
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
cmp eax, edi
je 0x682519
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x44], edi
cmp dword [ebp + 8], edi
je 0x68265b
cmp dword [ebp + 0xc], edi
je 0x68265b
push 1
call fcn.0068227c
mov dword [ebp - 0x1c], eax
cmp eax, edi
je 0x68264a
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
mov dword [ebp - 4], edi
call esi
push dword [ebp + 8]
mov edi, eax
call esi
lea eax, [eax + edi + 1]
xor ecx, ecx
push 2
pop edx
mov dword [ebp - 0x20], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.006813e0
pop ecx
mov dword [ebp - 0x18], eax
test eax, eax
je 0x68259b
push dword [ebp - 0x1c]
inc edi
push edi
push eax
call fcn.006821cb
mov ebx, eax
test ebx, ebx
jl 0x68259b
push dword [ebp + 8]
push dword [ebp - 0x20]
push dword [ebp - 0x18]
call fcn.00682436
mov ebx, eax
test ebx, ebx
jl 0x68259b
xor ebx, ebx
inc ebx
or dword [ebp - 4], 0xffffffff
test ebx, ebx
jl 0x682632
push 2
pop ebx
push dword [ebp - 0x1c]
mov dword [ebp - 4], ebx
call esi
push dword [ebp + 0xc]
mov edi, eax
call esi
lea esi, [eax + edi + 1]
xor ecx, ecx
mov eax, esi
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.006813e0
pop ecx
mov dword [ebp - 0x14], eax
test eax, eax
je 0x682654
push dword [ebp - 0x1c]
inc edi
push edi
push eax
call fcn.006821cb
mov ebx, eax
test ebx, ebx
jl 0x682623
push dword [ebp + 0xc]
push esi
push dword [ebp - 0x14]
call fcn.00682436
mov ebx, eax
test ebx, ebx
jl 0x682623
xor ebx, ebx
inc ebx
test ebx, ebx
jl 0x682623
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 1
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x68f3a2
xor ebx, ebx
cmp dword [ebp - 0x14], 0
je 0x682632
push dword [ebp - 0x14]
call fcn.006813c0
pop ecx
cmp dword [ebp - 0x18], 0
je 0x682641
push dword [ebp - 0x18]
call fcn.006813c0
pop ecx
push dword [ebp - 0x1c]
call fcn.006813c0
pop ecx
mov eax, ebx
call fcn.00681390
ret 8
mov ebx, 0x8007000e
jmp 0x6825fe
mov ebx, 0x80070057
jmp 0x68264a
Function at 0x683a67
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 8], 0
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x683ae4
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x683ac0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push 0x683ad0
push dword [ebp - 4]
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 0xffffffff
pop esi
je 0x68e30e
mov eax, dword [ebp - 8]
leave
ret
Function at 0x684267
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
cmp dword [0x69b00c], esi
jne 0x6842be
lea eax, [ebp - 4]
push eax
push esi
push esi
push 0x682c6f
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x69b00c], eax
cmp eax, esi
je 0x68e4ec
push 0xffffffffffffffff
push dword [0x69b014]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [0x69b014]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
cmp dword [0x69b018], esi
jl 0x68e50a
pop esi
leave
ret

Function at 0x684441
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x684498
call fcn.00682712
xor eax, eax
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x684490
cmp ecx, 0xffffffff
je 0x684490
and dword [ebp - 4], eax
mov edx, 0x5a4d
cmp word [ecx], dx
jne 0x684489
mov edx, dword [ecx + 0x3c]
test edx, edx
jl 0x684489
cmp edx, 0x10000000
jae 0x684489
lea eax, [edx + ecx]
mov dword [ebp - 0x1c], eax
cmp dword [eax], 0x4550
jne 0x68e892
mov dword [ebp - 4], 0xfffffffe
call fcn.00682757
ret 4

Function at 0x68681f
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x69b004]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
mov esi, ecx
inc eax
cmp dword [esi + 0x2c], 0
jne 0x686933
push edi
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x41c], ax
lea eax, [ebp - 0x41a]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov edi, 0x105
push edi
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [ebp - 0x420], eax
cmp eax, edi
ja 0x68ed16
lea eax, [ebp - 0x41c]
push eax
push edi
lea eax, [ebp - 0x210]
push eax
call fcn.006821cb
test eax, eax
jl 0x686932
mov ecx, dword [ebp - 0x420]
cmp word [ebp + ecx*2 - 0x210], 0x5c
je 0x6868c3
push 0x686994
push edi
lea eax, [ebp - 0x210]
push eax
call fcn.00682436
test eax, eax
jl 0x686932
push 0x686980
push edi
lea eax, [ebp - 0x210]
push eax
call fcn.00682436
test eax, eax
jl 0x686932
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0x2c], eax
test eax, eax
je 0x68ed20
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x686970
push eax
call edi
push 0x68695c
push dword [esi + 0x2c]
mov dword [esi + 0x30], eax
call edi
push 0x686948
push dword [esi + 0x2c]
mov dword [esi + 0x34], eax
call edi
cmp dword [esi + 0x30], 0
mov dword [esi + 0x38], eax
je 0x686940
cmp dword [esi + 0x34], 0
je 0x686940
test eax, eax
je 0x686940
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.006820d4
leave
ret
mov eax, 0x8007007f
jmp 0x686932
Function at 0x6871f8
Capabilities:
Identify system language via api

Disassembly:
push 0x2c
mov eax, 0x69608c
call fcn.006839dd
lea ecx, [ebp - 0x34]
call fcn.00686c55
and dword [ebp - 4], 0
lea eax, [ebp - 0x34]
push eax
push 0
call fcn.0068758b
test eax, eax
jl 0x68722c
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.006872a7
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx esi, ax
mov eax, 0x409
mov edi, 0x687298
cmp ax, si
jne 0x68e4b4
and esi, 0x3ff
push esi
push edi
lea eax, [ebp - 0x30]
push 8
push eax
call fcn.00681451
add esp, 0x10
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0068758b
mov esi, eax
test esi, esi
jl 0x687280
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.006872a7
mov esi, eax
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x34]
lea ecx, [ebp - 0x34]
call fcn.0068760b
mov eax, esi
call fcn.00682b9f
ret

Function at 0x68791d
Capabilities:
Identify system language via api

Disassembly:
lea eax, [ebp - 0x30]
push eax
call esi
push 8
pop eax
push dword [ebp + 0x10]
mov word [ebp - 0x30], ax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x28], eax
cmp eax, ebx
je 0x68dc4f
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push 0x82
lea edx, [ebp - 0x30]
push edx
push 0x687900
push eax
call dword [ecx + 0x10]
mov esi, eax
lea eax, [ebp - 0x30]
push eax
call edi
cmp esi, ebx
jl 0x6879a8
push 1
lea ecx, [ebp - 0x20]
call fcn.006879e3
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x20]
push edx
push 0x6878ec
push eax
call dword [ecx + 0x10]
mov esi, eax
lea eax, [ebp - 0x20]
push eax
call edi
push eax
call fcn.006871e0
cmp esi, ebx
jl 0x6879a8
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
push 3
movzx eax, ax
pop ecx
mov word [ebp - 0x20], cx
mov dword [ebp - 0x18], eax
jmp 0x687992
push 0x24
mov eax, 0x695c85
call fcn.006826dd
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x20]
push eax
call esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push eax
mov dword [ebp - 0x10], ebx
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x10]
mov dword [ebp + 8], eax
mov byte [ebp - 4], 1
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp dword [ebp + 0xc], ebx
je 0x687854
push 1
lea ecx, [ebp - 0x20]
call fcn.006879e3
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x20]
push edx
push 0x683984
push eax
call dword [ecx + 0x10]
cmp eax, ebx
jl 0x6879a6
push 3
pop eax
mov word [ebp - 0x20], ax
mov dword [ebp - 0x18], 0x409
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push 1
lea edx, [ebp - 0x20]
push edx
push 0x6879d0
push eax
call dword [ecx + 0x10]
mov esi, eax
mov byte [ebp - 4], bl
lea ecx, [ebp + 8]
call fcn.00687455
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x20]
push eax
call edi
push eax
call fcn.006871e0
mov eax, esi
call fcn.00681390
ret 0xc
Function at 0x687b05
Capabilities:
Identify system language via api

Disassembly:
push 0x50
mov eax, 0x695fc0
call fcn.006839dd
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
xor esi, esi
push esi
mov dword [ebp - 0x5c], ecx
push eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x54], esi
call fcn.00687c2b
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x58]
mov ebx, eax
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
cmp dx, si
jne 0x687b34
sub eax, ecx
sar eax, 1
mov edi, eax
je 0x687b63
movzx eax, word [ebx + esi*2]
push eax
call dword [sym.imp.msvcrt.dll_iswxdigit]
pop ecx
test eax, eax
je 0x687b5b
inc esi
cmp esi, edi
jb 0x687b46
cmp esi, edi
jb 0x687c0e
xor eax, eax
mov edx, ebx
test edi, edi
jbe 0x687c0e
cmp word [edx], 0x30
jne 0x687b7c
inc eax
inc edx
inc edx
cmp eax, edi
jb 0x687b6f
cmp eax, edi
jae 0x687c0e
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x687b89
sub eax, esi
sar eax, 1
cmp eax, 3
ja 0x687c0e
push 0x10
push 0
push edx
call dword [sym.imp.msvcrt.dll_wcstoul]
add esp, 0xc
movzx esi, ax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
cmp cx, si
jne 0x687c03
movzx eax, ax
movzx eax, ax
push eax
push 0x687c18
lea eax, [ebp - 0x50]
push 0x20
push eax
call fcn.00681451
mov ecx, dword [ebp - 0x5c]
add esp, 0x10
lea eax, [ebp - 0x50]
push eax
call fcn.00686c60
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x58]
lea ecx, [ebp - 0x58]
call fcn.0068760b
mov eax, dword [ebp - 0x54]
call fcn.00682b9f
ret 8
or esi, 0x400
movzx eax, si
jmp 0x687bc6
mov dword [ebp - 0x54], 0x80041001
jmp 0x687be9
Function at 0x687f3e
Capabilities:
Create directory

Disassembly:
push 0x10
mov eax, 0x696a7d
call fcn.00681350
mov dword [ebp - 0x1c], ecx
xor esi, esi
mov ebx, 0x8007000e
mov dword [ebp - 0x14], esi
cmp dword [ebp + 8], esi
je 0x688046
push 1
call fcn.0068227c
mov dword [ebp - 0x18], eax
cmp eax, esi
je 0x68803c
mov dword [ebp - 4], esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
call esi
push dword [ebp + 8]
mov edi, eax
call esi
lea esi, [eax + edi + 1]
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.006813e0
pop ecx
mov dword [ebp - 0x14], eax
test eax, eax
je 0x687fcd
push dword [ebp - 0x18]
inc edi
push edi
push eax
call fcn.006821cb
mov ebx, eax
test ebx, ebx
jl 0x688024
push dword [ebp + 8]
push esi
push dword [ebp - 0x14]
call fcn.00682436
mov ebx, eax
test ebx, ebx
jl 0x688024
xor ebx, ebx
inc ebx
test ebx, ebx
jl 0x688024
push 0
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x687ff6
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0xb7
jne 0x68f33c
xor ebx, ebx
inc ebx
test ebx, ebx
jl 0x688024
xor ebx, ebx
push ebx
push 0x80
push 2
push ebx
push 1
push 0x40000000
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x44], eax
cmp eax, 0xffffffff
je 0x68f353
cmp dword [ebp - 0x14], 0
je 0x688033
push dword [ebp - 0x14]
call fcn.006813c0
pop ecx
push dword [ebp - 0x18]
call fcn.006813c0
pop ecx
mov eax, ebx
call fcn.00681390
ret 4
mov ebx, 0x80070057
jmp 0x68803c

Function at 0x6885f1
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x69b004]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 8], 0
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x44]
test eax, eax
je 0x688684
cmp eax, 0xffffffff
je 0x688684
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x688684
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
and dword [ebp - 0xc], 0
push ebx
call esi
push ebx
mov dword [ebp - 0x10], eax
call esi
lea esi, [eax + eax + 2]
mov eax, esi
call fcn.006885b5
mov eax, esp
push esi
push ebx
push eax
call fcn.00688692
mov esi, dword [ebp - 0x10]
mov edi, dword [edi + 0x44]
push 0
lea ecx, [ebp - 0xc]
push ecx
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x68f2da
cmp esi, dword [ebp - 0xc]
jne 0x68f2f6
mov eax, dword [ebp - 8]
lea esp, [ebp - 0x1c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006820d4
leave
ret 4
mov dword [ebp - 8], 0x80070057
jmp 0x68866d
Function at 0x6888ef
Capabilities:
Get geographical location

Disassembly:
push 0x210
mov eax, 0x696be9
call fcn.006820e6
xor eax, eax
push 0x1fe
mov word [ebp - 0x214], ax
xor ebx, ebx
lea eax, [ebp - 0x212]
push ebx
push eax
call sub.msvcrt.dll_memset
mov esi, dword [ebp + 8]
add esp, 0xc
push 0x100
lea eax, [ebp - 0x214]
push eax
push 0x1001
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea eax, [ebp - 0x214]
and esi, 0x3ff
push eax
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x218], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
add esi, 7
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.006813e0
mov edi, eax
pop ecx
cmp edi, ebx
je 0x688999
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 0x21c]
push 0x6889a4
push esi
push edi
call fcn.00681451
add esp, 0x14
mov eax, edi
call fcn.00682126
ret 4
Function at 0x690d7d
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
push edi
lea eax, [ecx + eax + 0x18]
test esi, esi
jbe 0x690dba
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x690db2
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x690dbc
inc edx
add eax, 0x28
cmp edx, esi
jb 0x690da2
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x11001f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xaca000]
push edi
or ebp, 0xffffffff
jmp 0x1100212
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1100219
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1100208
mov eax, 1
add ebx, ebx
jne 0x110022b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x110023c
jne 0x110025b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x110025b
dec eax
add ebx, ebx
jne 0x1100248
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1100220
add ebx, ebx
jne 0x1100257
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x11002ad
xor ecx, ecx
sub eax, 3
jb 0x1100273
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x11002e2
sar eax, 1
mov ebp, eax
jmp 0x110027e
add ebx, ebx
jne 0x110027e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x110024c
inc ecx
add ebx, ebx
jne 0x110028c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x110024c
add ebx, ebx
jne 0x1100299
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x110028e
jne 0x11002aa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x110028e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x11002cc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x11002be
jmp 0x110020e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x11002cc
add edi, ecx
jmp 0x110020e
pop esi
mov edi, esi
mov ecx, 0x2f9d5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x11002ea
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
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 0x11002ef
lea edi, [esi + 0xcfd000]
mov eax, dword [edi]
or eax, eax
je 0x1100360
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd06eb0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd06fa0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1100315
mov ecx, edi
jns 0x1100344
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 + 0xd06fa4]
or eax, eax
je 0x110035a
mov dword [ebx], eax
add ebx, 4
jmp 0x1100332
call dword [esi + 0xd06fb4]
mov ebp, dword [esi + 0xd06fa8]
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 0x1100394
sub esp, 0xffffff80
jmp 0xc890ba

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x10004a90
Capabilities:
Create directory

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov bl, byte [edi + 1]
lea esi, [edi + 1]
test bl, bl
je 0x10004ac0
nop
cmp bl, 0x2f
je 0x10004aaa
cmp bl, 0x5c
jne 0x10004ab8
push edi
mov byte [esi], 0
call fcn.100425e5
add esp, 4
mov byte [esi], bl
mov bl, byte [esi + 1]
inc esi
test bl, bl
jne 0x10004aa0
pop edi
pop esi
pop ebx
ret

Function at 0x1000c6a0
Capabilities:
Compute adler32 checksum

Disassembly:
sub esp, 0xc
push ebp
mov ebp, dword [esp + 0x14]
mov eax, 0x5e6ea9af
push esi
push edi
mov edi, edx
movzx esi, cx
mul ebp
shr ecx, 0x10
shr edx, 0xb
imul eax, edx, 0x15b0
mov edx, ebp
sub edx, eax
mov dword [esp + 0xc], edx
test edi, edi
jne 0x1000c6d8
lea eax, [edi + 1]
pop edi
pop esi
pop ebp
add esp, 0xc
ret
test ebp, ebp
je 0x1000c7d2
push ebx
xor ebx, ebx
cmp edx, 7
jbe 0x1000c73c
mov ebp, 7
sub ebp, edi
nop
movzx eax, byte [edi]
add ebx, 8
add esi, eax
movzx eax, byte [edi + 1]
add ecx, esi
add esi, eax
movzx eax, byte [edi + 2]
add ecx, esi
add esi, eax
movzx eax, byte [edi + 3]
add ecx, esi
add esi, eax
movzx eax, byte [edi + 4]
add ecx, esi
add esi, eax
movzx eax, byte [edi + 5]
add ecx, esi
add esi, eax
movzx eax, byte [edi + 6]
add ecx, esi
add esi, eax
movzx eax, byte [edi + 7]
add edi, 8
add ecx, esi
add esi, eax
add ecx, esi
lea eax, [edi + ebp]
cmp eax, edx
jb 0x1000c6f0
xor ebp, ebp
cmp ebx, edx
jae 0x1000c792
mov eax, edx
sub eax, ebx
cmp eax, 2
jb 0x1000c783
sub edx, ebx
sub edx, 2
shr edx, 1
inc edx
lea eax, [ebx + edx*2]
mov ebx, ebp
mov dword [esp + 0x18], eax
nop dword [eax]
movzx eax, byte [edi]
add esi, eax
movzx eax, byte [edi + 1]
add ebp, esi
add edi, 2
add esi, eax
add ebx, esi
sub edx, 1
jne 0x1000c760
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x10]
jae 0x1000c78d
jmp 0x1000c785
mov ebx, ebp
movzx eax, byte [edi]
add esi, eax
add ecx, esi
inc edi
lea eax, [ebx + ebp]
add ecx, eax
mov eax, 0x80078071
mov ebp, dword [esp + 0x20]
mul esi
shr edx, 0xf
imul eax, edx, 0xffff000f
add esi, eax
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul eax, edx, 0xffff000f
mov edx, 0x15b0
add ecx, eax
sub ebp, dword [esp + 0x10]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x10], edx
jne 0x1000c6e1
pop ebx
shl ecx, 0x10
pop edi
lea eax, [esi + ecx]
pop esi
pop ebp
add esp, 0xc
ret
Function at 0x10015500
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, edx
push edi
mov edi, ecx
mov eax, dword [edi]
cmp ebx, 8
jb 0x1001559b
mov edx, ebx
shr edx, 3
mov ecx, edx
neg ecx
lea ebx, [ebx + ecx*8]
xor eax, dword [esi]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x100775f0]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x100775f0]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x100775f0]
mov ecx, eax
movzx eax, cl
shr ecx, 8
mov eax, dword [eax*4 + 0x100775f0]
xor eax, dword [esi + 4]
add esi, 8
xor eax, ecx
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x100775f0]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x100775f0]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x100775f0]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x100775f0]
sub edx, 1
jne 0x10015522
test bl, 4
je 0x100155dc
xor eax, dword [esi]
sub ebx, 4
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x100775f0]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x100775f0]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x100775f0]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x100775f0]
add esi, 4
test ebx, ebx
je 0x100155fa
movzx edx, byte [esi]
lea esi, [esi + 1]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x100775f0]
sub ebx, 1
jne 0x100155e0
mov dword [edi], eax
pop edi
pop esi
pop ebx
ret

Function at 0x10022a8f
Capabilities:
Parse pe header

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