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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 0x10], ebx
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
jbe 0x100aea11
push str.invalid_hash_bucket_count
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, 1
mov dword [ebp - 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.10031ef0
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x100aeb1c
nop word [eax + eax]
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
imul edx, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, edx
mov edx, dword [ebx + 0xc]
mov ebx, dword [edx + edi*8]
lea edx, [edx + edi*8]
mov dword [ebp - 0xc], edx
cmp ebx, esi
jne 0x100aeaa2
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x100aeb0f
mov edx, dword [edx + 4]
mov edi, dword [eax + 8]
cmp edi, dword [edx + 8]
jne 0x100aeadc
mov edx, dword [edx]
mov dword [ebp - 4], edx
cmp edx, eax
je 0x100aead4
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 4]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 0xc]
mov dword [edx + 4], eax
jmp 0x100aeb0f
cmp ebx, edx
je 0x100aeaec
mov edx, dword [edx + 4]
cmp edi, dword [edx + 8]
je 0x100aeb25
cmp ebx, edx
jne 0x100aeae0
mov ebx, dword [eax + 4]
mov dword [ebp - 4], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 4]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0xc]
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [ebp - 0x10]
mov eax, ecx
cmp ecx, esi
jne 0x100aea50
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 4], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x100aeb0f

Function at 0x100b07a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
jne 0x100b07cb
push 0
push 0
push 0
push 0x1002ec40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x100b07cb
mov eax, 1
pop ebp
ret 0xc
xor eax, eax
pop ebp
ret 0xc
Function at 0x100c0600
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x100c07a1
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x280]
call eax
test al, al
je 0x100c07a1
mov eax, dword [0x101233c0]
cmp dword [eax + 0x174], 0xffffffff
je 0x100c07a1
mov eax, dword [0x101236bc]
add eax, 0xffffff8c
xor eax, 0x920a4927
cmp dword [eax + ebx], 0
mov eax, dword [0x10123684]
setle cl
add eax, 0xffffff9a
xor eax, 0x920a4919
xor edi, edi
mov byte [eax + ebx], cl
mov eax, dword [0x10123678]
add eax, 0xffffff9d
xor eax, 0x920a4916
mov dword [eax + ebx + 0xc], 0
mov eax, dword [0x1012367c]
add eax, 0xffffff9c
xor eax, 0x920a4917
mov dword [eax + ebx + 0xc], 0
mov ecx, dword [0x10123680]
lea eax, [ecx - 0x65]
xor eax, 0x920a4918
mov edx, dword [eax + ebx + 0xc]
mov dword [ebp - 4], edx
test edx, edx
je 0x100c06ee
lea eax, [ecx - 0x65]
xor eax, 0x920a4918
mov eax, dword [eax + ebx]
mov esi, dword [eax + edi*4]
lea ebx, [eax + edi*4]
test esi, esi
je 0x100c06e6
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x100c06da
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 4]
call eax
test al, al
je 0x100c06d7
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov edx, dword [ebp - 4]
mov dword [ebx], 0
mov ecx, dword [0x10123680]
mov ebx, dword [ebp + 8]
inc edi
cmp edi, edx
jb 0x100c06a3
lea eax, [ecx - 0x65]
xor eax, 0x920a4918
lea ecx, [ebx + 8]
push 0
mov dword [eax + ebx + 0xc], 0
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x1c]
call eax
mov eax, dword [ebx + 8]
lea ecx, [ebx + 8]
push 0
mov eax, dword [eax + 0x14]
call eax
mov edx, dword [0x101233d4]
xor ebx, ebx
mov dword [ebp - 4], edx
mov eax, dword [edx + 0x28]
mov dword [ebp - 8], eax
test eax, eax
je 0x100c0792
nop dword [eax]
mov eax, dword [edx + 0x1c]
lea ecx, [ebx*4]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ecx + eax]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov esi, eax
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x100c0750
xor edx, edx
test ecx, ecx
je 0x100c0779
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x100c0760
cmp edi, 0x79705c5e
je 0x100c0784
inc ebx
cmp ebx, dword [ebp - 8]
jae 0x100c0792
mov edx, dword [ebp - 4]
jmp 0x100c0730
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov eax, dword [eax + 0x1c]
mov ecx, dword [ecx + eax]
jmp 0x100c0794
xor ecx, ecx
push 0
push dword [ebp + 8]
push 0
call dword [0x101234e0]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100c9230
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e4c8d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x48
mov eax, dword [0x100f5008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [0x101233c0]
mov edi, dword [esi + 0x174]
test edi, edi
setg byte [ebp - 0x18]
cmp dword [0x100f53a0], 4
jne 0x100c92ad
mov edx, dword [esi + 0x4cb0]
add edx, dword [esi + 0x4cac]
mov ecx, dword [0x10123364]
push edx
push dword [esi + 0x4cb4]
mov eax, dword [ecx]
push dword [ebp - 0x18]
push edi
mov eax, dword [eax + 0xc]
call eax
cmp byte [0x10129388], 0
jne 0x100c93e0
movaps xmm0, xmmword [0x100ea2e0]
xor eax, eax
movaps xmm2, xmmword [0x100ea3d0]
movups xmmword [ebp - 0x40], xmm0
mov word [ebp - 0x20], 0xefea
movaps xmm0, xmmword [0x100ea020]
movups xmmword [ebp - 0x30], xmm0
mov byte [ebp - 0x1e], 0xac
movups xmm0, xmmword [ebp + eax - 0x40]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [ebp + eax - 0x40], xmm1
add eax, 0x10
cmp eax, 0x20
jb 0x100c92e3
cmp eax, 0x23
jae 0x100c930c
xor byte [ebp + eax - 0x40], 0xac
inc eax
cmp eax, 0x23
jb 0x100c9301
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x58], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100c9327
sub ecx, edx
lea eax, [ebp - 0x40]
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.10026020
mov dword [ebp - 4], 0
mov edx, dword [0x1012331c]
test edx, edx
je 0x100c9353
mov edx, dword [edx + 0x50]
jmp 0x100c9355
xor edx, edx
mov eax, dword [0x10123314]
test eax, eax
je 0x100c9363
mov eax, dword [eax + 0x18]
jmp 0x100c9365
xor eax, eax
lea ecx, [ebp - 0x58]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.1001dc50
mov edi, dword [ebp - 0x1c]
add esp, 8
mov ecx, dword [ebp - 0x44]
inc edi
cmp ecx, 0x10
jb 0x100c93af
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100c93a5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100c93a5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100d9f61
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x18]
push eax
push 0x40
push 4
push edi
mov dword [ebp - 0x18], 0
call esi
lea eax, [ebp - 0x18]
mov dword [edi], 0x3e
push eax
push dword [ebp - 0x18]
push 4
push edi
call esi
mov byte [0x10129388], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100d9ae6
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x4052f2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x405301
pop dword [ebp - 0x10]
mov eax, 0x6adcdafe
sub eax, 0x6a9c87fd
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0xd5e00c98
sub dword [ebp - 0x20], 0x878dc74d
mov dword [ebp - 0x1c], 0x1e904ea1
sub dword [ebp - 0x1c], 0xec5d025c
mov dword [ebp - 0x18], 0xe5a16c60
add dword [ebp - 0x18], 0x66aad7ce
mov dword [ebp - 0x14], 0x4fa57328
sub dword [ebp - 0x14], 0x4fa57328
lea eax, [ebp - 0x20]
push eax
mov eax, 0xf7eebf16
sub eax, 0xf7adeec2
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0xdafc71bf
add dword [ebp - 0x20], 0x9975f797
mov dword [ebp - 0x1c], 0xd19dbb44
add dword [ebp - 0x1c], 0x6fcea631
mov dword [ebp - 0x18], 0xdfcd00db
sub dword [ebp - 0x18], 0x7c5d946f
mov dword [ebp - 0x14], 0xd4d8ebe5
add dword [ebp - 0x14], 0x2b27141b
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x3c462
push 0
call eax
mov ecx, 0x52f1
xor ebx, ebx
add ebx, eax
mov esi, 0x2a223629
add esi, 0xd61f79d7
add esi, dword [ebp - 0x10]
mov edx, 0x9d01cb62
add edx, 0x6c1ec624
xor dword [ebp - 0xc], edx
mov edi, dword [esi]
add dword [ebp - 8], 0xfb84b3dc
add edi, edx
add dword [ebp - 4], ecx
mov dword [ebx], edi
add dword [ebp - 0xc], 0xe14ab227
add ebx, 4
add esi, 4
loop 0x40541a
add eax, 0x13e97
mov ebx, eax
add eax, 5
mov ecx, 0xf3c4d2ce
sub ecx, 0xf384d2ce
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x7c1c10
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x24f000]
push edi
or ebp, 0xffffffff
jmp 0x7c1c32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x7c1c39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7c1c28
mov eax, 1
add ebx, ebx
jne 0x7c1c4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x7c1c5c
jne 0x7c1c6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7c1c6c
dec eax
add ebx, ebx
jne 0x7c1c68
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x7c1c40
xor ecx, ecx
sub eax, 3
jb 0x7c1c84
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x7c1cf6
sar eax, 1
mov ebp, eax
jmp 0x7c1c8f
add ebx, ebx
jne 0x7c1c8f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x7c1c9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x7c1cc0
inc ecx
add ebx, ebx
jne 0x7c1cac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x7c1ca1
jne 0x7c1cbd
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x7c1ca1
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x7c1ce0
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x7c1cd1
jmp 0x7c1c2e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x7c1ce0
add edi, ecx
jmp 0x7c1c2e
pop esi
mov edi, esi
mov ecx, 0xc3f0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x7c1cfe
cmp byte [edi], 0x2a
jne 0x7c1cfe
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 0x7c1d03
lea edi, [esi + 0x3bd000]
mov eax, dword [edi]
or eax, eax
je 0x7c1d72
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3cc720]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3cc824]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x7c1d30
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3cc828]
or eax, eax
je 0x7c1d6c
mov dword [ebx], eax
add ebx, 4
jmp 0x7c1d4d
call dword [esi + 0x3cc82c]
popal
jmp 0x58d5a8
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCRT.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x40287f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x40288e
pop dword [ebp - 0x30]
mov eax, 0x3baeea1d
sub eax, 0x3b6ec18f
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0xf7395ee4
sub dword [ebp - 0x40], 0xa8e71999
mov dword [ebp - 0x3c], 0x829dc199
add dword [ebp - 0x3c], 0xaf958aac
mov dword [ebp - 0x38], 0xdce561e7
add dword [ebp - 0x38], 0x6f66e247
mov dword [ebp - 0x34], 0x9a14add6
add dword [ebp - 0x34], 0x65eb522a
lea eax, [ebp - 0x40]
push eax
mov eax, 0xac85f72c
add eax, 0x53ba7938
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0xf43a3d05
sub dword [ebp - 0x40], 0x7fc7d3af
mov dword [ebp - 0x3c], 0x1a8b4ff4
sub dword [ebp - 0x3c], 0xd91eee7f
mov dword [ebp - 0x38], 0xb4621527
sub dword [ebp - 0x38], 0x50f2a8bb
mov dword [ebp - 0x34], 0x2872e9f1
add dword [ebp - 0x34], 0xd78d160f
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, 0x9c7bdd00
add eax, 0x63c493a8
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x34c6e
push 0
call eax
mov ecx, 0xf8d770e2
sub ecx, 0xf8d73029
mov esi, eax
mov edx, 0x755a407c
add edx, 0x8ae6bf84
add edx, dword [ebp - 0x30]
mov ebx, 0x828d5a6d
sub ebx, 0xb1878246
add dword [ebp - 4], esi
mov edi, dword [edx]
xor edi, ebx
sub dword [ebp - 0xc], eax
mov dword [esi], edi
xor dword [ebp - 0x2c], edx
add esi, 0xbfd14f2a
add esi, 0x402eb0da
add edx, 0xb5522ae3
add edx, 0x4aadd521
loop 0x4029b0
add eax, 0xbf0066b2
add eax, 0x41008f05
xor ebx, ebx
add ebx, eax
add eax, 0xba1d4fb3
sub eax, 0xba1d4fae
mov ecx, 0xa913a0e5
add ecx, 0x572c5f1b
add ecx, dword [ebp - 0x30]
call ebx
leave
ret
Function at 0x7003567
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x7003576
pop dword [ebp - 0x20]
mov eax, 0xe69e6db2
sub eax, 0xdf9e383c
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0xcb1844a3
sub dword [ebp - 0x30], 0x7cc5ff58
mov dword [ebp - 0x2c], 0x81f906a0
sub dword [ebp - 0x2c], 0x4fc5ba5b
mov dword [ebp - 0x28], 0x98dad4bd
sub dword [ebp - 0x28], 0x4c8e908f
mov dword [ebp - 0x24], 0xb87c433a
sub dword [ebp - 0x24], 0xb87c433a
lea eax, [ebp - 0x30]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0x1b669c8
sub dword [ebp - 0x30], 0x8d440072
mov dword [ebp - 0x2c], 0xf236270a
sub dword [ebp - 0x2c], 0xb0c9c595
mov dword [ebp - 0x28], 0xb8301264
sub dword [ebp - 0x28], 0x54c0a5f8
mov dword [ebp - 0x24], 0x6965669b
sub dword [ebp - 0x24], 0x6965669b
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x3b3b7
push 0
call eax
mov ecx, 0xabd2207b
add ecx, 0x542e29a9
mov edx, eax
mov esi, 0x8b03ca54
sub esi, 0x8401c854
add esi, dword [ebp - 0x20]
mov ebx, 0x4331bb7d
sub ebx, 0xf7d8f2f3
sub dword [ebp - 8], 0xb4d66454
mov edi, dword [esi]
xor dword [ebp - 0x14], 0x28c67146
xor edi, ebx
add dword [ebp - 0xc], 0x49f71bc7
mov dword [edx], edi
sub dword [ebp - 4], eax
add edx, 4
add esi, 0x3a0627e8
sub esi, 0x3a0627e4
loop 0x700368e
add eax, 0x11b63
mov ebx, eax
add eax, 0xd45bec7e
sub eax, 0xd45bec79
mov ecx, 0xf6959ba0
add ecx, 0x106a6460
add ecx, dword [ebp - 0x20]
call ebx
leave
ret

