joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40456d
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
pushal
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
push dword [ebp + 0x10]
push 1
push 6
call dword [sym.imp.kernel32.dll_OpenFileMappingA]
test eax, eax
jne 0x4045a9
push 0xc8
call dword [sym.imp.kernel32.dll_Sleep]
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x14
jb 0x404582
jmp 0x40461c
mov ebx, eax
mov dword [ebp - 4], 0
push dword [ebp + 0xc]
push 0
push 0
push 6
push ebx
call dword [sym.imp.kernel32.dll_MapViewOfFile]
test eax, eax
jne 0x4045dc
push 0xc8
call dword [sym.imp.kernel32.dll_Sleep]
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x14
jb 0x4045b2
jmp 0x404615
mov esi, eax
mov edi, dword [ebp + 8]
push 0xc8
call dword [sym.imp.kernel32.dll_Sleep]
push dword [ebp + 0xc]
push esi
push edi
call fcn.00401728
mov dword [esi], 0x21444e45
push 0xc8
call dword [sym.imp.kernel32.dll_Sleep]
push esi
call dword [sym.imp.kernel32.dll_UnmapViewOfFile]
mov dword [ebp - 8], 1
push ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
popal
mov eax, dword [ebp - 8]
leave
ret 0xc
Function at 0x404857
Capabilities:
List tcp connections and listeners

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x534
mov dword [ebp - 0x534], 0
pushal
mov dword [ebp - 0x2c], 0x414108
lea eax, [ebp - 0x42c]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 0x412228
mov dword [ebp - 8], 0x42e3d9
mov dword [ebp - 0x10], 0
mov dword [0x40ddab], 0
push 0
push 0x186a0
push 0x414108
call fcn.00401713
push 0
push 0x1000
push 0x42e3d9
call fcn.00401713
push 0
push 0x1000
push 0x40f104
call fcn.00401713
push 0
push 0x400
lea edx, [ebp - 0x42c]
push edx
call fcn.00401713
push 0x1c
call fcn.00402098
mov dword [ebp - 0x20], eax
test eax, eax
je 0x4049ec
mov dword [ebp - 0x1c], 0x1c
push 0
push 5
push 2
push 1
lea edx, [ebp - 0x1c]
push edx
push dword [ebp - 0x20]
call dword [sym.imp.iphlpapi.dll_GetExtendedTcpTable]
cmp eax, 0x7a
jne 0x4049ec
push dword [ebp - 0x20]
call fcn.004020b5
push dword [ebp - 0x1c]
call fcn.00402098
test eax, eax
je 0x4049ec
mov dword [ebp - 0x20], eax
mov esi, eax
push 0
push 5
push 2
push 1
lea edx, [ebp - 0x1c]
push edx
push dword [ebp - 0x20]
call dword [sym.imp.iphlpapi.dll_GetExtendedTcpTable]
cmp eax, 0
jne 0x4049ec
lodsd eax, dword [esi]
mov ecx, eax
lea edi, [ebp - 0x530]
push eax
push edi
call fcn.00401780
push 0
push edi
push 0x406098
call fcn.0040258d
push ecx
mov eax, dword [esi + 0x14]
push eax
push 0
push 0x410
call dword [sym.imp.kernel32.dll_OpenProcess]
test eax, eax
je 0x4049e3
mov dword [ebp - 0x18], eax
push 0x104
push edi
push 0
push eax
push 2
call fcn.0040454e
push eax
push dword [ebp - 0x18]
call dword [sym.imp.kernel32.dll_CloseHandle]
pop eax
test eax, eax
je 0x4049e3
push edi
push 0x414108
call fcn.00401644
je 0x4049e3
push edi
lea edx, [ebp - 0x42c]
push edx
call fcn.00401644
je 0x4049e3
push 0
push edi
push 0x4060a6
call fcn.0040258d
push edi
push dword [ebp - 0x2c]
call fcn.004015f2
push edi
call fcn.00401760
inc eax
add dword [ebp - 0x2c], eax
add esi, 0x18
pop ecx
dec ecx
jecxz 0x4049ec
jmp 0x40496f
cmp dword [ebp - 0x20], 0
je 0x4049fa
push dword [ebp - 0x20]
call fcn.004020b5
mov ecx, dword [ebp - 0x2c]
sub ecx, 0x414108
lea esi, [ebp - 0x530]
cmp dword [0x42c938], 9
jne 0x404ac1
push ecx
push 0x414108
push esi
call fcn.00402344
dec eax
jne 0x404ac1
push dword [ebp - 0x24]
push esi
call fcn.00404687
cmp eax, 1
jne 0x404ac1
mov edx, 1
mov dword [ebp - 0xc], 0x40f104
mov ecx, dword [0x40e3f3]
mov esi, 0x412228
mov dword [ebp - 4], 0
lea eax, [ebp - 8]
push eax
push edx
push esi
call fcn.00404746
cmp eax, 1
jne 0x404aa4
push esi
push 0x40f104
call fcn.00402f0e
cmp eax, 1
je 0x404aa4
push esi
push 0x406153
call fcn.00402055
push esi
call fcn.004042cf
cmp eax, 1
jne 0x404aa4
push esi
push dword [ebp - 0xc]
call fcn.00402f70
mov dword [ebp - 0xc], eax
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 2
jae 0x404ac1
inc dword [ebp - 4]
push esi
call fcn.00401760
lea esi, [esi + eax + 1]
loop 0x404a59
jmp 0x404ac1
popal
cmp dword [ebp - 0x10], 0
je 0x404ad7
call fcn.00402beb
mov dword [ebp - 0x534], 1
mov eax, dword [ebp - 0x534]
leave
ret
Function at 0x404adf
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov dword [ebp - 0x54], 1
mov dword [ebp - 0x10], 1
pushal
lea esi, [ebp - 0x54]
lea edi, [ebp - 0x10]
push 0
push 0x44
push esi
call fcn.00401713
push 0
push 0x10
push edi
call fcn.00401713
mov dword [ebp - 0x54], 0x44
mov eax, dword [ebp + 8]
cmp dword [ebp + 0xc], 0
je 0x404b5e
push dword [ebp + 8]
lea edx, [ebp - 0x25c]
push edx
call fcn.004015f2
lea edx, [ebp - 0x25c]
push edx
call fcn.00401760
lea ecx, [ebp - 0x25c]
mov dword [eax + ecx], 0x20
push dword [ebp + 0xc]
lea edx, [ebp - 0x25c]
push edx
call fcn.004016f4
lea eax, [ebp - 0x25c]
push edi
push esi
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.kernel32.dll_CreateProcessA]
popal
leave
ret 8
Function at 0x404bc2
Capabilities:
Get file attributes
Get file size
Read file on windows
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
mov dword [ebp - 0x1c], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x18], pe_nt_image_headers32
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
inc eax
je 0x404c03
dec eax
mov dword [ebp - 0x18], eax
push pe_nt_image_headers32
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_SetFileAttributesA]
push 0
push pe_nt_image_headers32
push 4
push 0
push 0
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_CreateFileA]
mov dword [ebp - 0x14], eax
inc eax
je 0x404d33
push 0
push dword [ebp - 0x14]
call dword [sym.imp.kernel32.dll_GetFileSize]
mov esi, eax
mov dword [ebp - 0x10], eax
cmp eax, dword [ebp + 0x14]
jae 0x404c47
mov dword [ebp + 0x14], eax
mov dword [ebp - 8], 1
test eax, eax
je 0x404cb5
push eax
push 0x40
call dword [sym.imp.kernel32.dll_LocalAlloc]
test eax, eax
je 0x404d21
mov edi, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 4]
push 0
push eax
push esi
push edi
push dword [ebp - 0x14]
call dword [sym.imp.kernel32.dll_ReadFile]
dec eax
jne 0x404d12
add edi, dword [ebp - 4]
sub esi, dword [ebp - 4]
jne 0x404c61
push 0
push 0
push 0
push dword [ebp - 0x14]
call dword [sym.imp.kernel32.dll_SetFilePointer]
inc eax
je 0x404d12
mov edi, dword [ebp - 0xc]
mov esi, dword [ebp + 0x14]
lea eax, [ebp - 4]
push 0
push eax
push esi
push edi
push dword [ebp - 0x14]
call dword [sym.imp.kernel32.dll_WriteFile]
dec eax
jne 0x404d12
add edi, dword [ebp - 4]
sub esi, dword [ebp - 4]
jne 0x404c99
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 4]
push 0
push eax
push esi
push edi
push dword [ebp - 0x14]
call dword [sym.imp.kernel32.dll_WriteFile]
dec eax
jne 0x404d12
add edi, dword [ebp - 4]
sub esi, dword [ebp - 4]
jne 0x404cbb
cmp dword [ebp - 8], 1
je 0x404d12
cmp dword [ebp - 0xc], 0
je 0x404d21
mov edi, dword [ebp - 0xc]
add edi, dword [ebp + 0x14]
mov esi, dword [ebp - 0x10]
sub esi, dword [ebp + 0x14]
lea eax, [ebp - 4]
push 0
push eax
push esi
push edi
push dword [ebp - 0x14]
call dword [sym.imp.kernel32.dll_WriteFile]
dec eax
jne 0x404d12
add edi, dword [ebp - 4]
sub esi, dword [ebp - 4]
jne 0x404cef
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0xc], 0
je 0x404d21
push dword [ebp - 0xc]
call dword [sym.imp.kernel32.dll_LocalFree]
push dword [ebp - 0x14]
call dword [sym.imp.kernel32.dll_CloseHandle]
cmp dword [ebp - 0x1c], 0
je 0x404d33
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x18]
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_SetFileAttributesA]
popal
mov eax, dword [ebp - 0x1c]
leave
ret 0x10
Function at 0x2498058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.024981a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x249807e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x249806a
add dl, dl
jne 0x2498089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x24980dc
xor eax, eax
add dl, dl
jne 0x2498096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x249817d
add dl, dl
jne 0x24980a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x24980b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x24980bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x24980c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x24980d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x2498075
mov eax, 1
add dl, dl
jne 0x24980ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x24980f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x24980e1
sub eax, ebx
mov ebx, 1
jne 0x2498128
mov ecx, 1
add dl, dl
jne 0x249810e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x2498119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x2498105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x2498075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x249813f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x249814a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x2498136
cmp eax, 0x7d00
jae 0x249816d
cmp eax, 0x500
jb 0x2498168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x2498075
cmp eax, 0x7f
ja 0x2498170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x2498075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x249819e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x2498075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

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 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..idata
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x9bd6bee
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x7d9e38d9
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x100132a2
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
movzx eax, byte [ebp + 8]
test eax, eax
je 0x100132bd
push 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x100133f8
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0x8932
mov eax, 0x8932
test eax, eax
jne 0x1001339c
mov eax, 0xfdb6
test eax, eax
je 0x1001336a
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x10013326
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x10013326
and dword [ebp - 0x10], 0
jmp 0x1001332d
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax]
imul eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
cmp eax, dword [ecx]
jge 0x10013346
mov dword [ebp - 0x14], 1
jmp 0x1001334a
and dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 1
ja 0x10013359
mov dword [ebp - 0x18], 1
jmp 0x1001335d
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
imul eax, dword [ebp - 0x18]
test eax, eax
jne 0x10013379
mov eax, 0xbb000e2e
test eax, eax
jne 0x10013379
and dword [ebp - 0x1c], 0
jmp 0x10013380
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 0x383de467
jg 0x10013392
mov dword [ebp - 0x20], 1
jmp 0x10013396
and dword [ebp - 0x20], 0
cmp dword [ebp - 0x20], 0
je 0x100133ad
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x100133ad
mov dword [ebp - 0x24], 1
jmp 0x100133b1
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x24]
jge 0x100133c4
mov dword [ebp - 0x38], 1
jmp 0x100133c8
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add eax, dword [ecx]
mov ecx, dword [ebp - 0xc]
cmp eax, dword [ecx]
jle 0x100133ec
mov dword [ebp - 0x28], 1
jmp 0x100133f0
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret
Function at 0x10017471
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x100174cc
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x100174ad
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 2
jge 0x100174ca
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x10]
call fcn.10017bc7
mov dword [eax], 0x89a6
jmp 0x100174a2
jmp 0x100174f3
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x100174f3
push 0
push 0x36a
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov esp, ebp
pop ebp
ret
Function at 0x1001d98a
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1001d9bb
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x1001d9b6
push 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x1001daf2
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x54], eax
mov eax, 0xb4495231
test eax, eax
jne 0x1001da23
mov eax, 0x68593f9b
test eax, eax
jne 0x1001da23
and dword [ebp - 0x40], 0
jmp 0x1001da2a
mov dword [ebp - 0x40], 1
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x10]
mov ecx, 0x37fc0549
sub ecx, dword [eax]
mov eax, dword [ebp - 8]
mov dword [eax], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
imul ecx, dword [eax]
cmp ecx, 0x7a9d
jge 0x1001da5d
mov dword [ebp - 0x44], 1
jmp 0x1001da61
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add eax, 0x8af066b
jne 0x1001da8b
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x1001da8b
and dword [ebp - 0xc], 0
jmp 0x1001da92
mov dword [ebp - 0xc], 1
imul eax, dword [ebp - 0xc], 0xad43
mov ecx, dword [ebp - 0x10]
sub eax, dword [ecx]
jne 0x1001daae
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x1001daae
and dword [ebp - 0x14], 0
jmp 0x1001dab5
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
cmp dword [ebp - 0x14], eax
jl 0x1001dac8
mov dword [ebp - 0x18], 1
jmp 0x1001dacc
and dword [ebp - 0x18], 0
push 1
mov ecx, dword [ebp - 0x4c]
call fcn.10017bc7
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [eax]
jne 0x1001dae6
mov dword [ebp - 0x1c], 1
jmp 0x1001daea
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1001e540
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1001e569
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1001e567
push 0x1fbf
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
jmp 0x1001e5b4
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x1001e597
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 2
jge 0x1001e5b4
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0x14]
call fcn.10017bc7
mov dword [eax], 7
jmp 0x1001e58c
mov esp, ebp
pop ebp
ret

Function at 0x1001e8ec
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1001e91b
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1001e919
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
jmp 0x1001e923
push 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov esp, ebp
pop ebp
ret
Function at 0x10023a9d
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10023acb
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x10023ac9
push 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x10023b13
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x10023af9
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 2
jge 0x10023b13
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x18]
call fcn.10017bc7
or dword [eax], 0xffffffff
jmp 0x10023aee
mov esp, ebp
pop ebp
ret
Function at 0x10028352
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x100283df
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x1002838e
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 3
jg 0x100283dd
mov dword [ebp - 0x1c], 2
mov eax, dword [ebp - 0xc]
mov dword [eax], 0
jmp 0x100283b3
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 3
jg 0x100283db
cmp dword [ebp - 0x1c], 0
je 0x100283c3
jmp 0x100283db
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x100283d9
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
jmp 0x100283a8
jmp 0x10028383
jmp 0x100283f6
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov esp, ebp
pop ebp
ret

Function at 0x10028a5c
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10028a74
push 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x10028abf
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x10028aa2
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 1
jge 0x10028abf
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x10]
call fcn.10017bc7
mov dword [eax], 1
jmp 0x10028a97
mov esp, ebp
pop ebp
ret
Function at 0x1002fb28
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1002fb41
push 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x1002fb6a
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
push 0
mov ecx, dword [ebp - 0x10]
call fcn.10017bc7
mov dword [eax], esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1002fc45
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002fc91
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 1
jl 0x1002fc7c
mov dword [ebp - 4], 1
jmp 0x1002fc80
and dword [ebp - 4], 0
push 0
mov ecx, dword [ebp - 0x14]
call fcn.10017bc7
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
jmp 0x1002fcaf
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x1002fcaf
push 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov esp, ebp
pop ebp
ret