joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402590
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc74
push edi
push esi
push ebx
push 0x45550e
push 1
push 0
call fcn.0040943c
mov dword [0x45c932], eax
call fcn.0040949c
or eax, eax
jne 0x402690
push dword [0x45c932]
call fcn.0040941e
push 0x12c
lea eax, [ebp - 0x384]
push eax
push dword [0x45c92e]
call fcn.004094a8
push 0x12c
lea eax, [ebp - 0x12c]
push eax
call fcn.004094ba
lea ecx, [ebp - 0x12c]
cmp byte [eax + ecx - 1], 0x5c
je 0x402602
mov word [eax + ecx], 0x5c
lea eax, [ebp - 0x12c]
push eax
push 0x455769
lea eax, [ebp - 0x258]
push eax
call fcn.00409412
add esp, 0xc
lea eax, [ebp - 0x38c]
push eax
lea eax, [ebp - 0x388]
push eax
lea eax, [ebp - 0x384]
push eax
call fcn.00402760
mov edi, dword [ebp - 0x388]
cmp word [edi], 0x5a4d
jne 0x402655
add edi, dword [edi + 0x3c]
cmp dword [edi], 0x4550
jne 0x402655
xor word [edi + 0x16], 0x2000
push dword [ebp - 0x38c]
push dword [ebp - 0x388]
lea eax, [ebp - 0x258]
push eax
call fcn.004026b0
cmp eax, 0xffffffff
je 0x40267e
lea eax, [ebp - 0x258]
push eax
call fcn.00402710
push 0x8000
push 0
push dword [ebp - 0x388]
call fcn.00409550
push dword [0x45c932]
call fcn.0040941e
xor eax, eax
pop ebx
pop esi
pop edi
leave
ret

Function at 0x4027f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffb40
push edi
push esi
push ebx
push 0x45577a
push 0
push 4
call fcn.00409502
or eax, eax
je 0x402868
mov dword [ebp - 0x4bc], eax
push 0
push 0
push 0
push 4
push dword [ebp - 0x4bc]
call fcn.004094fc
mov dword [ebp - 0x4c0], eax
mov ecx, dword [eax]
mov dword [ebp - 0x4b8], ecx
add eax, 4
mov edi, eax
push 0x40
push 0x1000
push dword [ebp - 0x4b8]
push 0
call fcn.0040954a
mov dword [ebp - 0x4b4], eax
push dword [ebp - 0x4b8]
push edi
push dword [ebp - 0x4b4]
call fcn.0040e8ff
jmp 0x402895
push 0x258
lea eax, [ebp - 0x4b0]
push eax
push 0
call fcn.004094a8
lea eax, [ebp - 0x4b8]
push eax
lea eax, [ebp - 0x4b4]
push eax
lea eax, [ebp - 0x4b0]
push eax
call fcn.00402760
mov edi, dword [ebp - 0x4b4]
cmp word [edi], 0x5a4d
jne 0x4028b3
add edi, dword [edi + 0x3c]
cmp dword [edi], 0x4550
jne 0x4028b3
or word [edi + 0x16], 0x2000
mov edi, dword [ebp - 0x4b4]
mov esi, edi
add esi, dword [esi + 0x3c]
mov ebx, dword [esi + 0x34]
lea esi, [esi + 0x78]
mov eax, dword [esi]
push eax
push edi
call fcn.00402930
add eax, edi
mov eax, dword [eax + 0xc]
push eax
push edi
call fcn.00402930
add edi, eax
push edi
call fcn.00409586
push eax
push 0
push edi
call fcn.0040e930
push dword [ebp + 8]
push edi
call fcn.0040957a
push dword [ebp + 0xc]
call fcn.004029a0
push dword [ebp - 0x4b8]
push dword [ebp - 0x4b4]
push dword [ebp + 0xc]
call fcn.004026b0
push 0x8000
push 0
push dword [ebp - 0x4b4]
call fcn.00409550
pop ebx
pop esi
pop edi
leave
ret 8
Function at 0x408cd0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov dword [0x45c92e], edi
add ebp, 4
mov ebx, 0xffffffff
push 0x400
push edi
call fcn.004094de
or eax, eax
jne 0x408d19
cmp word [edi], 0x5a4d
jne 0x408d19
add edi, dword [edi + 0x3c]
cmp dword [edi], 0x4550
jne 0x408d19
movzx ecx, word [edi + 0x16]
test ecx, 0x2000
je 0x408d19
xor ebx, ebx
or ebx, ebx
jne 0x408d3a
call fcn.00402520
cmp esi, 1
jne 0x408d33
mov eax, 1
pop ebx
pop esi
pop edi
leave
ret 0xc
pop ebx
pop esi
pop edi
leave
ret 0xc
sub ebp, 4
pop ebx
pop esi
pop edi
leave
ret 0xc

Function at 0x40a2d4
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov dword [edx], 0x67452301
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0xefcdab89
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], 0x98badcfe
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], 0x10325476
mov esp, ebp
pop ebp
ret

Function at 0x40cfec
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], ecx
mov byte [ebp - 0x20], 0xfe
mov byte [ebp - 0x1f], 0xdc
mov byte [ebp - 0x1e], 0xba
mov byte [ebp - 0x1d], 0x98
mov byte [ebp - 0x1c], 0x76
mov byte [ebp - 0x1b], 0x54
mov byte [ebp - 0x1a], 0x32
mov byte [ebp - 0x19], 0x10
mov byte [ebp - 0x18], 0xa3
mov byte [ebp - 0x17], 0x9d
mov byte [ebp - 0x16], 0x4a
mov byte [ebp - 0x15], 0x18
mov byte [ebp - 0x14], 0xf8
mov byte [ebp - 0x13], 0x5b
mov byte [ebp - 0x12], 0x4a
mov byte [ebp - 0x11], 0x52
mov byte [ebp - 0x10], 0xfe
mov byte [ebp - 0xf], 0xdc
mov byte [ebp - 0xe], 0xba
mov byte [ebp - 0xd], 0x98
mov byte [ebp - 0xc], 0x76
mov byte [ebp - 0xb], 0x54
mov byte [ebp - 0xa], 0x32
mov byte [ebp - 9], 0x10
mov byte [ebp - 8], 0xa3
mov byte [ebp - 7], 0x3d
mov byte [ebp - 6], 0x4a
mov byte [ebp - 5], 0x18
mov byte [ebp - 4], 0xf8
mov byte [ebp - 3], 0x5b
mov byte [ebp - 2], 0x4a
mov byte [ebp - 1], 0x52
push 0
mov dl, 2
lea ecx, [ebp - 0x48]
call fcn.0040d0bc
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x33], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x2f], ecx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x2b], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x27], eax
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [ebp + 0xc]
shl edx, 3
push edx
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x4c]
lea ecx, [ebp - 0x48]
call fcn.0040d13f
mov esp, ebp
pop ebp
ret 8
Function at 0x412528
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff38
mov eax, dword [ebp + 0x10]
shl eax, 3
mov dword [ebp - 4], eax
mov dword [0x45be68], 0x67452301
mov dword [0x45be6c], 0xefcdab89
mov dword [0x45be70], 0x98badcfe
mov dword [0x45be74], 0x10325476
cmp dword [ebp + 0x10], 0x40
jle 0x412595
push dword [ebp + 0xc]
lea edx, [ebp - 0xc8]
push edx
call fcn.00412735
add esp, 8
lea ecx, [ebp - 0xc8]
push ecx
call fcn.0041278e
pop ecx
add dword [ebp + 0xc], 0x40
sub dword [ebp + 0x10], 0x40
cmp dword [ebp + 0x10], 0x40
jg 0x412568
xor eax, eax
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
mov byte [edx + ebp - 0x88], 0
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x80
jl 0x41259a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
lea eax, [ebp - 0x88]
push eax
call fcn.0040e8ff
mov eax, dword [ebp + 0x10]
mov byte [eax + ebp - 0x88], 0x80
cmp dword [ebp + 0x10], 0x37
jg 0x412608
push dword [ebp - 4]
lea edx, [ebp - 0x50]
push edx
call fcn.004126fa
add esp, 8
lea ecx, [ebp - 0x88]
push ecx
lea eax, [ebp - 0xc8]
push eax
call fcn.00412735
add esp, 8
lea edx, [ebp - 0xc8]
push edx
call fcn.0041278e
pop ecx
jmp 0x41265a
push dword [ebp - 4]
lea ecx, [ebp - 0x10]
push ecx
call fcn.004126fa
add esp, 8
lea eax, [ebp - 0x88]
push eax
lea edx, [ebp - 0xc8]
push edx
call fcn.00412735
add esp, 8
lea ecx, [ebp - 0xc8]
push ecx
call fcn.0041278e
pop ecx
lea eax, [ebp - 0x48]
push eax
lea edx, [ebp - 0xc8]
push edx
call fcn.00412735
add esp, 8
lea ecx, [ebp - 0xc8]
push ecx
call fcn.0041278e
pop ecx
xor eax, eax
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
mov byte [edx + ebp - 0x88], 0
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x80
jl 0x41265f
lea ecx, [ebp - 0x88]
push ecx
lea eax, [ebp - 0xc8]
push eax
call fcn.00412735
add esp, 8
push dword [0x45be68]
push dword [ebp + 8]
call fcn.004126fa
add esp, 8
push dword [0x45be6c]
mov edx, dword [ebp + 8]
add edx, 4
push edx
call fcn.004126fa
add esp, 8
push dword [0x45be70]
mov ecx, dword [ebp + 8]
add ecx, 8
push ecx
call fcn.004126fa
add esp, 8
push dword [0x45be74]
mov eax, dword [ebp + 8]
add eax, 0xc
push eax
call fcn.004126fa
add esp, 8
xor edx, edx
mov dword [0x45be74], edx
mov dword [0x45be70], edx
mov dword [0x45be6c], edx
mov dword [0x45be68], edx
mov esp, ebp
pop ebp
ret
Function at 0x10002e50
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x1009c0c8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x100b7bd0]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
xor edi, edi
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], edi
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], edi
mov word [esp + 0x20], di
call fcn.10002490
mov edx, dword [esp + 0x44]
mov eax, edx
mov dword [esp + 0x34], edi
lea esi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x10002eb0
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.10001ed0
mov esi, dword [esp + 0x3c]
push 0xffffffffffffffff
push edi
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push eax
mov ecx, esi
mov word [esi + 4], di
call fcn.10002490
cmp dword [esp + 0x28], 8
jb 0x10002efb
mov ecx, dword [esp + 0x14]
push ecx
call fcn.10079508
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x2c
ret

Function at 0x10004be0
Capabilities:
Create thread
Resume thread

Disassembly:
push edi
mov edi, ecx
mov eax, dword [edi]
test eax, eax
jne 0x10004bed
xor al, al
pop edi
ret
cmp dword [eax + 4], 0
je 0x10004be9
push esi
lea ecx, [eax + 0xc]
push ecx
push 4
push eax
push 0x10004aa0
push 0
push 0
call fcn.1007b983
mov edx, dword [edi]
mov dword [edx + 0x10], eax
mov eax, dword [edi]
add esp, 0x18
cmp dword [eax + 0x10], 0
jne 0x10004c42
or esi, 0xffffffff
mov dword [eax + 0x10], esi
mov edi, dword [edi]
mov eax, dword [edi + 0x10]
cmp eax, esi
je 0x10004c32
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x10], esi
pop esi
mov byte [edi + 8], 0
mov dword [edi + 0xc], 0
xor al, al
pop edi
ret
mov byte [eax + 8], 1
mov eax, dword [edi]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x10004c64
mov esi, dword [edi]
call fcn.10004b30
mov edx, dword [edi]
mov byte [edx + 8], 0
pop esi
mov al, 1
pop edi
ret
Function at 0x10005850
Capabilities:
Create http request

Disassembly:
push 0xffffffffffffffff
push 0x1009cac8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x100b7bd0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, dword [esp + 0x30]
push 0
push 0
push 0
push 0
push 0
or edi, 0x4000000
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, eax
mov dword [esp + 0x10], esi
push 4
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x24], 0
mov ebx, dword [sym.imp.WININET.dll_InternetSetOptionW]
push 2
push esi
mov dword [esp + 0x40], 0x1388
call ebx
push 4
lea ecx, [esp + 0x34]
push ecx
push 3
push esi
mov dword [esp + 0x40], 3
call ebx
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x30]
push edx
push eax
push ecx
mov ecx, edi
lea edx, [esp + 0x28]
call fcn.10005c00
add esp, 0x18
test esi, esi
mov bl, al
je 0x10005912
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov edi, eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov al, bl
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x100081c0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x1009c9b8
mov eax, dword fs:[0]
push eax
mov eax, 0x200c
call fcn.1007a7d0
mov eax, dword [0x100b7bd0]
xor eax, esp
mov dword [esp + 0x2008], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100b7bd0]
xor eax, esp
push eax
lea eax, [esp + 0x2020]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2034]
mov esi, dword [esp + 0x2030]
mov ebx, dword [esp + 0x2038]
xor ebp, ebp
mov edi, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebp
push 0x1ffe
lea ecx, [esp + 0x22]
push ebp
mov dword [esp + 0x2030], ebp
push ecx
mov word [esp + 0x28], bp
call fcn.1007aac0
mov edx, 8
add esp, 0xc
cmp dword [edi + 0x18], edx
jb 0x1000824e
mov edi, dword [edi + 4]
jmp 0x10008251
add edi, 4
cmp dword [esp + 0x2054], edx
mov ecx, dword [esp + 0x2040]
jae 0x10008268
lea ecx, [esp + 0x2040]
cmp dword [ebx + 0x18], edx
jb 0x10008272
mov ebx, dword [ebx + 4]
jmp 0x10008275
add ebx, 4
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x18], edx
jb 0x10008283
mov eax, dword [eax + 4]
jmp 0x10008286
add eax, 4
push edi
push 0x1000
lea edx, [esp + 0x24]
push edx
push ecx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x1c]
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebp
mov word [esi + 4], bp
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x100082b0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.10004560
cmp dword [esp + 0x2054], 8
jb 0x100082e6
mov ecx, dword [esp + 0x2040]
push ecx
call fcn.10079508
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x2020]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2008]
xor ecx, esp
call fcn.1007a1bc
add esp, 0x2018
ret 0x28

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

Disassembly:
push 0xffffffffffffffff
push 0x1009c988
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x100b7bd0]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x100b7bd0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [esp + 0x38]
xor esi, esi
push 0xffffffffffffffff
push esi
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], esi
mov word [esp + 0x18], si
call fcn.10002490
lea eax, [esp + 8]
push 0x24
push eax
mov dword [esp + 0x38], esi
call fcn.10010690
mov eax, dword [esp + 0x14]
mov esi, 8
add esp, 8
cmp dword [esp + 0x20], esi
jae 0x10008f49
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10008f6c
cmp dword [esp + 0x20], esi
jb 0x10008f68
mov ecx, dword [esp + 0xc]
push ecx
call fcn.10079508
add esp, 4
mov al, 1
jmp 0x10008f81
cmp dword [esp + 0x20], esi
jb 0x10008f7f
mov edx, dword [esp + 0xc]
push edx
call fcn.10079508
add esp, 4
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.1007a1bc
add esp, 0x2c
ret
Function at 0x10008fa0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x1009c988
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x100b7bd0]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x100b7bd0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [esp + 0x38]
xor esi, esi
push 0xffffffffffffffff
push esi
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], esi
mov word [esp + 0x18], si
call fcn.10002490
lea eax, [esp + 8]
push 0x24
push eax
mov dword [esp + 0x38], esi
call fcn.10010690
mov eax, dword [esp + 0x14]
mov esi, 8
add esp, 8
cmp dword [esp + 0x20], esi
jae 0x10009019
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10009040
test al, 0x10
jne 0x10009040
cmp dword [esp + 0x20], esi
jb 0x1000903c
mov ecx, dword [esp + 0xc]
push ecx
call fcn.10079508
add esp, 4
mov al, 1
jmp 0x10009055
cmp dword [esp + 0x20], esi
jb 0x10009053
mov edx, dword [esp + 0xc]
push edx
call fcn.10079508
add esp, 4
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.1007a1bc
add esp, 0x2c
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x1009c988
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x100b7bd0]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x100b7bd0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [esp + 0x38]
xor esi, esi
push 0xffffffffffffffff
push esi
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], esi
mov word [esp + 0x18], si
call fcn.10002490
lea eax, [esp + 8]
push 0x24
push eax
mov dword [esp + 0x38], esi
call fcn.10010690
mov eax, dword [esp + 0x14]
mov esi, 8
add esp, 8
cmp dword [esp + 0x20], esi
jae 0x100090f9
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10009120
test al, 0x10
je 0x10009120
cmp dword [esp + 0x20], esi
jb 0x1000911c
mov ecx, dword [esp + 0xc]
push ecx
call fcn.10079508
add esp, 4
mov al, 1
jmp 0x10009135
cmp dword [esp + 0x20], esi
jb 0x10009133
mov edx, dword [esp + 0xc]
push edx
call fcn.10079508
add esp, 4
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.1007a1bc
add esp, 0x2c
ret
Function at 0x10009160
Capabilities:
Delete file
Get file attributes
Set file attributes

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
cmp dword [edi + 0x18], 8
lea esi, [edi + 4]
jb 0x10009173
mov eax, dword [esi]
jmp 0x10009175
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x10009197
and eax, 0xfffffffe
cmp dword [edi + 0x18], 8
jb 0x1000918d
mov ecx, dword [esi]
jmp 0x1000918f
mov ecx, esi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [edi + 0x18], 8
jb 0x1000919f
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
sub eax, 1
neg eax
sbb eax, eax
pop edi
add eax, 1
pop esi
ret

Function at 0x100091c0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x1009bdf8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x100b7bd0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100b7bd0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov edi, dword [esp + 0x48]
mov eax, dword [edi + 0x14]
xor ebp, ebp
xor esi, esi
cmp eax, ebp
mov dword [esp + 0x14], eax
jbe 0x100092e2
lea ebx, [edi + 4]
lea esp, [esp]
cmp esi, dword [edi + 0x14]
jbe 0x1000921a
call fcn.10079637
cmp dword [edi + 0x18], 8
jb 0x10009224
mov eax, dword [ebx]
jmp 0x10009226
mov eax, ebx
cmp word [eax + esi*2], 0x2f
je 0x1000924e
cmp esi, dword [edi + 0x14]
jbe 0x10009237
call fcn.10079637
cmp dword [edi + 0x18], 8
jb 0x10009241
mov eax, dword [ebx]
jmp 0x10009243
mov eax, ebx
cmp word [eax + esi*2], 0x5c
jne 0x100092d5
push esi
push ebp
lea eax, [esp + 0x20]
push eax
mov ecx, edi
call fcn.100042c0
mov dword [esp + 0x40], ebp
cmp dword [esp + 0x2c], ebp
je 0x100092a8
lea edx, [esp + 0x18]
push edx
call fcn.10008ed0
add esp, 4
test al, al
jne 0x100092a8
cmp dword [esp + 0x30], 8
mov eax, dword [esp + 0x1c]
jae 0x10009286
lea eax, [esp + 0x1c]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x100092a8
mov dword [esp + 0x40], 0xffffffff
cmp dword [esp + 0x30], 8
jb 0x100092c4
mov eax, dword [esp + 0x1c]
push eax
jmp 0x100092bc
mov dword [esp + 0x40], 0xffffffff
cmp dword [esp + 0x30], 8
jb 0x100092c4
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.10079508
add esp, 4
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebp
mov word [esp + 0x1c], bp
add esi, 1
cmp esi, dword [esp + 0x14]
jb 0x10009210
push edi
call fcn.10008ed0
add esp, 4
test al, al
jne 0x1000930d
cmp dword [edi + 0x18], 8
jb 0x100092fa
mov eax, dword [edi + 4]
jmp 0x100092fd
lea eax, [edi + 4]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1000930d
xor al, al
jmp 0x10009316
push edi
call fcn.10009080
add esp, 4
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.1007a1bc
add esp, 0x30
ret
Function at 0x10009820
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1009beeb
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x100b7bd0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
xor eax, eax
mov dword [esp + 0x14], eax
mov ecx, 7
mov dword [esi + 0x18], ecx
mov dword [esi + 0x14], eax
mov word [esi + 4], ax
mov dword [esi + 0x34], ecx
mov dword [esi + 0x30], eax
mov word [esi + 0x20], ax
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x24]
push eax
mov ecx, esi
mov byte [esp + 0x20], 2
call fcn.10002490
cmp dword [esp + 0x34], 8
mov cl, byte [esp + 0x38]
mov byte [esi + 0x38], cl
jb 0x10009896
mov edx, dword [esp + 0x20]
push edx
call fcn.10079508
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x20

Function at 0x1000b160
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x1009c852
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x100b7bd0]
xor eax, esp
mov dword [esp + 0x21c], eax
push ebx
push ebp
push edi
mov eax, dword [0x100b7bd0]
xor eax, esp
push eax
lea eax, [esp + 0x230]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x240]
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
mov dword [esp + 0x1c], esi
mov edi, ecx
mov word [esi + 4], bx
push 0x208
lea eax, [esp + 0x26]
mov dword [esp + 0x23c], ebx
push ebx
push eax
mov dword [esp + 0x24], 1
mov word [esp + 0x2c], bx
call fcn.1007aac0
add esp, 0xc
cmp dword [edi + 0x18], 8
mov dword [esp + 0x10], 0x208
mov dword [esp + 0x14], 1
jb 0x1000b1fd
mov edi, dword [edi + 4]
jmp 0x1000b200
add edi, 4
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x1c]
push eax
push ebx
push edi
push ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000b25c
mov eax, dword [esp + 0x10]
cmp eax, 0x104
ja 0x1000b22e
mov word [esp + eax*2 + 0x20], bx
jmp 0x1000b236
mov word [esp + 0x228], bx
lea eax, [esp + 0x20]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1000b240
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.10004560
mov eax, esi
mov ecx, dword [esp + 0x230]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.1007a1bc
add esp, 0x22c
ret 4
Function at 0x10010da0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x100b7bd0]
xor eax, esp
mov dword [esp + 0x20c], eax
push 0x20a
lea eax, [esp + 6]
push 0
push eax
mov word [esp + 0xc], 0
call fcn.1007aac0
add esp, 0xc
push 0x105
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
add eax, 0xffffffff
cmp eax, 0x103
ja 0x10010e33
lea eax, [esp]
mov word [esp + 0x20a], 0
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10010e00
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 4]
push edx
mov ecx, edi
call fcn.10004560
mov al, 1
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.1007a1bc
add esp, 0x210
ret
mov ecx, dword [esp + 0x20c]
xor ecx, esp
xor al, al
call fcn.1007a1bc
add esp, 0x210
ret

Function at 0x10010e50
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x100b7bd0]
xor eax, esp
mov dword [esp + 0x20c], eax
push edi
mov edi, dword [esp + 0x218]
push 0x20a
lea eax, [esp + 0xa]
push 0
push eax
mov word [esp + 0x10], 0
call fcn.1007aac0
add esp, 0xc
push 0x105
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
add eax, 0xffffffff
cmp eax, 0x103
ja 0x10010ee6
lea eax, [esp + 4]
mov word [esp + 0x20e], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10010eb2
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 8]
push edx
mov ecx, edi
call fcn.10004560
mov al, 1
pop edi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.1007a1bc
add esp, 0x210
ret
mov ecx, dword [esp + 0x210]
pop edi
xor ecx, esp
xor al, al
call fcn.1007a1bc
add esp, 0x210
ret

Function at 0x10010f00
Capabilities:
Move file

Disassembly:
mov edx, 8
cmp dword [eax + 0x18], edx
jb 0x10010f0f
mov eax, dword [eax + 4]
jmp 0x10010f12
add eax, 4
cmp dword [ecx + 0x18], edx
jb 0x10010f28
mov ecx, dword [ecx + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne al
ret
add ecx, 4
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne al
ret