joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49dd30
Capabilities:
Delete file
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5de41b
push eax
mov dword fs:[0], esp
sub esp, 0x268
lea eax, [esp + 0x60]
push esi
push edi
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea edi, [esp + 0x68]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x16c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x6635f4
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0x6c]
push ecx
call esi
lea edx, [esp + 0x16c]
push str.pnxetkey.tmp
push edx
call esi
mov edi, dword [sym.imp.KERNEL32.dll__lopen]
lea eax, [esp + 0x68]
push 0x20
push eax
call edi
lea ecx, [esp + 0x16c]
push 0x21
push ecx
mov esi, eax
call edi
cmp esi, 0xffffffff
mov edi, eax
je 0x49deb3
cmp edi, 0xffffffff
je 0x49deb3
push ebp
lea ecx, [esp + 0x20]
call fcn.004ab2e0
mov ebp, dword [sym.imp.KERNEL32.dll__lread]
lea edx, [esp + 0xc]
push 0x10
push edx
push esi
mov dword [esp + 0x288], 0
call ebp
cmp eax, 0x10
jne 0x49de72
push ebx
mov ebx, dword [esp + 0x288]
push 0x6635d0
lea ecx, [esp + 0x28]
call fcn.004ab310
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.004ab4d0
lea edx, [esp + 0x1c]
lea eax, [esp + 0x18]
push edx
push eax
lea ecx, [esp + 0x2c]
call fcn.004ab4d0
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 0
push ecx
push ebx
call fcn.004a05f0
add esp, 8
test eax, eax
jne 0x49de62
lea edx, [esp + 0x10]
push 0x10
push edx
push edi
call dword [sym.imp.KERNEL32.dll__lwrite]
lea eax, [esp + 0x10]
push 0x10
push eax
push esi
call ebp
cmp eax, 0x10
je 0x49de09
pop ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll__lclose]
call esi
push edi
call esi
lea ecx, [esp + 0x6c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edx, [esp + 0x6c]
lea eax, [esp + 0x170]
push edx
push eax
call fcn.0055c64c
add esp, 8
lea ecx, [esp + 0x20]
mov dword [esp + 0x27c], 0xffffffff
call fcn.004ab300
pop ebp
mov ecx, dword [esp + 0x270]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x274
ret
Function at 0x49ded0
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5de43b
push eax
mov dword fs:[0], esp
sub esp, 0x164
lea eax, [esp + 0x60]
push esi
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 0x64]
push 0x6635f4
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x64]
push 0x11
push edx
call dword [sym.imp.KERNEL32.dll__lopen]
mov esi, eax
cmp esi, 0xffffffff
jne 0x49df38
lea eax, [esp + 0x64]
push 0
push eax
call dword [sym.imp.KERNEL32.dll__lcreat]
mov esi, eax
cmp esi, 0xffffffff
je 0x49dfc7
push 2
push 0
push esi
call dword [sym.imp.KERNEL32.dll__llseek]
mov ecx, dword [esp + 0x178]
lea edx, [esp + 4]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x18]
call fcn.004ab2e0
push 0x6635d0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x174], 0
call fcn.004ab310
lea eax, [esp + 8]
lea ecx, [esp + 4]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.004ab4b0
lea edx, [esp + 0x10]
lea eax, [esp + 0xc]
push edx
push eax
lea ecx, [esp + 0x20]
call fcn.004ab4b0
lea ecx, [esp + 4]
push 0x10
push ecx
push esi
call dword [sym.imp.KERNEL32.dll__lwrite]
push esi
call dword [sym.imp.KERNEL32.dll__lclose]
lea ecx, [esp + 0x18]
mov dword [esp + 0x170], 0xffffffff
call fcn.004ab300
mov ecx, dword [esp + 0x168]
pop esi
mov dword fs:[0], ecx
add esp, 0x170
ret
Function at 0x49dfe0
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5de45b
push eax
mov dword fs:[0], esp
sub esp, 0x164
lea eax, [esp + 0x60]
push ebp
push esi
push edi
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 0x6c]
push 0x6635f4
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x6c]
push 0x20
push edx
call dword [sym.imp.KERNEL32.dll__lopen]
mov esi, eax
cmp esi, 0xffffffff
je 0x49e105
lea ecx, [esp + 0x20]
call fcn.004ab2e0
mov edi, dword [sym.imp.KERNEL32.dll__lread]
lea eax, [esp + 0xc]
push 0x10
push eax
push esi
mov dword [esp + 0x184], 0
call edi
cmp eax, 0x10
jne 0x49e0ea
mov ebp, dword [esp + 0x188]
push 0x6635d0
lea ecx, [esp + 0x24]
call fcn.004ab310
lea ecx, [esp + 0x10]
lea edx, [esp + 0xc]
push ecx
push edx
lea ecx, [esp + 0x28]
call fcn.004ab4d0
lea eax, [esp + 0x18]
lea ecx, [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x28]
call fcn.004ab4d0
test ebp, ebp
mov byte [esp + 0x1c], 0
jne 0x49e0c2
mov eax, dword [esp + 0x180]
lea edx, [esp + 0xc]
push edx
push eax
call fcn.004a05f0
add esp, 8
test eax, eax
jne 0x49e11f
jmp 0x49e0db
mov ecx, dword [esp + 0x18c]
lea edx, [esp + 0xc]
push ecx
push edx
call fcn.0049dcf0
add esp, 8
test eax, eax
jne 0x49e138
lea eax, [esp + 0xc]
push 0x10
push eax
push esi
call edi
cmp eax, 0x10
je 0x49e06a
push esi
call dword [sym.imp.KERNEL32.dll__lclose]
lea ecx, [esp + 0x20]
mov dword [esp + 0x178], 0xffffffff
call fcn.004ab300
xor eax, eax
mov ecx, dword [esp + 0x170]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x170
ret
push esi
call dword [sym.imp.KERNEL32.dll__lclose]
mov eax, dword [esp + 0x184]
test eax, eax
je 0x49e156
lea ecx, [esp + 0xc]
push ecx
jmp 0x49e14f
push esi
call dword [sym.imp.KERNEL32.dll__lclose]
mov eax, dword [esp + 0x184]
test eax, eax
je 0x49e156
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x20]
mov dword [esp + 0x178], 0xffffffff
call fcn.004ab300
mov eax, 1
jmp 0x49e107
Function at 0x49e940
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5de498
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
mov ebx, dword [esp + 0x44]
push esi
mov esi, ecx
push edi
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x2c
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowPlacement]
push 0x663658
lea ecx, [esp + 0x50]
call fcn.0059d86b
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0xc]
push 0
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x50], 0
call fcn.00497930
mov eax, dword [esp + 0xc]
push 0x663650
lea ecx, [esp + 0x50]
mov dword [esp + 0x1c], eax
call fcn.0059d986
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0xc]
push 0
push ecx
push edx
mov ecx, esi
call fcn.00497930
mov eax, dword [esp + 0xc]
push 0x663648
lea ecx, [esp + 0x50]
mov dword [esp + 0x20], eax
call fcn.0059d986
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0xc]
push 0
push ecx
push edx
mov ecx, esi
call fcn.00497930
mov eax, dword [esp + 0xc]
push 0x663640
lea ecx, [esp + 0x50]
mov dword [esp + 0x24], eax
call fcn.0059d986
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0xc]
push 0
push ecx
push edx
mov ecx, esi
call fcn.00497930
mov eax, dword [esp + 0xc]
push 0x663638
lea ecx, [esp + 0x50]
mov dword [esp + 0x28], eax
call fcn.0059d986
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0xc]
push 0
push ecx
push edx
mov ecx, esi
call fcn.00497930
mov eax, dword [esp + 0xc]
push 0x66362c
lea ecx, [esp + 0x50]
mov dword [esp + 0x2c], eax
call fcn.0059d986
push 0
lea ecx, [esp + 0x10]
mov edx, dword [esp + 0x50]
push ecx
push edx
mov ecx, esi
call fcn.00497930
mov eax, dword [esp + 0xc]
push 0x663620
lea ecx, [esp + 0x50]
mov dword [esp + 0x30], eax
call fcn.0059d986
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0xc]
push 0
push ecx
push edx
mov ecx, esi
call fcn.00497930
mov eax, dword [esp + 0xc]
push 0x663614
lea ecx, [esp + 0x50]
mov dword [esp + 0x34], eax
call fcn.0059d986
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0xc]
push 0
push ecx
push edx
mov ecx, esi
call fcn.00497930
mov eax, dword [esp + 0xc]
push 0x663604
lea ecx, [esp + 0x50]
mov dword [esp + 0x38], eax
call fcn.0059d986
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0xc]
push 0
push ecx
push edx
mov ecx, esi
call fcn.00497930
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
cmp ecx, 6
mov dword [esp + 0x38], eax
je 0x49eb09
cmp ecx, 2
jne 0x49eb11
mov dword [esp + 0x18], 9
test eax, eax
je 0x49eb3a
mov eax, dword [esp + 0x34]
test eax, eax
je 0x49eb3a
lea edi, [esi + 0x108]
lea eax, [esp + 0x10]
mov ecx, 0xb
lea esi, [esp + 0x10]
push eax
push ebx
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_SetWindowPlacement]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x44], 0xffffffff
call fcn.0059d7fd
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret 8
Function at 0x49eb70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5de4b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
mov ebx, dword [esp + 0x44]
push esi
mov esi, ecx
push edi
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
mov ecx, ebx
push eax
mov dword [esp + 0x14], 0x2c
call fcn.0059f94c
push 0x663658
lea ecx, [esp + 0x50]
call fcn.0059d86b
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0xc]
push 0
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x50], 0
call fcn.00497930
mov eax, dword [esp + 0xc]
push 0x663650
lea ecx, [esp + 0x50]
mov dword [esp + 0x1c], eax
call fcn.0059d986
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0xc]
push 0
push ecx
push edx
mov ecx, esi
call fcn.00497930
mov eax, dword [esp + 0xc]
push 0x663648
lea ecx, [esp + 0x50]
mov dword [esp + 0x20], eax
call fcn.0059d986
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0xc]
push 0
push ecx
push edx
mov ecx, esi
call fcn.00497930
mov eax, dword [esp + 0xc]
push 0x663640
lea ecx, [esp + 0x50]
mov dword [esp + 0x24], eax
call fcn.0059d986
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0xc]
push 0
push ecx
push edx
mov ecx, esi
call fcn.00497930
mov eax, dword [esp + 0xc]
push 0x663638
lea ecx, [esp + 0x50]
mov dword [esp + 0x28], eax
call fcn.0059d986
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0xc]
push 0
push ecx
push edx
mov ecx, esi
call fcn.00497930
mov eax, dword [esp + 0xc]
push 0x66362c
lea ecx, [esp + 0x50]
mov dword [esp + 0x2c], eax
call fcn.0059d986
push 0
lea ecx, [esp + 0x10]
mov edx, dword [esp + 0x50]
push ecx
push edx
mov ecx, esi
call fcn.00497930
mov eax, dword [esp + 0xc]
push 0x663620
lea ecx, [esp + 0x50]
mov dword [esp + 0x30], eax
call fcn.0059d986
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0xc]
push 0
push ecx
push edx
mov ecx, esi
call fcn.00497930
mov eax, dword [esp + 0xc]
push 0x663614
lea ecx, [esp + 0x50]
mov dword [esp + 0x34], eax
call fcn.0059d986
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0xc]
push 0
push ecx
push edx
mov ecx, esi
call fcn.00497930
mov eax, dword [esp + 0xc]
push 0x663604
lea ecx, [esp + 0x50]
mov dword [esp + 0x38], eax
call fcn.0059d986
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0xc]
push 0
push ecx
push edx
mov ecx, esi
call fcn.00497930
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
cmp ecx, 6
mov dword [esp + 0x38], eax
je 0x49ed39
cmp ecx, 2
jne 0x49ed41
mov dword [esp + 0x18], 9
test eax, eax
je 0x49ed6a
mov eax, dword [esp + 0x34]
test eax, eax
je 0x49ed6a
lea edi, [esi + 0x108]
mov ecx, 0xb
lea esi, [esp + 0x10]
lea eax, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
push eax
mov ecx, ebx
call fcn.0059f963
lea ecx, [esp + 0x4c]
mov dword [esp + 0x44], 0xffffffff
call fcn.0059d7fd
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret 8
Function at 0x49eda0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5de4d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov eax, dword [0x677e28]
push ebx
push esi
push edi
mov ebx, ecx
mov dword [esp + 0xc], eax
mov edx, dword [esp + 0x4c]
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x44], 0
push ecx
push edx
mov dword [esp + 0x18], 0x2c
call dword [sym.imp.USER32.dll_GetWindowPlacement]
cmp dword [esp + 0x18], 3
je 0x49ee0a
lea eax, [esp + 0x2c]
mov ecx, ebx
push eax
call fcn.0049f1c0
test al, al
je 0x49ee5a
mov eax, dword [ebx + 0x124]
test eax, eax
jne 0x49ee32
mov eax, dword [ebx + 0x128]
test eax, eax
jne 0x49ee32
mov eax, dword [ebx + 0x12c]
test eax, eax
jne 0x49ee32
mov eax, dword [ebx + 0x130]
test eax, eax
je 0x49ee5a
mov ecx, dword [ebx + 0x124]
mov edx, dword [ebx + 0x128]
mov eax, dword [ebx + 0x12c]
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebx + 0x130]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
lea edi, [ebx + 0x108]
mov ecx, 0xb
lea esi, [esp + 0x10]
push 0x663658
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x10]
call fcn.0059d986
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
push edx
push eax
mov ecx, ebx
call fcn.00497d90
push 0x663650
lea ecx, [esp + 0x10]
call fcn.0059d986
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0xc]
push ecx
push edx
mov ecx, ebx
call fcn.00497d90
push 0x663648
lea ecx, [esp + 0x10]
call fcn.0059d986
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
push eax
push ecx
mov ecx, ebx
call fcn.00497d90
push 0x663640
lea ecx, [esp + 0x10]
call fcn.0059d986
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0xc]
push edx
push eax
mov ecx, ebx
call fcn.00497d90
push 0x663638
lea ecx, [esp + 0x10]
call fcn.0059d986
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0xc]
push ecx
push edx
mov ecx, ebx
call fcn.00497d90
push 0x66362c
lea ecx, [esp + 0x10]
call fcn.0059d986
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0xc]
push eax
push ecx
mov ecx, ebx
call fcn.00497d90
push 0x663620
lea ecx, [esp + 0x10]
call fcn.0059d986
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0xc]
push edx
push eax
mov ecx, ebx
call fcn.00497d90
push 0x663614
lea ecx, [esp + 0x10]
call fcn.0059d986
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0xc]
push ecx
push edx
mov ecx, ebx
call fcn.00497d90
push 0x663604
lea ecx, [esp + 0x10]
call fcn.0059d986
mov eax, dword [esp + 0x38]
push eax
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, ebx
call fcn.00497d90
lea ecx, [esp + 0xc]
mov dword [esp + 0x44], 0xffffffff
call fcn.0059d7fd
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret 8
Function at 0x49efb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5de4f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov eax, dword [0x677e28]
push ebx
push esi
push edi
mov ebx, ecx
mov dword [esp + 0xc], eax
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x14]
mov dword [esp + 0x44], 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0x2c
push ecx
mov ecx, dword [esp + 0x50]
call fcn.0059f94c
cmp dword [esp + 0x18], 3
je 0x49f018
lea edx, [esp + 0x2c]
mov ecx, ebx
push edx
call fcn.0049f1c0
test al, al
je 0x49f068
mov eax, dword [ebx + 0x124]
test eax, eax
jne 0x49f040
mov eax, dword [ebx + 0x128]
test eax, eax
jne 0x49f040
mov eax, dword [ebx + 0x12c]
test eax, eax
jne 0x49f040
mov eax, dword [ebx + 0x130]
test eax, eax
je 0x49f068
mov eax, dword [ebx + 0x124]
mov ecx, dword [ebx + 0x128]
mov edx, dword [ebx + 0x12c]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x130]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
lea edi, [ebx + 0x108]
mov ecx, 0xb
lea esi, [esp + 0x10]
push 0x663658
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x10]
call fcn.0059d986
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0xc]
push ecx
push edx
mov ecx, ebx
call fcn.00497d90
push 0x663650
lea ecx, [esp + 0x10]
call fcn.0059d986
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc]
push eax
push ecx
mov ecx, ebx
call fcn.00497d90
push 0x663648
lea ecx, [esp + 0x10]
call fcn.0059d986
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0xc]
push edx
push eax
mov ecx, ebx
call fcn.00497d90
push 0x663640
lea ecx, [esp + 0x10]
call fcn.0059d986
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0xc]
push ecx
push edx
mov ecx, ebx
call fcn.00497d90
push 0x663638
lea ecx, [esp + 0x10]
call fcn.0059d986
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0xc]
push eax
push ecx
mov ecx, ebx
call fcn.00497d90
push 0x66362c
lea ecx, [esp + 0x10]
call fcn.0059d986
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0xc]
push edx
push eax
mov ecx, ebx
call fcn.00497d90
push 0x663620
lea ecx, [esp + 0x10]
call fcn.0059d986
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0xc]
push ecx
push edx
mov ecx, ebx
call fcn.00497d90
push 0x663614
lea ecx, [esp + 0x10]
call fcn.0059d986
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0xc]
push eax
push ecx
mov ecx, ebx
call fcn.00497d90
push 0x663604
lea ecx, [esp + 0x10]
call fcn.0059d986
mov edx, dword [esp + 0x38]
push edx
mov eax, dword [esp + 0x10]
mov ecx, ebx
push eax
call fcn.00497d90
lea ecx, [esp + 0xc]
mov dword [esp + 0x44], 0xffffffff
call fcn.0059d7fd
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret 8
Function at 0x4a0a90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5de658
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [ecx + 4]
push ebx
push ebp
push esi
test eax, eax
push edi
mov dword [esp + 0x10], ecx
je 0x4a0b59
mov ebx, dword [ecx + 8]
mov eax, dword [ebx - 8]
test eax, eax
je 0x4a0b59
mov ebp, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0
call ebp
mov edi, eax
dec edi
push edi
push 0
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov esi, eax
test esi, esi
je 0x4a0af9
push edi
push esi
push 0xffffffffffffffff
push ebx
push 0
push 0
call ebp
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x10]
sub esp, 0x10
mov word [esp + 0x28], 8
mov edi, dword [esp + 0x28]
mov eax, dword [eax + 4]
mov edx, esp
push eax
mov dword [esp + 0x44], 0
mov ecx, dword [eax]
mov dword [edx], edi
mov edi, dword [esp + 0x30]
mov dword [edx + 4], edi
mov edi, dword [esp + 0x38]
mov dword [edx + 8], esi
mov dword [edx + 0xc], edi
call dword [ecx + 0x108]
test eax, eax
push esi
setge bl
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov al, bl
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
xor al, al
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret
Function at 0x4a3b50
Capabilities:
Enumerate network shares

Disassembly:
sub esp, 0x14
push esi
mov esi, dword [esp + 0x20]
movsx eax, byte [esi]
push eax
call fcn.0055f10e
add esp, 4
cmp al, 0x41
mov byte [esp + 0x20], al
jl 0x4a3cc4
cmp al, 0x5a
jg 0x4a3cc4
cmp byte [esi + 1], 0x3a
jne 0x4a3cc4
mov al, byte [esi + 2]
add esi, 2
cmp al, 0x5c
mov dword [esp + 0x14], esi
jne 0x4a3cc4
lea ecx, [esp + 0xc]
push ecx
push 0
push 0
push 1
push 1
call sub.MPR.dll_WNetOpenEnumA
test eax, eax
jne 0x4a3cc4
push ebx
push ebp
mov ebx, 0x640
push edi
push ebx
call fcn.0055c94e
add esp, 4
mov ebp, eax
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push ebp
push eax
push ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], 0xffffffff
call sub.MPR.dll_WNetEnumResourceA
cmp eax, 0xea
jne 0x4a3c05
mov eax, dword [esp + 0x14]
push eax
push ebp
mov ebx, eax
call fcn.0055cf0b
add esp, 8
mov ebp, eax
jmp 0x4a3bc9
test eax, eax
jne 0x4a3ca5
mov eax, dword [esp + 0x10]
xor esi, esi
test eax, eax
jle 0x4a3bc9
lea edi, [ebp + 0x10]
mov eax, dword [edi]
test eax, eax
je 0x4a3c35
movsx edx, byte [eax]
push edx
call fcn.0055f10e
movsx ecx, byte [esp + 0x30]
add esp, 4
cmp ecx, eax
je 0x4a3c43
mov eax, dword [esp + 0x10]
inc esi
add edi, 0x20
cmp esi, eax
jl 0x4a3c1a
jmp 0x4a3bc9
shl esi, 5
or ecx, 0xffffffff
xor eax, eax
mov edi, dword [esi + ebp + 0x14]
mov edx, dword [esp + 0x28]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push edx
mov eax, ecx
mov esi, edi
mov edi, edx
mov dword [esp + 0x20], 1
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x24]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0055dd1f
add esp, 4
mov ecx, dword [esp + 0x18]
push ecx
call sub.MPR.dll_WNetCloseEnum
push ebp
call fcn.0055c865
mov eax, dword [esp + 0x20]
add esp, 4
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x14
ret
xor eax, eax
pop esi
add esp, 0x14
ret
Function at 0x4a7960
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5df016
push eax
mov dword fs:[0], esp
sub esp, 0x108
push esi
mov esi, ecx
call fcn.004a7c20
test al, al
je 0x4a79a0
mov al, byte [esi + 0x135]
test al, al
jne 0x4a79a0
mov dword [esi + 0x164], 0
jmp 0x4a7a94
lea eax, [esp + 8]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov eax, dword [esp + 0x11c]
test eax, eax
je 0x4a7a94
mov dword [esi + 0x140], eax
mov ecx, dword [0x677e28]
mov dword [esp + 4], ecx
lea edx, [esp + 8]
lea ecx, [esp + 4]
push edx
mov dword [esp + 0x118], 0
call fcn.0059d986
push 0x652aec
lea ecx, [esp + 8]
mov dword [esp + 0x118], 1
call fcn.0059dbd9
mov eax, dword [esi + 0x140]
lea ecx, [esp + 4]
push eax
call fcn.0059dbd9
mov ecx, dword [esp + 4]
push 0x663efc
push ecx
call fcn.0055bc33
add esp, 8
mov dword [esi + 0x164], eax
test eax, eax
jne 0x4a7a79
mov edx, dword [esp + 4]
push 0x663ef8
push edx
call fcn.0055bc33
add esp, 8
mov dword [esi + 0x164], eax
mov ecx, dword [str.NoIniFile]
mov edx, dword [str.Use_IniFile]
push ecx
push edx
push str.__s__n_s1
push eax
call fcn.0055bbc6
mov eax, dword [esi + 0x164]
push eax
call fcn.0055bb49
add esp, 0x14
mov dword [esi + 0x164], 0
jmp 0x4a7a80
mov byte [esi + 0x134], 1
lea ecx, [esp + 4]
mov dword [esp + 0x114], 0xffffffff
call fcn.0059d7fd
mov ecx, dword [esp + 0x10c]
pop esi
mov dword fs:[0], ecx
add esp, 0x114
ret 4