Function at 0x700d29f
Capabilities:
Set current directory

Disassembly:
push 8
mov eax, 0x70120f1
call fcn.07001cf8
mov edi, ecx
mov dword [ebp - 0x14], edi
mov esi, dword [ebp + 8]
push esi
call fcn.0700d491
xor ebx, ebx
mov dword [edi], vtable.FileSharedStream.0
mov dword [edi + 0xc], ebx
mov byte [edi + 0x10], bl
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
lea eax, [edi + 0x18]
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.kernel32.dll_InitializeCriticalSection]
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0700dd8a
lea ecx, [ebp - 0x10]
call fcn.0700d23c
mov eax, dword [edi + 0x14]
mov byte [ebp - 4], 2
push dword [eax + 0x14]
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryA]
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x700d30c
mov eax, dword [eax + 0x14]
jmp 0x700d311
mov eax, 0x70138c2
push 0x7015240
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov dword [edi + 0xc], eax
pop ecx
pop ecx
test eax, eax
je 0x700d343
mov ecx, dword [edi + 4]
call fcn.070076d1
lea ecx, [ebp - 0x10]
mov dword [edi + 8], eax
call fcn.07003567
mov eax, edi
call fcn.07001ea7
ret 4
push str.file_does_not_exist
push ebx
call fcn.07003567
int3
Function at 0x401893
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push dword [ebp + 8]
mov esi, ecx
lea ecx, [esi + 0xc]
call fcn.004136a9
push dword [ebp + 0xc]
lea edi, [esi + 0x10]
mov ecx, edi
call fcn.00401403
push 0x5c
mov ecx, edi
call fcn.004017a8
xor edi, edi
lea eax, [ebp - 4]
push eax
push edi
push esi
push 0x40133c
push edi
push edi
mov dword [0x41e964], esi
mov dword [0x41e96c], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [0x41e9c4], 2
mov dword [0x41e968], eax
je 0x4018f0
call fcn.00408c92
push 0xffffffffffffffff
push dword [0x41e968]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [0x41e96c]
cmp eax, edi
mov dword [0x41ea58], edi
je 0x40193f
cmp eax, 1
je 0x401933
cmp eax, 2
je 0x40192f
cmp eax, 3
je 0x40192b
cmp eax, 0x67
jle 0x401926
cmp eax, 0x6b
jle 0x4019a3
push eax
push 0x14
jmp 0x401976
push 0x12
jmp 0x401935
push 0x13
jmp 0x401935
push 0x11
push edi
call fcn.004095ee
pop ecx
pop ecx
jmp 0x4019a3
cmp dword [0x41ea60], edi
jne 0x4019a3
lea eax, [ebp + 8]
push eax
push dword [0x41e968]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
mov ecx, dword [ebp + 8]
je 0x401966
cmp ecx, edi
jne 0x401966
xor eax, eax
jmp 0x4019a8
mov eax, 0x80070000
mov edx, ecx
and edx, eax
cmp edx, eax
je 0x401979
push ecx
push 0x21
push edi
jmp 0x40199b
and ecx, 0xffff
cmp ecx, 0xe
jne 0x40198d
cmp dword [0x41e9c8], 0xffffffff
je 0x4019a3
push ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
push dword [ebp + 8]
push 0x22
push 1
call fcn.004095ee
add esp, 0xc
mov eax, 0x80004005
pop edi
pop esi
leave
ret 8

