joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001b070
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100331b5
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x10047074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0xc]
mov edi, edx
cmp dword [edx + 0x14], 8
mov eax, dword [edx + 0x10]
jb 0x1001b0aa
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
add eax, eax
je 0x1001b0cb
mov edx, eax
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x1001b0b7
mov edx, dword [ebp + 0xc]
push esi
push edx
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.1001af50
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x1001b0fc
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [ebx + 8], 0x71c71c7
je 0x1001b259
lea eax, [ebx + 4]
mov dword [ebp - 0x1c], eax
push 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
call fcn.10020074
add esp, 4
mov edi, eax
mov dword [ebp - 0x18], edi
push dword [ebp + 0xc]
lea ecx, [edi + 8]
call fcn.10002c80
mov dword [edi + 0x20], 0
mov eax, dword [ebx + 8]
inc eax
movss xmm3, dword [ebx]
mov dword [ebp - 4], 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10036410]
mov eax, dword [ebx + 0x1c]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x10036410]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x1001b1f7
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x14], xmm0
fld qword [ebp - 0x14]
fstp qword [esp]
call fcn.100257a0
fstp qword [ebp - 0x14]
movsd xmm0, qword [ebp - 0x14]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.10020a30
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x1001b1db
cmp eax, 0x200
jae 0x1001b1d9
shl eax, 3
cmp eax, ecx
jae 0x1001b1db
mov eax, ecx
push eax
mov ecx, ebx
call fcn.1001bda0
push esi
lea eax, [edi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1001af50
mov edx, dword [eax]
jmp 0x1001b1fa
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx + 8]
mov ecx, dword [edx + 4]
inc eax
mov dword [ebx + 8], eax
mov dword [edi], edx
mov dword [edi + 4], ecx
mov dword [ecx], edi
mov dword [edx + 4], edi
mov eax, dword [ebx + 0x18]
mov dword [ebp + 0xc], ecx
and eax, esi
mov ecx, dword [ebx + 0xc]
mov esi, dword [ecx + eax*8]
cmp esi, dword [ebx + 4]
jne 0x1001b226
mov dword [ecx + eax*8], edi
jmp 0x1001b238
cmp esi, edx
jne 0x1001b22f
mov dword [ecx + eax*8], edi
jmp 0x1001b23c
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x1001b23c
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.1001fb9b
int3
Function at 0x1001b270
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x1c], 8
push ebx
mov ebx, dword [eax + 0x18]
mov dword [ebp - 4], ecx
lea ecx, [eax + 8]
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, ecx
jb 0x1001b292
mov edi, dword [ecx]
xor edx, edx
mov esi, 0x811c9dc5
add ebx, ebx
je 0x1001b2b1
nop dword [eax]
movzx ecx, byte [edx + edi]
inc edx
xor ecx, esi
imul esi, ecx, 0x1000193
cmp edx, ebx
jb 0x1001b2a0
mov ebx, dword [ebp - 4]
mov edx, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and edx, esi
mov esi, dword [ecx + edx*8]
cmp dword [ecx + edx*8 + 4], eax
jne 0x1001b2de
cmp esi, eax
jne 0x1001b2d5
mov eax, dword [ebx + 4]
mov dword [ecx + edx*8], eax
mov dword [ecx + edx*8 + 4], eax
jmp 0x1001b2e7
mov eax, dword [eax + 4]
mov dword [ecx + edx*8 + 4], eax
jmp 0x1001b2e7
cmp esi, eax
jne 0x1001b2ea
mov eax, dword [eax]
mov dword [ecx + edx*8], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
lea ecx, [ebx + 4]
dec dword [ecx + 4]
mov eax, dword [eax + 4]
push dword [ebp - 8]
push ecx
mov dword [eax], esi
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
mov dword [esi + 4], eax
call fcn.10002690
push 0x24
push dword [ebp + 0xc]
call fcn.100200a4
mov eax, dword [ebp + 8]
add esp, 0x10
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x1001b330
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 0xc]
mov eax, ecx
push ebx
push esi
push edi
cmp dword [edx + 0x14], 8
mov edi, edx
mov ebx, dword [edx + 0x10]
mov dword [ebp - 4], eax
jb 0x1001b34e
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
add ebx, ebx
je 0x1001b374
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x1001b360
mov eax, dword [ebp - 4]
push esi
push edx
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.1001af50
pop edi
pop esi
pop ebx
mov ecx, dword [eax + 4]
mov eax, dword [ebp + 8]
test ecx, ecx
jne 0x1001b394
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 4]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x1001e200
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x10047074]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
movzx ecx, word [esi]
mov eax, ecx
or eax, 0x20
sub eax, 0x61
cmp ax, 0x19
ja 0x1001e23c
cmp word [esi + 2], 0x3a
jne 0x1001e23c
cmp word [esi + 4], 0x5c
jne 0x1001e23c
cmp word [esi + 6], di
je 0x1001e28a
movzx eax, word [esi + 2]
mov word [ebp - 0xa], ax
movzx eax, word [esi + 4]
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
mov word [ebp - 0xc], cx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x1001e28a
push 0
push 0x200000
push eax
push 0
push 7
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1001e29c
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10020811
mov esp, ebp
pop ebp
ret
mov eax, dword [0x1004ae0c]
lea ecx, [ebp - 0x14]
push 0x23
push 8
push ecx
lea ecx, [ebp - 0x1c]
push ecx
push esi
call eax
test eax, eax
jne 0x1001e2c9
test dword [ebp - 0x14], 0x400
je 0x1001e2c9
cmp dword [ebp - 0x10], 0x44
mov eax, 1
cmove edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.10020811
mov esp, ebp
pop ebp
ret
Function at 0x1001e980
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 0xc]
mov edx, 0x10047058
test ecx, ecx
jne 0x1001e9b5
mov ecx, dword [ebp + 8]
or eax, 0xffffffff
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x1001eaaf
mov dword [0x1004ae10], 1
mov dword [0x1004ae14], eax
mov esp, ebp
pop ebp
ret
mov ecx, dword [ecx]
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
lea edi, [ecx + eax*4]
mov eax, dword [edi]
mov dword [ebp - 4], eax
test cl, 3
je 0x1001e9e8
mov ecx, esi
or eax, 0xffffffff
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x1001e9e8
mov dword [0x1004ae10], 2
mov dword [0x1004ae14], eax
push ebx
mov ebx, dword [ebp + 0x14]
push ebx
push 3
push esi
call fcn.1001f7e0
push dword [ebp - 4]
push 4
push esi
call fcn.1001f7e0
add esp, 0x18
mov dword [ebp + 0xc], 0
lea eax, [ebp + 0xc]
push eax
push 0x40
push 4
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1001ea59
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
test ecx, ecx
jle 0x1001ea32
movzx ecx, cx
or ecx, 0x80070000
or eax, 0xffffffff
mov edx, 0x10047058
lock cmpxchg dword [edx], esi
test eax, eax
jne 0x1001eaac
pop ebx
pop edi
mov dword [0x1004ae10], 5
mov dword [0x1004ae14], ecx
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 4]
mov dword [edi], ebx
mov dword [eax], ecx
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0xc]
push 4
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1001eaac
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
test ecx, ecx
jle 0x1001ea8c
movzx ecx, cx
or ecx, 0x80070000
or eax, 0xffffffff
mov edx, 0x10047058
lock cmpxchg dword [edx], esi
test eax, eax
jne 0x1001eaac
mov dword [0x1004ae10], 6
mov dword [0x1004ae14], ecx
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1001f850
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x1004ae64]
sub esp, 0xc
test eax, eax
je 0x1001f907
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1001f907
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, dword [0x1004ae70]
cmp ecx, 0x7d0
jbe 0x1001f8f2
mov dword [0x1004ae70], eax
lea eax, [ebp - 8]
push eax
push 0x2021f
push 0
push dword [0x10047054]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1001f8f2
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
mov dword [ebp - 0xc], 4
push eax
push 0
push 0x10
push str.InfPatch
push 0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x1001f8e2
cmp dword [ebp - 4], eax
je 0x1001f8e2
mov al, 1
jmp 0x1001f8e4
xor al, al
push dword [ebp - 8]
mov byte [0x1004ae6c], al
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [0x1004ae64]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov al, byte [0x1004ae6c]
mov esp, ebp
pop ebp
ret
xor al, al
mov esp, ebp
pop ebp
ret
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 0x1000125c
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0xc], 0
call sub.KERNEL32.DLL_GetEnvironmentStringsA
mov ebx, eax
mov dword [ebp - 0x10], ebx
jmp 0x10001299
cmp byte [ebx], 0x3d
je 0x10001285
inc dword [ebp - 0xc]
mov edi, ebx
xor eax, eax
stc
sbb ecx, ecx
repne scasb al, byte es:[edi]
neg ecx
lea eax, [ecx - 2]
mov edi, eax
inc edi
lea ebx, [ebx + edi]
cmp byte [ebx], 0
jne 0x10001278
mov edi, dword [ebp - 0xc]
inc edi
lea edi, [edi*4]
mov dword [ebp - 0x14], edi
push dword [ebp - 0x14]
call sub.CRTDLL.DLL_malloc
pop ecx
mov dword [ebp - 8], eax
mov dword [0x10003010], eax
cmp dword [ebp - 8], 0
jne 0x100012cc
xor eax, eax
jmp 0x10001342
mov ebx, dword [ebp - 0x10]
jmp 0x10001325
mov edi, ebx
xor eax, eax
stc
sbb ecx, ecx
repne scasb al, byte es:[edi]
neg ecx
lea eax, [ecx - 2]
mov edi, eax
inc edi
mov dword [ebp - 4], edi
cmp byte [ebx], 0x3d
je 0x1000131f
push dword [ebp - 4]
call sub.CRTDLL.DLL_malloc
pop ecx
mov esi, dword [ebp - 8]
mov dword [esi], eax
or eax, eax
jne 0x10001308
jmp 0x10001342
push ebx
mov edi, dword [ebp - 8]
push dword [edi]
call sub.CRTDLL.DLL_strcpy
add esp, 8
add dword [ebp - 8], 4
mov edx, dword [ebp - 4]
lea ebx, [ebx + edx]
cmp byte [ebx], 0
jne 0x100012d1
mov edx, dword [ebp - 8]
mov dword [edx], 0
mov eax, 1
pop edi
pop esi
pop ebx
leave
ret
Function at 0x67ea10
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1ae000]
push edi
or ebp, 0xffffffff
jmp 0x67ea32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x67ea39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x67ea28
mov eax, 1
add ebx, ebx
jne 0x67ea4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x67ea5c
jne 0x67ea7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x67ea7b
dec eax
add ebx, ebx
jne 0x67ea68
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x67ea40
add ebx, ebx
jne 0x67ea77
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x67eacd
xor ecx, ecx
sub eax, 3
jb 0x67ea93
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x67eb02
sar eax, 1
mov ebp, eax
jmp 0x67ea9e
add ebx, ebx
jne 0x67ea9e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x67ea6c
inc ecx
add ebx, ebx
jne 0x67eaac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x67ea6c
add ebx, ebx
jne 0x67eab9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x67eaae
jne 0x67eaca
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x67eaae
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x67eaec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x67eade
jmp 0x67ea2e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x67eaec
add edi, ecx
jmp 0x67ea2e
pop esi
mov edi, esi
mov ecx, 0x37d5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x67eb0a
cmp byte [edi], 0x12
jne 0x67eb0a
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 0x67eb0f
lea edi, [esi + 0x27b000]
mov eax, dword [edi]
or eax, eax
je 0x67eb87
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x285c38]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x285cfc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x67eb3c
mov ecx, edi
jns 0x67eb6b
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 + 0x285d04]
or eax, eax
je 0x67eb81
mov dword [ebx], eax
add ebx, 4
jmp 0x67eb59
call dword [esi + 0x285d00]
mov ebp, dword [esi + 0x285d08]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x67ebbb
sub esp, 0xffffff80
jmp 0x46f24e
Function at 0x10005e73
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
push 0x14
xor edi, edi
call fcn.1001c2a3
pop ecx
mov ecx, dword [0x10064064]
mov esi, eax
cmp word [ecx + 0x22a], 0x3a
jne 0x10005ec9
mov ax, word [ecx + 0x228]
mov word [ebp - 0x20], ax
mov ax, word [ecx + 0x22a]
mov word [ebp - 0x1e], ax
mov ax, word [ecx + 0x22c]
mov word [ebp - 0x1c], ax
xor eax, eax
mov word [ebp - 0x1a], ax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [esi], 2
mov dword [esi + 4], edi
mov eax, dword [0x10064064]
mov ecx, dword [eax + 0x224]
mov dword [esi + 8], ecx
call fcn.10002a52
mov dword [esi + 0xc], eax
test eax, eax
je 0x10005efa
push 0x3b
pop edx
mov ecx, eax
call fcn.1001e35b
test eax, eax
jne 0x10005f08
call fcn.10003114
test eax, eax
je 0x10005f08
or edi, 0xffffffff
jmp 0x10005f0f
mov ecx, esi
call fcn.1000523b
lea ecx, [esi + 0xc]
call fcn.1001e470
lea ecx, [esi + 0x10]
call fcn.1001e470
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 1
jne 0x10006327
call fcn.1001c28e
call fcn.1001cc12
mov eax, dword [ebp + 8]
push eax
mov dword [0x10064078], eax
call fcn.100399fc
mov edx, 0x134
mov dword [esp], 0x498
mov ecx, 0x1005ab60
call fcn.10022487
mov dword [0x10064060], eax
mov dword [esp], 0x383
call fcn.1001d42d
pop ecx
push eax
mov dword [ebp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
lea eax, [ebp + 0xc]
push eax
je 0x100062f2
call fcn.1001c274
pop ecx
xor eax, eax
jmp 0x10006323
call fcn.1001c274
pop ecx
xor ecx, ecx
lea eax, [ebp - 4]
push eax
mov eax, dword [0x10064060]
push ecx
push ecx
push 0x100060ff
push ecx
push ecx
mov dword [ebp - 4], ecx
call dword [eax + 0x70]
mov dword [0x10064084], eax
test eax, eax
je 0x100062ee
call fcn.1001a97e
xor eax, eax
inc eax
leave
ret 0xc
cmp dword [ebp + 0xc], 0
jne 0x1000631b
mov eax, dword [0x10064060]
push 0xaa
call dword [eax + 0xb4]
jmp 0x100062ee
Function at 0x10006e65
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
push esi
push edi
xor edi, edi
mov esi, ecx
and dword [ebp - 0xc], edi
mov eax, edx
and dword [ebp - 8], edi
cmp esi, 1
je 0x10006e8e
cmp esi, 2
je 0x10006e8e
or eax, 0xffffffff
jmp 0x10006ff4
push ebx
lea edx, [ebp - 8]
mov ecx, eax
call fcn.1001f75f
mov ebx, eax
mov dword [ebp - 0x18], ebx
test ebx, ebx
jne 0x10006eaa
push 0xfffffffffffffffe
pop eax
jmp 0x10006ff3
lea edx, [ebp - 0x9c]
mov ecx, esi
call fcn.10006ce5
mov eax, dword [0x10064064]
push 0
add eax, 0x438
push 0x1005ae70
push eax
call fcn.1001d0db
mov esi, eax
lea eax, [ebp - 0x9c]
push 0
push eax
push str.__b
push esi
mov dword [ebp - 0x1c], esi
call fcn.1001d0db
add esp, 0x1c
mov dword [ebp - 0x10], eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edx, dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
mov ecx, ebx
call fcn.10023065
mov ebx, eax
pop ecx
test ebx, ebx
jg 0x10006f13
push 0xfffffffffffffffd
pop edi
jmp 0x10006fba
mov eax, dword [0x10064064]
mov dl, 2
mov ecx, dword [ebp - 0x10]
add eax, 0xb0
push 2
push eax
call fcn.1001c60e
mov esi, eax
mov dword [ebp - 4], esi
pop ecx
pop ecx
test esi, esi
jne 0x10006f39
push 0xfffffffffffffffc
jmp 0x10006f0d
mov edx, dword [ebp - 0xc]
mov ecx, esi
push ebx
call fcn.1001c897
pop ecx
test eax, eax
jns 0x10006f4e
push 0xfffffffffffffffb
pop edi
jmp 0x10006fae
lea ecx, [ebp - 4]
call fcn.1001c95f
push 0
lea eax, [ebp - 0x9c]
push eax
mov eax, dword [0x10064064]
add eax, 0x438
push str.__b
push eax
call fcn.1001d0db
mov ecx, dword [ebp - 0x10]
add esp, 0x10
mov edx, eax
mov dword [ebp - 0x14], eax
call fcn.1001f360
test eax, eax
jns 0x10006f8b
push 0xfffffffffffffff9
pop edi
lea eax, [ebp - 0x14]
push 0xfffffffffffffffe
push eax
call fcn.1001c2b9
pop ecx
pop ecx
test edi, edi
jne 0x10006fa9
push 0x2deb8b96
call fcn.10004be6
pop ecx
jmp 0x10006fba
jns 0x10006fba
mov esi, dword [ebp - 4]
test esi, esi
je 0x10006fba
lea ecx, [ebp - 4]
call fcn.1001c95f
push dword [ebp - 8]
lea eax, [ebp - 0x18]
push eax
call fcn.1001c2b9
pop ecx
pop ecx
test ebx, ebx
jg 0x10006fce
xor ebx, ebx
lea eax, [ebp - 0xc]
push ebx
push eax
call fcn.1001c2b9
lea eax, [ebp - 0x1c]
push 0xfffffffffffffffe
push eax
call fcn.1001c2b9
lea eax, [ebp - 0x10]
push 0xfffffffffffffffe
push eax
call fcn.1001c2b9
add esp, 0x18
mov eax, edi
pop ebx
pop edi
pop esi
leave
ret
Function at 0x10006ff8
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x21c
push ebx
push esi
push edi
push 0x31
xor ebx, ebx
pop ecx
inc ebx
call fcn.1001de95
test eax, eax
je 0x10007111
push 0
call fcn.10023295
push eax
mov eax, dword [0x10064064]
add eax, 0x438
push 0x1005ae78
push eax
call fcn.1001d0db
mov esi, eax
add esp, 0x10
mov dword [esp + 0xc], esi
test esi, esi
je 0x10007111
mov ecx, dword [0x10064064]
mov edx, 0x1388
lea ecx, [ecx + 0x1878]
call fcn.1001e530
mov edi, eax
test edi, edi
je 0x10007103
mov ecx, esi
call fcn.1001f4eb
test eax, eax
jne 0x1000707c
mov ecx, esi
call fcn.100235ef
mov ebx, eax
mov ecx, edi
call fcn.1001e5ff
mov ecx, dword [0x10064060]
push edi
call dword [ecx + 0x30]
test ebx, ebx
jle 0x10007103
lea ecx, [esp + 0x10]
call fcn.1001d6a0
push 0x33
pop ecx
call fcn.1001de95
test eax, eax
jne 0x100070ec
push 0x12
pop ecx
call fcn.1001de95
test eax, eax
jne 0x100070bb
call fcn.1001e613
test eax, eax
je 0x100070ec
xor ecx, ecx
call fcn.1001d6a0
push eax
push esi
push str._s._u
lea eax, [esp + 0x24]
push 0x104
push eax
call fcn.1001d48c
add esp, 0x14
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x10007048
mov ecx, esi
call fcn.10001f6f
test eax, eax
js 0x10007103
mov ecx, esi
call fcn.1001f433
jmp 0x10007048
lea eax, [esp + 0xc]
push 0xfffffffffffffffe
push eax
call fcn.1001c2b9
pop ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000738c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x100073ab
xor eax, eax
jmp 0x10007426
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100073c1
xor eax, eax
jmp 0x10007426
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x10007409
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x10]
jae 0x10007409
mov eax, dword [ebp - 4]
movzx eax, word [eax]
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax*2 + 2]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
dec eax
mov dword [ebp - 8], eax
jmp 0x100073e2
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x10]
jb 0x10007415
xor eax, eax
jmp 0x10007426
mov eax, dword [ebp - 4]
movzx eax, word [eax]
test eax, eax
jne 0x10007423
xor eax, eax
jmp 0x10007426
mov eax, dword [ebp - 4]
leave
ret
Function at 0x10007f47
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x24], ecx
cmp dword [ebp + 8], 0
jne 0x10007f5b
call fcn.10007648
mov dword [ebp - 0x10], 0x811c9dc5
and dword [ebp - 0xc], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add eax, 2
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov ax, word [eax]
mov word [ebp - 2], ax
add dword [ebp - 8], 2
cmp word [ebp - 2], 0
jne 0x10007f75
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x18]
sar eax, 1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
xor edx, edx
push 0xa
pop ecx
div ecx
inc eax
mov dword [ebp - 0x20], eax
jmp 0x10007fb4
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x14]
jae 0x10007fd4
imul eax, dword [ebp - 0x10], 0x1000193
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
movzx ecx, word [edx + ecx*2]
xor eax, ecx
mov dword [ebp - 0x10], eax
jmp 0x10007fab
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x10009761
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.100097d3
mov eax, dword [ebp - 4]
mov dword [eax], 0x38
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0x10000000
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 8]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 0xe00
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 0x1005b070
mov ecx, dword [ebp - 4]
add ecx, 0x14
call fcn.10007337
test eax, eax
jge 0x100097ce
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x100097c7
push str.ERROR_:_Unable_to_initialize_critical_section_in_CAtlBaseModule_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [0x10066400], 1
mov eax, dword [ebp - 4]
leave
ret