joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2754a050
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x275a6c79
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x275ba2ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x120], edi
mov dword [ebp - 0x128], edi
mov eax, dword [0x275bc8c4]
mov edx, dword [eax + 0xc]
mov ecx, 0x275bc8c4
mov byte [ebp - 4], 1
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x124], esi
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.2753d4c0
mov ecx, eax
call fcn.2753d510
lea ecx, [ebp + 8]
call fcn.2753e6c0
mov eax, dword [ebp + 8]
push eax
push 0x2750c638
push 0x2750c5e8
lea ecx, [ebp - 0x120]
push ecx
push 0x2750c578
lea edx, [ebp - 0x11c]
push 2
push edx
call fcn.2753a320
add esp, 0x1c
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], edi
mov byte [ebp - 4], 3
je 0x2754a150
push 0x36
push 0x275098f8
lea ecx, [ebp - 0x124]
call fcn.27538e90
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x124]
call fcn.2753eb70
mov esi, dword [ebp - 0x124]
push esi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp eax, edi
je 0x2754a150
cmp eax, 2
je 0x2754a150
cmp eax, edi
jle 0x2754a14a
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x120], eax
mov edi, dword [ebp - 0x120]
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 2
call fcn.2753a430
lea eax, [esi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [ebp - 4], 1
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x2754a185
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [ebp - 4], 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x2754a1ab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.2757f388
mov esp, ebp
pop ebp
ret 4
Function at 0x2754dfc0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x275a72fa
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x275ba2ec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi], edi
mov dword [esi + 8], edi
mov eax, dword [0x275bc8c4]
mov edx, dword [eax + 0xc]
mov ecx, 0x275bc8c4
mov dword [ebp - 4], edi
lea ebx, [esi + 0xc]
call edx
add eax, 0x10
mov dword [ebx], eax
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov eax, dword [0x275bc8c4]
mov edx, dword [eax + 0xc]
mov ecx, 0x275bc8c4
mov byte [ebp - 4], 1
call edx
add eax, 0x10
mov dword [esi + 0x44], eax
mov eax, dword [0x275bc8c4]
mov edx, dword [eax + 0xc]
mov ecx, 0x275bc8c4
mov byte [ebp - 4], 2
call edx
add eax, 0x10
mov dword [esi + 0x48], eax
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x2c]
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], ecx
mov edx, dword [0x275bc8c4]
mov eax, dword [edx + 0xc]
mov ecx, 0x275bc8c4
mov byte [ebp - 4], 3
call eax
add eax, 0x10
mov dword [esi + 0x54], eax
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x70], edi
lea ecx, [esi + 0x18]
push ecx
mov byte [ebp - 4], 6
call fcn.2757ffa7
mov edx, dword [ebp + 0xc]
add esp, 4
push edx
mov ecx, ebx
call fcn.2753d5b0
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [esi + 0x48]
call fcn.2753d5b0
mov ecx, dword [ebp + 0x14]
push ecx
lea ecx, [esi + 0x44]
call fcn.2753d5b0
mov eax, dword [ebp + 0x18]
mov edx, dword [eax]
mov dword [esi + 0x24], edx
mov ecx, dword [eax + 4]
mov dword [esi + 0x28], ecx
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx]
mov dword [esi + 0x2c], edx
mov edx, dword [ecx + 4]
mov dword [esi + 0x30], edx
mov ebx, dword [ecx]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [ecx + 4]
sub ebx, edx
sbb ecx, eax
push edi
mov dword [ebp - 0x14], ecx
call fcn.2757ffa7
add esp, 4
mov dword [esi + 0x34], eax
add eax, ebx
mov dword [esi + 0x38], edx
adc edx, dword [ebp - 0x14]
mov dword [esi + 0x3c], eax
mov eax, dword [ebp + 0x20]
push eax
mov ecx, esi
mov dword [esi + 0x40], edx
call fcn.2753b7f0
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x30]
mov dword [esi + 0x10], ecx
push edx
lea ecx, [esi + 0x54]
call fcn.2753d5b0
mov eax, dword [ebp + 8]
cmp eax, edi
mov dword [esi + 0x70], eax
je 0x2754e146
push edi
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_CryptContextAddRef]
test eax, eax
jne 0x2754e146
call fcn.27539290
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x2c
Function at 0x2754f050
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x275ba2ec]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov eax, dword [esi + 0x24]
push eax
push esi
push 0x2750f840
push 0x2750f7f8
lea ecx, [ebp - 0x114]
push ecx
push 0x2750f788
lea edx, [ebp - 0x110]
push 2
push edx
mov dword [ebp - 0x114], 0
call fcn.2753a320
mov ecx, dword [esi + 0x164]
add esp, 0x20
lea eax, [ebp - 0x118]
push eax
push 0
push ecx
push 0x2754ef60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x2754f0e9
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x2754f0d5
call esi
mov dword [ebp - 0x114], eax
jmp 0x2754f0f6
call esi
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x114], eax
jmp 0x2754f0f6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x114]
lea ecx, [ebp - 0x110]
mov esi, eax
call fcn.2753a430
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.2757f388
mov esp, ebp
pop ebp
ret

Function at 0x2754f210
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x275ba2ec]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov eax, dword [esi + 0x24]
push eax
push esi
push 0x2750f840
push 0x2750f9f8
lea ecx, [ebp - 0x114]
push ecx
push 0x2750f988
lea edx, [ebp - 0x110]
push 2
push edx
mov dword [ebp - 0x114], 0
call fcn.2753a320
mov ecx, dword [esi + 0x168]
add esp, 0x20
lea eax, [ebp - 0x118]
push eax
push 0
push ecx
push 0x2754f120
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x2754f2a9
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x2754f295
call esi
mov dword [ebp - 0x114], eax
jmp 0x2754f2b6
call esi
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x114], eax
jmp 0x2754f2b6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x114]
lea ecx, [ebp - 0x110]
mov esi, eax
call fcn.2753a430
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.2757f388
mov esp, ebp
pop ebp
ret
Function at 0x2754f490
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push edi
push 0x38
xor edi, edi
lea eax, [ebp - 0x38]
push edi
push eax
mov esi, ecx
call fcn.2757fdd0
mov ecx, dword [ebp + 8]
add esp, 0xc
mov eax, 1
mov dword [ebp - 0x28], eax
mov dword [ebp - 0xc], eax
mov eax, dword [ecx]
lea edx, [ebp - 0x3c]
push edx
mov dword [ebp - 0x3c], 0x3c
mov ecx, dword [eax - 0xc]
push edi
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x2754f500
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x2754f4ec
call esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
call esi
and eax, 0xffff
pop edi
or eax, 0x80070000
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x2754f517
mov ecx, dword [ebp - 0x28]
push ecx
push eax
lea ecx, [esi + 0x18c]
call fcn.27538e90
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x2754f52e
mov edx, dword [ebp - 0xc]
push edx
push eax
lea ecx, [esi + 0x190]
call fcn.27538e90
mov eax, dword [ebp + 0xc]
mov cx, word [ebp - 0x24]
mov word [eax], cx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x275511f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x275a7783
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x275ba2ec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x27510cdc
mov eax, dword [0x275bc8c4]
mov edx, dword [eax + 0xc]
mov ecx, 0x275bc8c4
call edx
add eax, 0x10
mov dword [esi + 4], eax
mov eax, dword [0x275bc8c4]
mov edx, dword [eax + 0xc]
xor ebx, ebx
mov ecx, 0x275bc8c4
mov dword [ebp - 4], ebx
call edx
add eax, 0x10
mov dword [esi + 8], eax
mov eax, dword [0x275bc8c4]
mov edx, dword [eax + 0xc]
mov ecx, 0x275bc8c4
mov byte [ebp - 4], 1
call edx
add eax, 0x10
mov dword [esi + 0xc], eax
mov eax, dword [0x275bc8c4]
mov edx, dword [eax + 0xc]
mov ecx, 0x275bc8c4
mov byte [ebp - 4], 2
call edx
add eax, 0x10
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ebx
mov eax, dword [0x275bc8c4]
mov edx, dword [eax + 0xc]
mov ecx, 0x275bc8c4
mov byte [ebp - 4], 3
call edx
add eax, 0x10
mov dword [esi + 0x18], eax
mov byte [esi + 0x1c], bl
mov byte [esi + 0x1d], 1
mov byte [esi + 0x1e], 1
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov byte [esi + 0x40], 1
mov eax, dword [0x275bc8c4]
mov edx, dword [eax + 0xc]
mov ecx, 0x275bc8c4
mov byte [ebp - 4], 5
call edx
add eax, 0x10
mov dword [esi + 0x44], eax
mov eax, dword [0x275bc8c4]
mov edx, dword [eax + 0xc]
mov ecx, 0x275bc8c4
mov byte [ebp - 4], 6
call edx
add eax, 0x10
mov dword [esi + 0x48], eax
mov word [esi + 0x4c], bx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov byte [ebp - 4], 8
lea ecx, [esi + 0x6c]
xor eax, eax
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
call fcn.27546fb0
cmp eax, ebx
jge 0x27551335
push eax
call fcn.27538a70
mov byte [esi + 0x84], bl
mov byte [esi + 0x85], bl
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x27555270
Capabilities:
Acquire credentials from windows credential manager

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x275a7f01
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x275ba2ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push esi
push 0x275148b8
push 0x27514878
lea eax, [ebp - 0x120]
push eax
push 0x27514808
lea ecx, [ebp - 0x11c]
push 2
xor ebx, ebx
push ecx
mov dword [ebp - 0x120], ebx
call fcn.2753a320
add esp, 0x1c
mov edx, dword [0x275bc8c4]
mov eax, dword [edx + 0xc]
mov ecx, 0x275bc8c4
mov dword [ebp - 4], ebx
call eax
add eax, 0x10
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x128], ebx
mov dword [ebp - 0x130], ebx
mov dword [ebp - 0x128], ebx
mov dword [ebp - 0x12c], 0x2750bb88
lea ecx, [ebp - 0x124]
push ecx
push esi
mov byte [ebp - 4], 2
mov dword [ebp - 0x134], ebx
mov dword [edi], ebx
call fcn.275545a0
mov ecx, dword [ebp - 0x124]
lea edx, [ebp - 0x130]
push edx
lea eax, [ebp - 0x134]
push eax
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_CredEnumerateW]
test eax, eax
jne 0x2755539d
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x490
jne 0x2755535c
mov dword [ebp - 0x120], ebx
jmp 0x275553cc
call esi
test eax, eax
jg 0x27555366
call esi
jmp 0x27555372
call esi
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x120], eax
call fcn.27595010
test al, al
je 0x275553cc
mov edx, dword [ebp - 0x120]
push edx
push 0x275147c8
push 0x27514758
push ebx
call fcn.27595fd0
add esp, 0x10
jmp 0x275553cc
mov esi, dword [ebp - 0x130]
cmp esi, ebx
je 0x275553cc
cmp dword [ebp - 0x134], ebx
je 0x275553cc
mov eax, dword [ebp - 0x12c]
mov edx, dword [eax + 4]
lea ecx, [ebp - 0x12c]
call edx
mov dword [ebp - 0x128], esi
mov dword [edi], 1
mov esi, dword [ebp - 0x120]
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 1
call fcn.27548ba0
mov eax, dword [ebp - 0x124]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x27555406
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x11c]
mov dword [ebp - 4], 0xffffffff
call fcn.2753a430
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.2757f388
mov esp, ebp
pop ebp
ret 8
Function at 0x27559ef0
Capabilities:
Get thread local storage value
Set global application hook
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x275ba2ec]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
mov dword [ebp - 0x114], 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0
push 0x27516fa0
lea eax, [ebp - 0x114]
push eax
push 0x27516f38
lea ecx, [ebp - 0x110]
push 2
push ecx
call fcn.2753a320
mov edx, dword [0x275bb94c]
add esp, 0x18
push edx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x27559fa0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x275592c0
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
test eax, eax
jne 0x27559f8f
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x27559f7b
call esi
mov dword [ebp - 0x114], eax
jmp 0x27559fa6
call esi
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x114], eax
jmp 0x27559fa6
push eax
mov eax, dword [0x275bb94c]
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x27559f65
mov eax, dword [ebp - 0x114]
lea ecx, [ebp - 0x110]
mov esi, eax
call fcn.2753a430
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.2757f388
mov esp, ebp
pop ebp
ret

Function at 0x2755acd0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x275ba2ec]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, ecx
xor edi, edi
lea ecx, [esi + 0x18]
mov dword [ebp - 0x214], edi
call fcn.2755e000
cmp edi, dword [esi + 0x60]
jae 0x2755ad28
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x5c]
cmp dword [eax + edi*4], 0
je 0x2755ad1d
cmp edi, dword [esi + 0x60]
jae 0x2755ae0f
mov ecx, eax
mov edx, dword [ecx + edi*4]
push edx
call ebx
add edi, 1
cmp edi, dword [esi + 0x60]
jb 0x2755ad03
xor edi, edi
pop ebx
mov eax, dword [esi + 0x5c]
cmp eax, edi
je 0x2755ad3b
push eax
call fcn.2757eb0d
add esp, 4
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov esi, dword [esi + 0x48]
cmp dword [esi - 0xc], edi
je 0x2755adf9
push 0x20c
lea eax, [ebp - 0x210]
push edi
push eax
call fcn.2757fdd0
mov eax, dword [esi - 0xc]
add eax, eax
add esp, 0xc
cmp eax, 0x104
jb 0x2755ad73
mov eax, 0x104
push eax
lea ecx, [ebp - 0x210]
push esi
push ecx
call fcn.2757fff0
xor eax, eax
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], eax
mov word [ebp - 0x218], ax
add esp, 0xc
lea eax, [ebp - 0x234]
lea edx, [ebp - 0x210]
push eax
mov dword [ebp - 0x230], 3
mov dword [ebp - 0x22c], edx
mov word [ebp - 0x224], 0x14
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
cmp eax, edi
je 0x2755adf9
jle 0x2755adf3
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x214], eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x214]
pop edi
xor ecx, ebp
pop esi
call fcn.2757f388
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.27538a70
int3
Function at 0x2755ae20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x275a889b
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
push ebx
push esi
push edi
mov eax, dword [0x275ba2ec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
mov eax, ecx
cdq
and edx, 0xf
add eax, edx
mov esi, eax
sar esi, 4
mov eax, ecx
add esi, 1
and eax, 0x8000000f
jns 0x2755ae6c
dec eax
or eax, 0xfffffff0
inc eax
xor ebx, ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ebx
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
or eax, ecx
mov dword [ebp - 4], ebx
mov byte [ebp + 0xb], bl
jge 0x2755ae99
push ebx
mov ecx, edi
call fcn.2753a760
mov eax, dword [edi]
cmp dword [eax - 8], ebx
jge 0x2755aeaa
push 0x80070057
call fcn.27538a70
mov dword [eax - 0xc], ebx
mov eax, dword [edi]
mov byte [eax], 0
call fcn.2759c080
mov ecx, dword [ebp + 0xc]
mov edi, dword [eax + 0x38]
push ecx
movzx edx, si
push edx
push 6
push edi
call fcn.27559fd0
cmp eax, ebx
je 0x2755afac
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
je 0x2755afac
xor ecx, ecx
mov esi, eax
mov dword [ebp + 0xc], ecx
movzx eax, word [esi]
add esi, 2
test ax, ax
je 0x2755af9d
cmp ecx, dword [ebp - 0x10]
movzx ebx, ax
jne 0x2755af97
mov eax, dword [0x275bc8c4]
mov edx, dword [eax + 0xc]
mov ecx, 0x275bc8c4
call edx
add eax, 0x10
mov dword [ebp + 8], eax
push ebx
push esi
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.27538e90
mov edi, dword [ebp + 8]
push 0xfde9
lea eax, [ebp - 0x94]
push edi
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x98], eax
call fcn.2753a690
mov ecx, dword [ebp - 0x98]
push ecx
mov ecx, dword [ebp + 0x10]
mov byte [ebp - 4], 2
call fcn.2753f490
mov eax, dword [ebp - 0x98]
lea edx, [ebp - 0x94]
cmp eax, edx
je 0x2755af73
push eax
call fcn.2757eb0d
add esp, 4
lea eax, [edi - 0x10]
mov byte [ebp + 0xb], 1
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x2755af97
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 0xc]
lea esi, [esi + ebx*2]
add ecx, 1
cmp ecx, 0x10
mov dword [ebp + 0xc], ecx
jl 0x2755aee9
mov al, byte [ebp + 0xb]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x2755cee0
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x275a8c00
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x275ba2ec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
lea esi, [edi + 0x48]
push esi
call fcn.2759c080
mov ecx, eax
call fcn.275973a0
mov ebx, eax
test ebx, ebx
jl 0x2755d08b
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x2755cf79
push 0x275176bc
mov ecx, esi
call fcn.2755be10
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov eax, dword [esi]
je 0x2755cf90
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x2755d069
call fcn.27595010
test al, al
je 0x2755cf79
mov ecx, dword [esi]
push ecx
push 0x27517678
push 0x27517610
push 0
call fcn.27595fd0
add esp, 0x10
mov eax, 0x8004825a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
sub eax, 0x10
push eax
call fcn.27539e00
lea edi, [eax + 0x10]
mov dword [ebp - 0x10], edi
push 0x5c
push edi
mov dword [ebp - 4], 0
call fcn.27580355
add esp, 0xc
test eax, eax
je 0x2755cfbb
sub eax, edi
sar eax, 1
jns 0x2755cfdc
lea ecx, [ebp - 0x10]
mov esi, 0x8004825a
call fcn.2753a510
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
lea ecx, [ebp - 0x10]
call fcn.2753d360
mov eax, dword [esi]
mov edx, dword [ebp - 0x10]
push 0
push eax
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryExW]
test eax, eax
jne 0x2755d057
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
test eax, eax
jg 0x2755d00a
call edi
mov edi, eax
jmp 0x2755d01a
call edi
mov edi, eax
and edi, 0xffff
or edi, 0x80070000
call fcn.27595010
test al, al
je 0x2755d03b
mov eax, dword [esi]
push edi
push eax
push 0x275175a8
push 0x27517540
push 0
call fcn.27595fd0
add esp, 0x14
lea ecx, [ebp - 0x10]
call fcn.2753a510
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.2753a510
mov edi, dword [ebp - 0x14]
lea ecx, [ebp - 0x44]
call fcn.2755bec0
push eax
lea ecx, [edi + 0x4c]
mov dword [ebp - 4], 1
call fcn.2755ce50
lea ecx, [ebp - 0x44]
call fcn.275504c0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x2755d7a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x275a8d07
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x275ba2ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
push edi
push 0x27517fe8
lea eax, [ebp - 0x124]
push eax
push 0x27517f80
mov esi, ecx
lea ecx, [ebp - 0x11c]
push 2
push ecx
mov dword [ebp - 0x124], edi
call fcn.2753a320
add esp, 0x18
lea edx, [ebp - 0x138]
push edx
mov dword [ebp - 4], edi
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [0x275bc8c4]
mov edx, dword [eax + 0xc]
mov ecx, 0x275bc8c4
mov byte [ebp - 4], 1
call edx
add eax, 0x10
mov dword [ebp - 0x120], eax
lea eax, [ebp - 0x120]
push eax
lea ecx, [esi + 0x20]
push ecx
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
push eax
mov ecx, 0x275bbaec
call fcn.2755d0a0
cmp eax, edi
mov edi, dword [ebp - 0x120]
mov dword [ebp - 0x124], eax
jl 0x2755d964
cmp dword [edi - 0xc], 0
je 0x2755d95a
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x2755d95a
push 0x27517f64
lea ecx, [ebp - 0x120]
call fcn.27540150
mov edi, dword [ebp - 0x120]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x2755d95a
lea edx, [ebp - 0x120]
push edx
push 0x27517f54
lea eax, [ebp - 0x128]
push eax
call fcn.2755a710
push eax
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 3
call fcn.2753d5b0
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 2
call fcn.2753a510
call fcn.27595010
test al, al
mov edi, dword [ebp - 0x120]
je 0x2755d8f3
push edi
push 0x27517f30
push 0x27517ec8
push 1
call fcn.27595fd0
add esp, 0x10
mov esi, dword [esi + 0x5c]
push edi
lea ecx, [ebp - 0x128]
call fcn.27538d40
mov eax, dword [eax]
mov ecx, dword [esi]
lea edx, [ebp - 0x138]
push edx
push edx
push edx
push edx
push eax
mov eax, dword [ecx + 0x2c]
push esi
mov byte [ebp - 4], 4
call eax
mov ecx, dword [ebp - 0x128]
push ecx
mov dword [ebp - 0x124], eax
mov byte [ebp - 4], 2
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [ebp - 0x124], 0
jge 0x2755d964
call fcn.27595010
test al, al
je 0x2755d964
push 0x27517e80
push 0x27517e18
push 0
call fcn.27595fd0
add esp, 0xc
jmp 0x2755d964
mov dword [ebp - 0x124], 0x8004830a
mov esi, dword [ebp - 0x124]
lea eax, [edi - 0x10]
mov byte [ebp - 4], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x2755d98a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x138]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ebp - 0x11c]
mov dword [ebp - 4], 0xffffffff
call fcn.2753a430
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.2757f388
mov esp, ebp
pop ebp
ret