Function at 0x401e7e
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
push 0
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x401ebf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, 0xb7
cmp eax, esi
je 0x401ea9
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop esi
ret
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x401ebf
test al, 0x10
jne 0x401ebf
push esi
jmp 0x401e9f
xor eax, eax
inc eax
pop esi
ret
Function at 0x4020d2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, dword [sym.imp.KERNEL32.dll_FindResourceExA]
mov ebx, eax
movzx eax, word [0x41e980]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call esi
mov edi, eax
test edi, edi
jne 0x402116
push 0x409
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call esi
mov edi, eax
test edi, edi
je 0x40213c
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x402127
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [esi], eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40213c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
jmp 0x4021b6
cmp dword [0x41e990], 0
jne 0x4021b4
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.SetProcessPreferredUILanguages
mov ebx, str.kernel32
push ebx
mov dword [0x41e990], 1
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push 0
mov dword [ebp - 4], eax
movzx eax, word [0x41e980]
push 0x409
push 0
push eax
lea eax, [ebp - 0x44]
push str._04X_c_04X_c
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
cmp dword [ebp - 4], 0
jne 0x4021a9
push str.SetThreadPreferredUILanguages
push ebx
call esi
push eax
call edi
test eax, eax
mov dword [ebp - 4], eax
je 0x4021b4
push 0
lea eax, [ebp - 0x44]
push eax
push 4
call dword [ebp - 4]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret