joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44a00d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x44a031
cmp dword [edi + 0x54], 0
jne 0x44a031
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00427fd8
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00449fce
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x44f35b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a9c04]
jne 0x44f365
repz ret
jmp fcn.0045e9ba

Function at 0x4742e7
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00456fbd
and dword [ebp - 4], 0
cmp dword [0x4b2a7c], 0
mov ebx, eax
jne 0x474398
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x474449
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x499344
push edi
call esi
test eax, eax
je 0x474449
push eax
call fcn.00456f4b
mov dword [esp], 0x499334
push edi
mov dword [0x4b2a7c], eax
call esi
push eax
call fcn.00456f4b
mov dword [esp], 0x499320
push edi
mov dword [0x4b2a80], eax
call esi
push eax
call fcn.00456f4b
mov dword [esp], 0x499304
push edi
mov dword [0x4b2a84], eax
call esi
push eax
call fcn.00456f4b
pop ecx
mov dword [0x4b2a8c], eax
test eax, eax
je 0x474398
push 0x4992ec
push edi
call esi
push eax
call fcn.00456f4b
pop ecx
mov dword [0x4b2a88], eax
mov eax, dword [0x4b2a88]
cmp eax, ebx
je 0x4743f0
cmp dword [0x4b2a8c], ebx
je 0x4743f0
push eax
call fcn.00456fc6
push dword [0x4b2a8c]
mov esi, eax
call fcn.00456fc6
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4743f0
test edi, edi
je 0x4743f0
call esi
test eax, eax
je 0x4743e7
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4743e7
test byte [ebp - 0xc], 1
jne 0x4743f0
or dword [ebp + 0x10], 0x200000
jmp 0x474429
mov eax, dword [0x4b2a80]
cmp eax, ebx
je 0x474429
push eax
call fcn.00456fc6
pop ecx
test eax, eax
je 0x474429
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x474429
mov eax, dword [0x4b2a84]
cmp eax, ebx
je 0x474429
push eax
call fcn.00456fc6
pop ecx
test eax, eax
je 0x474429
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4b2a7c]
call fcn.00456fc6
pop ecx
test eax, eax
je 0x474449
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x47444b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x422e60
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x16000]
push edi
jmp 0x422e7a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x422e81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x422e70
mov eax, 1
add ebx, ebx
jne 0x422e93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x422e88
jne 0x422ea4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x422e88
xor ecx, ecx
sub eax, 3
jb 0x422eb8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x422f2a
mov ebp, eax
add ebx, ebx
jne 0x422ec3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x422ed0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x422ef4
inc ecx
add ebx, ebx
jne 0x422ee0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x422ed5
jne 0x422ef1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x422ed5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x422f14
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x422f05
jmp 0x422e76
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x422f14
add edi, ecx
jmp 0x422e76
pop esi
mov edi, esi
mov ecx, 0x91a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x422f32
cmp byte [edi], 9
jne 0x422f32
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 0x422f37
lea edi, [esi + 0x20000]
mov eax, dword [edi]
or eax, eax
je 0x422faf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x26ad8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x26ba0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x422f64
mov ecx, edi
jns 0x422f93
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 + 0x26ba4]
or eax, eax
je 0x422fa9
mov dword [ebx], eax
add ebx, 4
jmp 0x422f81
call dword [esi + 0x26bb4]
mov ebp, dword [esi + 0x26ba8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x17f]
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 0x422fe3
sub esp, 0xffffff80
jmp 0x41382f
Function at 0x421e40
Capabilities:
Hash data with md5

Disassembly:
push ebx
push edi
push esi
sub esp, 8
mov eax, 0x352816f9
mov dword [esp + 4], ecx
mov edx, ecx
mov esi, dword [0x495bd8]
mov edi, dword [0x495520]
xor esi, edi
xor esi, 0x578e6a88
mov dword [0x495520], esi
mov dword [ecx], 0
mov bx, word [0x4ac6d8]
mov si, bx
add esi, 0x128f58b9
mov bx, si
mov word [0x4ac6d8], bx
mov dword [ecx + 4], 0
mov esi, dword [0x4a1ac4]
imul esi, esi, 0xb5d65d2d
xor esi, 0x48f4fad7
mov dword [0x49a3dc], esi
mov dword [ecx + 8], 0x67452301
mov ecx, dword [0x49803c]
or ecx, 0x3e8f8607
cmp eax, ecx
mov dword [esp], edx
jge 0x421eff
mov eax, dword [0x498428]
inc eax
mov dword [0x498428], eax
and eax, 0x18ad229f
cmp eax, 0x66ff774f
jge 0x421efa
mov ax, word [0x4a9374]
movsx ecx, ax
mov edx, dword [0x4a0988]
or edx, ecx
mov dword [0x4a0988], edx
jmp 0x421eff
mov eax, dword [esp]
mov dword [eax + 0xc], 0xefcdab89
mov cx, word [0x4abee0]
mov dx, cx
add edx, 0x3f8a7af2
mov cx, dx
mov word [0x4abee0], cx
mov dword [eax + 0x10], 0x98badcfe
mov edx, dword [0x4961ec]
add edx, 0xee8b85d9
mov dword [0x4961ec], edx
mov dword [eax + 0x14], 0x10325476
mov edx, dword [0x4a17d4]
mov esi, 0x6b3818c2
sub esi, edx
mov cx, word [0x4a587a]
mov dx, cx
lea edx, [esi + edx - 0x12a957ba]
mov cx, dx
mov word [0x4a587a], cx
add esp, 8
pop esi
pop edi
pop ebx
ret
Function at 0x43e910
Capabilities:
Terminate process

Disassembly:
push esi
sub esp, 0x10
mov eax, dword [esp + 0x18]
mov ecx, 1
mov dword [esp + 0xc], eax
mov dword [0x49f5c0], 0x7e3af5d2
mov eax, dword [0x4ac948]
mov edx, esp
mov dword [edx], eax
mov dword [esp + 8], ecx
call fcn.00450be0
mov si, word [0x4a70bc]
mov cx, si
or ecx, 0x1811
mov si, cx
mov word [0x4a70bc], si
mov dword [esp], 1
mov byte [esp + 7], al
call fcn.00457520
int3
Function at 0x472180
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x490b60]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00460831
mov dword [ebp - 0x14], eax
cmp dword [0x4ade6c], esi
jne 0x472273
push 0x800
push esi
push 0x4860a0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x472200
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x472353
push esi
push esi
push 0x4860a0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x472353
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x472353
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4ade6c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4ade70], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4ade74], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4ade7c], eax
test eax, eax
je 0x472270
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4ade78], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x472298
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x47228b
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4722ad
push 4
pop eax
jmp 0x472355
cmp dword [ebp - 0x14], esi
je 0x4722ad
push dword [0x4ade6c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x472292
mov eax, dword [0x4ade78]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x47230b
cmp dword [0x4ade7c], edi
je 0x47230b
push eax
call ebx
push dword [0x4ade7c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x47230b
test eax, eax
je 0x47230b
call ecx
test eax, eax
je 0x472300
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x472300
test byte [ebp - 8], 1
jne 0x47230b
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x47233b
mov eax, dword [0x4ade70]
cmp eax, edi
je 0x472338
push eax
call ebx
test eax, eax
je 0x472338
call eax
mov esi, eax
test esi, esi
je 0x472338
mov eax, dword [0x4ade74]
cmp eax, edi
je 0x472338
push eax
call ebx
test eax, eax
je 0x472338
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4ade6c]
call ebx
test eax, eax
je 0x472353
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x472355
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00462cdd
mov esp, ebp
pop ebp
ret
Function at 0x40ce09
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x422234]
jne 0x40ce13
repz ret
jmp fcn.00413639

Function at 0x413b7e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004104e0
and dword [ebp - 4], 0
cmp dword [0x423e1c], 0
mov ebx, eax
jne 0x413c2f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x413ce0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x413ce0
push eax
call fcn.0041046e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x423e1c], eax
call esi
push eax
call fcn.0041046e
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x423e20], eax
call esi
push eax
call fcn.0041046e
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x423e24], eax
call esi
push eax
call fcn.0041046e
pop ecx
mov dword [0x423e2c], eax
test eax, eax
je 0x413c2f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041046e
pop ecx
mov dword [0x423e28], eax
mov eax, dword [0x423e28]
cmp eax, ebx
je 0x413c87
cmp dword [0x423e2c], ebx
je 0x413c87
push eax
call fcn.004104e9
push dword [0x423e2c]
mov esi, eax
call fcn.004104e9
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x413c87
test edi, edi
je 0x413c87
call esi
test eax, eax
je 0x413c7e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x413c7e
test byte [ebp - 0xc], 1
jne 0x413c87
or dword [ebp + 0x10], 0x200000
jmp 0x413cc0
mov eax, dword [0x423e20]
cmp eax, ebx
je 0x413cc0
push eax
call fcn.004104e9
pop ecx
test eax, eax
je 0x413cc0
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x413cc0
mov eax, dword [0x423e24]
cmp eax, ebx
je 0x413cc0
push eax
call fcn.004104e9
pop ecx
test eax, eax
je 0x413cc0
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x423e1c]
call fcn.004104e9
pop ecx
test eax, eax
je 0x413ce0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x413ce2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x24d3700
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.024d378f
jae 0x24d370e
xor ecx, ecx
call fcn.024d378f
jae 0x24d373d
xor eax, eax
call fcn.024d378f
jae 0x24d374d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.024d378f
adc al, al
jae 0x24d372f
jne 0x24d3779
stosb byte es:[edi], al
jmp 0x24d3711
call fcn.024d379b
sub ecx, ebx
jne 0x24d3756
call fcn.024d3799
jmp 0x24d3775
lodsb al, byte [esi]
shr eax, 1
je 0x24d3783
adc ecx, ecx
jmp 0x24d3772
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.024d3799
cmp eax, 0x7d00
jae 0x24d3772
cmp ah, 5
jae 0x24d3773
cmp eax, 0x7f
ja 0x24d3774
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x24d3711
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8
Function at 0x10014e23
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 2
push ebx
push edi
mov edi, edx
mov ebx, ecx
jg 0x10014eb1
imul eax, ebx, 0xab
cmp byte [eax + edi + 0x106b3860], 0x54
je 0x10014eb5
push esi
xor esi, esi
mov edx, dword [esi*4 + 0x10007b30]
mov ecx, dword [esi*4 + 0x10007b40]
add edx, edi
add ecx, ebx
js 0x10014eaa
cmp ecx, dword [0x106baae0]
jge 0x10014eaa
test edx, edx
js 0x10014eaa
cmp edx, dword [0x106baad0]
jge 0x10014eaa
imul eax, ecx, 0xab
add eax, edx
cmp byte [eax + 0x106b3860], 0x2a
je 0x10014eaa
imul eax, eax, 3
add eax, dword [ebp + 8]
cmp byte [esi + eax*4 + 0x1065ddb0], 0
jne 0x10014eaa
mov byte [esi + eax*4 + 0x1065ddb0], 1
xor eax, eax
cmp esi, dword [ebp + 0xc]
push esi
setne al
add eax, dword [ebp + 8]
push eax
call fcn.10014e23
pop ecx
pop ecx
inc esi
cmp esi, 4
jl 0x10014e45
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x10007868
call fcn.100507b6
pop ecx
push 0
call fcn.100518e8
int3
Function at 0x1001c5ac
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0xc], 0xffffffff
push 3
lea ecx, [ebp - 0x18]
call fcn.1000f19e
xor ebx, ebx
mov dword [ebp - 8], ebx
jmp 0x1001c5de
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
mov dword [eax + ecx*4], 0xfffffffb
inc dword [ebp - 8]
cmp dword [ebp - 8], 3
jl 0x1001c5ce
lea ecx, [ebp - 0xc]
call fcn.1001c572
mov dword [ebp - 0xc], 2
cmp dword [ebp - 0xc], ebx
jl 0x1001c608
mov byte [ebp - 1], bl
lea ecx, [ebp - 1]
call fcn.1001c579
dec dword [ebp - 0xc]
jns 0x1001c5f8
cmp dword [ebp - 0x18], ebx
je 0x1001c61f
push dword [ebp - 0x18]
call fcn.10050764
pop ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
cmp dword [esi], ebx
je 0x1001c66c
push dword [esi]
push ebx
push dword [esi + 4]
call fcn.1000ea1a
push dword [esi + 4]
call fcn.10050764
mov dword [esi + 4], ebx
add esp, 0x10
mov dword [ebp - 8], 0x7f825e7a
mov byte [ebp - 2], bl
cmp byte [ebp - 2], bl
je 0x1001c658
push 0xa53
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov byte [ebp - 2], bl
cmp byte [ebp - 2], bl
je 0x1001c665
call fcn.1001c59c
mov ecx, esi
call fcn.1001c5a8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002902a
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x10069ebc
call fcn.10068cf8
sub esp, 0xc
push ebx
push esi
mov dword [ebp - 0x18], 0x56a8
cmp dword [ebp - 0x18], 0x5733
push edi
mov dword [ebp - 0x10], esp
jle 0x1002908f
xor esi, esi
mov dword [ebp - 0x14], esi
xor edi, edi
mov eax, esi
xor ebx, ebx
cdq
idiv edi
mov esi, edx
mov eax, esi
mov ecx, 0x1065b1f8
xor eax, ebx
cdq
push edx
push eax
call fcn.10022449
inc ebx
cmp ebx, 0x1665
jl 0x1002905d
mov esi, dword [ebp - 0x14]
inc edi
cmp edi, 0x35e3
jl 0x10029054
inc esi
mov dword [ebp - 0x14], esi
cmp esi, 0x5aab
jl 0x10029052
and dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0x52d1
jge 0x100290ab
mov edx, 0x10007be0
mov ecx, 0x1065b1f8
call fcn.10022d5e
fldz
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10029336
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x10069eda
call fcn.10068cf8
sub esp, 0x18
push ebx
push esi
mov dword [ebp - 0x20], 0x65c4
xor esi, esi
cmp dword [ebp - 0x20], 0x66dd
push edi
mov dword [ebp - 0x10], esp
jle 0x100293d4
mov edi, esi
mov dword [ebp - 0x1c], esi
mov ebx, esi
mov dword [ebp - 0x18], esi
mov eax, ebx
mov dword [ebp - 0x14], esi
xor eax, edi
mov dword [ebp - 0x24], eax
mov edi, eax
mov ebx, esi
mov esi, dword [ebp - 0x14]
mov eax, ebx
mov ecx, 0x1065b1f8
and eax, esi
or eax, edi
cdq
push edx
push eax
call fcn.10022449
inc ebx
cmp ebx, 0x97f
jl 0x10029376
inc esi
push 0
mov dword [ebp - 0x14], esi
cmp esi, 0x6974
pop esi
jl 0x10029371
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
inc ebx
mov dword [ebp - 0x18], ebx
cmp ebx, 0x42e0
jl 0x10029365
inc edi
mov dword [ebp - 0x1c], edi
cmp edi, 0x314d
jl 0x10029360
push esi
push esi
push esi
push esi
push 0x4f0
push 1
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp - 4], esi
cmp dword [ebp - 0x20], 0x629d
jge 0x100293ef
mov edx, 0x10007da8
mov ecx, 0x1065b1f8
call fcn.10022d5e
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10029d42
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10029dec
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x10029dc3
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x10029da4
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], 4
jge 0x10029dc1
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x1c]
call fcn.1000f296
mov dword [eax], 1
jmp 0x10029d99
jmp 0x10029dea
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x10029dea
push 0
push 0x23ee
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
jmp 0x10029e00
push 0x1b6a
push 0x32d1
push 1
call fcn.10029c4f
add esp, 0xc
mov esp, ebp
pop ebp
ret

Function at 0x1002ae0e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1002ae63
lea eax, [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x1002ae3e
push 0
push 0
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x1002ae61
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x1002ae61
push 0x13d2
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
jmp 0x1002ae81
push 0x5f3a
push 1
push 0x3c50
push 0x5864
push 0x127b
call fcn.1002a4de
add esp, 0x14
mov esp, ebp
pop ebp
ret
Function at 0x1002aeae
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002aed0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
push dword [ebp - 8]
push 1
call fcn.1002af47
pop ecx
pop ecx
jmp 0x1002af43
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x1002aef8
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x1002af43
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1002af26
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 0x1002af43
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x20]
call fcn.1000f296
mov dword [eax], 0xe7d214c4
jmp 0x1002af1b
mov esp, ebp
pop ebp
ret
Function at 0x1002e7c9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1002e7f6
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
push 0x7bf
push dword [ebp - 8]
push 0x3edf
push 0
call fcn.10041b49
add esp, 0x10
jmp 0x1002e829
lea eax, [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x1002e810
push 0
call dword [sym.imp.KERNEL32.dll_LockResource]
jmp 0x1002e829
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1002e829
push 0x21a7
push 0
call dword [sym.imp.USER32.dll_CharUpperBuffW]
mov esp, ebp
pop ebp
ret

Function at 0x1002f06b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1002f0b7
lea eax, [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1002f09e
push 0x13d2
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
jmp 0x1002f0b5
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
jmp 0x1002f0cf
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
push 0
push dword [ebp - 0x14]
push 0x159a
call fcn.1002acc7
add esp, 0xc
mov esp, ebp
pop ebp
ret