joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43a593
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov dword [ebp - 0x84], ecx
mov byte [0x784c38], 0
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x783c30], 0
je 0x43a606
mov eax, dword [0x783c30]
push eax
push str.nsocket_di:_d
lea ecx, [ebp - 0x80]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov edx, dword [0x783c30]
cmp dword [edx*4 + 0x782c30], 0xffffffff
je 0x43a5f5
mov eax, dword [0x783c30]
mov ecx, dword [eax*4 + 0x782c30]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov edx, dword [0x783c30]
sub edx, 1
mov dword [0x783c30], edx
jmp 0x43a5b1
cmp dword [0x784c3c], 0
je 0x43a64e
mov eax, dword [0x784c3c]
cmp dword [eax*4 + 0x783c38], 0xffffffff
je 0x43a63f
push 0
mov ecx, dword [0x784c3c]
mov edx, dword [ecx*4 + 0x783c38]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0x783c38
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x784c3c]
sub eax, 1
mov dword [0x784c3c], eax
jmp 0x43a606
mov dword [0x784c3c], 0
mov dword [0x783c30], 0
mov byte [0x784c38], 1
mov esp, ebp
pop ebp
ret

Function at 0x43c410
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x65bb89
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.00621d89
mov eax, dword [0x77bb1c]
xor edi, edi
mov dword [esp + 0x14], edi
mov dword [esi + 0x50], eax
mov ecx, dword [0x77bb1c]
mov dword [esi + 0x54], ecx
lea ecx, [esi + 0x68]
mov byte [esp + 0x14], 2
call fcn.0043cc00
mov ecx, esi
mov byte [esp + 0x14], 3
mov dword [esi], 0x695808
call fcn.0065489f
lea edx, [esi + 0x40]
or eax, 0xffffffff
push edx
mov dword [esi + 0x30], 1
mov dword [esi + 0x2c], 1
mov dword [esi + 0x38], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x28], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x3c], edi
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x60], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x84], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x64], 1
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x444bb0
Capabilities:
Create thread
Resume thread

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x14]
mov dword [esi + 4], 0
push eax
mov dword [esi + 0x10], 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea ecx, [esp + 4]
push ecx
push 4
push esi
push 0x444b30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 0xc], eax
je 0x444bfd
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov edx, dword [esi + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop esi
pop ecx
ret
Function at 0x444c00
Capabilities:
Terminate thread

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0xc], ebx
je 0x444c86
mov eax, dword [esi + 0x14]
push ebp
push edi
push eax
mov dword [esi + 0x10], 1
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, dword [esi + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], ebx
push ecx
push edx
call edi
test eax, eax
je 0x444c73
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [esp + 0x10], 0x103
jne 0x444c73
inc ebx
cmp ebx, 0xa
ja 0x444c67
mov eax, dword [esi + 0xc]
push 0x64
push eax
call ebp
mov edx, dword [esi + 0xc]
lea ecx, [esp + 0x10]
push ecx
push edx
call edi
test eax, eax
jne 0x444c3e
jmp 0x444c73
mov eax, dword [esi + 0xc]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov dword [esi + 0xc], 0
pop ebp
pop esi
pop ebx
pop ecx
ret

Function at 0x4467f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x65c359
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.0061e22d
mov eax, dword [0x77bb1c]
lea edi, [esi + 0x3c]
mov dword [esp + 0x14], 0
mov dword [edi], eax
mov edx, dword [0x77bb1c]
lea ecx, [esi + 0x40]
mov dword [ecx], edx
mov eax, dword [0x77bb1c]
mov dword [esi + 0x44], eax
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push eax
mov byte [esp + 0x18], 3
mov dword [esi], method.CWnd.virtual_0
mov dword [esi + 0x48], edx
call fcn.006226ef
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x4c], edx
mov ecx, edi
mov dword [esi + 0x50], eax
call fcn.006224f1
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov dword [esi + 0x54], ecx
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x60], edx
mov dword [esi + 0x58], 1
mov dword [esi + 0x64], 0
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x1c
Function at 0x447b50
Capabilities:
Log keystrokes

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x70]
cmp dword [eax + 0x5c], 2
je 0x447ca4
mov ecx, dword [esp + 0x14]
cmp ecx, 0x60
jb 0x447b7c
cmp ecx, 0x69
ja 0x447b7c
mov edx, dword [eax + 0x7c]
test edx, edx
je 0x447ca4
push 2
push ecx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
test eax, eax
je 0x447ca4
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x50]
mov ebp, eax
push ebp
call fcn.00445b10
mov esi, eax
mov eax, dword [edi + 0x80]
add esp, 4
neg esi
sbb esi, esi
xor ebx, ebx
and esi, ebp
test eax, eax
jle 0x447bf2
push ebx
mov ecx, edi
call fcn.00448800
mov ebp, eax
mov eax, dword [ebp + 0x88]
test eax, eax
jne 0x447bf0
mov ecx, dword [edi + 0x70]
test byte [ecx + 0x5c], 1
je 0x447be3
test esi, esi
jne 0x447be3
push ebp
call fcn.00445b10
add esp, 4
test eax, eax
je 0x447be3
mov esi, ebp
mov eax, dword [edi + 0x80]
inc ebx
cmp ebx, eax
jl 0x447bb3
jmp 0x447bf2
mov esi, ebp
test esi, esi
je 0x447ca4
push esi
call fcn.00445b10
add esp, 4
test eax, eax
je 0x447ca4
mov ebx, dword [esp + 0x14]
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx + 0x174]
test eax, eax
je 0x447c2a
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4
lea eax, [esp + 0x14]
mov ecx, edi
push eax
push ebx
push esi
call fcn.004478f0
mov ebp, eax
test ebp, ebp
je 0x447ca4
mov esi, dword [ebp + 0xbc]
mov ebx, dword [ebp + 0x3c]
mov eax, dword [esi + 0x88]
test eax, eax
jne 0x447c58
mov ecx, edi
call fcn.00447b20
push 1
mov ecx, edi
call fcn.004476d0
mov dword [edi + 0x40], 1
mov edx, dword [esi]
push 1
push 0
push 1
mov ecx, esi
call dword [edx + 0xbc]
mov eax, dword [esi]
push 1
push ebx
mov ecx, esi
call dword [eax + 0xc4]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x447c98
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0xb0]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 4
Function at 0x447cb0
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
cmp dword [edi + 4], 0x104
jne 0x447d5c
mov eax, dword [edi + 0xc]
shr eax, 0x10
test ah, 0x20
je 0x447d5c
call fcn.004477a0
mov ecx, dword [eax + 4]
test ecx, ecx
jg 0x447d5c
push 0
mov ecx, esi
call fcn.004477a0
mov ecx, eax
call fcn.004c0890
test eax, eax
jne 0x447d5c
mov ecx, esi
call fcn.004477a0
mov eax, dword [esi + 0x9c]
test eax, eax
je 0x447d08
mov eax, dword [eax + 0x1c]
push eax
call fcn.004c0530
add esp, 4
test eax, eax
je 0x447d5c
cmp dword [edi + 8], 0x12
jne 0x447d2b
push 1
mov ecx, esi
call fcn.004476d0
pop edi
xor eax, eax
pop esi
ret 4
mov eax, dword [esi + 0x20]
test eax, eax
je 0x447d3f
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, 0x80
jne 0x447d5c
mov eax, dword [edi + 8]
test eax, eax
je 0x447d5c
push eax
mov ecx, esi
call fcn.00447b50
test eax, eax
je 0x447d5c
pop edi
mov eax, 1
pop esi
ret 4
mov eax, dword [edi + 4]
cmp eax, 0x105
je 0x447d6d
cmp eax, 0x101
jne 0x447d9d
mov eax, dword [esi + 0xc0]
test eax, eax
je 0x447d9d
mov eax, dword [esi + 0xac]
test eax, eax
je 0x447d9d
push 0
mov ecx, esi
call fcn.004477a0
mov ecx, eax
call fcn.004c0890
test eax, eax
jne 0x447d9d
push eax
mov ecx, esi
call fcn.004476d0
mov eax, dword [edi + 4]
cmp eax, 0x7b
je 0x447dac
cmp eax, 0x105
jne 0x447dea
push 0
mov ecx, esi
call fcn.004477a0
mov ecx, eax
call fcn.004c0890
test eax, eax
je 0x447dea
push 0x449f90
mov ecx, 0x78562c
call fcn.0064186d
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 8]
push ecx
push edx
push 0x7b
mov ecx, eax
call fcn.004c0ea0
pop edi
mov eax, 1
pop esi
ret 4
cmp dword [edi + 4], 0x20a
jne 0x447e69
push 0x449f90
mov ecx, 0x78562c
call fcn.0064186d
mov ecx, dword [eax + 0x1c]
test ecx, ecx
jle 0x447e31
push 0x449f90
mov ecx, 0x78562c
call fcn.0064186d
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 8]
push ecx
push edx
push 0x20a
mov ecx, eax
call fcn.004c0ea0
pop edi
pop esi
ret 4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x50]
test eax, eax
je 0x447e69
cmp dword [eax + 0xa0], 3
jne 0x447e69
mov ecx, dword [edi + 8]
xor edx, edx
shr ecx, 0x10
test cx, cx
setle dl
push edx
mov ecx, eax
call fcn.004c88e0
test eax, eax
je 0x447e69
pop edi
mov eax, 1
pop esi
ret 4
mov eax, dword [edi + 4]
cmp eax, 0x100
jb 0x447d24
cmp eax, 0x108
ja 0x447d24
push edi
mov ecx, esi
call fcn.00446060
mov ecx, eax
call fcn.0046d6d0
test eax, eax
je 0x447d24
pop edi
mov eax, 1
pop esi
ret 4
Function at 0x44ba40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x65c858
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
push esi
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
call fcn.004d5fc0
mov ecx, eax
call fcn.004d6530
cmp dword [esi + 0xc], edi
je 0x44bae3
cmp dword [esi + 0x48], edi
je 0x44bab5
lea ecx, [esp + 0xb]
call fcn.0049bdc0
mov ecx, dword [esi + 0xc]
push edi
push edi
push edi
push edi
push ecx
mov ecx, eax
mov dword [esp + 0x28], edi
call fcn.0049bea0
lea ecx, [esp + 0xb]
mov dword [esp + 0x14], 0xffffffff
call fcn.0049bdd0
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0xc]
push edi
push edi
push edx
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esi + 0xc]
push 1
push edi
push ecx
call dword [sym.imp.USER32.dll_SetWindowRgn]
mov edx, dword [esi + 0xc]
push 0x37
push edi
push edi
push edi
push edi
push edi
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, esi
mov dword [esi + 0xc], edi
mov dword [esi + 0x48], edi
call fcn.0044bed0
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x44ed90
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x24
push esi
push edi
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
test esi, esi
je 0x44edcb
mov edi, dword [esp + 0x30]
push edi
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
push edi
push 0x44ece0
push esi
call dword [sym.imp.USER32.dll_EnumChildWindows]
pop edi
mov al, 1
pop esi
add esp, 0x24
ret 4
mov ecx, 9
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
mov dword [esp + 8], 0x24
push eax
push 5
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
test eax, eax
je 0x44ee57
mov eax, dword [esp + 0x14]
cmp eax, 3
ja case.default.0x44edfa
jmp dword [eax*4 + 0x44ee94]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
pop edi
pop esi
lea edx, [ecx - 0x64]
add ecx, 0xfffffff0
mov dword [eax + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [eax + 8], edx
mov al, 1
add esp, 0x24
ret 4
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 0xc], edx
lea edx, [ecx - 0x64]
add ecx, 0xfffffff0
mov dword [eax], edx
mov dword [eax + 8], ecx
pop edi
mov al, 1
pop esi
add esp, 0x24
ret 4
mov esi, dword [esp + 0x30]
push 0
push esi
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
test eax, eax
je 0x44ee89
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
sub eax, 0x96
sub ecx, 0x1e
mov dword [esi], eax
mov dword [esi + 4], ecx
pop edi
mov al, 1
pop esi
add esp, 0x24
ret 4
pop edi
xor al, al
pop esi
add esp, 0x24
ret 4
Function at 0x457fd0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x70]
test eax, eax
je 0x45800a
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [esi + 0x1c]
call fcn.004f5270
mov eax, dword [eax + 0x80]
test eax, eax
je 0x457ff8
mov eax, dword [eax + 0x1c]
push eax
mov eax, dword [esi + 0x70]
push eax
call dword [sym.imp.USER32.dll_SetParent]
mov dword [esi + 0x70], 0
lea ecx, [esi + 0x1c]
call fcn.004f5270
mov ecx, eax
call fcn.00455d90
pop esi
ret

Function at 0x459c10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
call fcn.00458d10
mov ecx, eax
jmp fcn.00459ca0
Function at 0x45d360
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x65d850
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
mov eax, dword [esi + 0x44]
test eax, eax
je 0x45d39d
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x45d39d
call fcn.006219da
test ah, 8
jne 0x45d39d
mov eax, dword [esi + 0x58]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x45d3c0
mov edx, dword [esi]
push 0
push 0
push 0x301
mov ecx, esi
call dword [edx + 0xa0]
pop esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov eax, dword [esi + 0x1c]
push ebx
push ebp
push edi
test eax, eax
je 0x45d47a
lea ebx, [esi + 0x40]
lea ebp, [esi + 0x3c]
push ebx
push ebp
push 0xb0
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea edi, [esi + 0x68]
mov ecx, esi
push edi
call fcn.0061f06b
mov eax, dword [esi + 0x6c]
mov edx, dword [edi]
lea ecx, [esi + 0x6c]
mov eax, dword [eax - 8]
mov edx, dword [edx - 8]
cmp edx, eax
jle 0x45d42a
push eax
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call fcn.0061711d
push eax
mov ecx, edi
mov dword [esp + 0x28], 0
call fcn.0062269f
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp + 0x14]
jmp 0x45d456
jge 0x45d45b
sub eax, edx
push eax
push edx
lea edx, [esp + 0x20]
push edx
call fcn.0061700b
push eax
mov ecx, edi
mov dword [esp + 0x28], 1
call fcn.0062297e
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.00622566
push 1
push ebp
mov ecx, esi
call fcn.0045f460
push 1
push ebx
mov ecx, esi
call fcn.0045f460
mov ebp, dword [ebp]
mov eax, dword [ebx]
cmp eax, ebp
jge 0x45d47a
mov dword [ebx], ebp
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x3c]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
mov ecx, esi
call fcn.0045f250
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x45d4f9
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
inc eax
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x45d4f3
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, dword [esp + 0x10]
mov edx, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
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]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0x10]
call fcn.00622566
mov ecx, dword [esp + 0x1c]
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x46e370
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x65eb67
push eax
mov dword fs:[0], esp
sub esp, 0x120
push ebx
mov ebx, dword [esp + 0x138]
push ebp
push esi
cmp ebx, 0x60
push edi
jb 0x46e3b9
cmp ebx, 0x69
ja 0x46e3b9
movsx eax, byte [esp + 0x140]
add ebx, 0xffffffd0
xor ecx, ecx
cmp eax, ebx
sete cl
mov eax, ecx
jmp 0x46e5a9
push 2
push ebx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
test al, al
je 0x46e580
mov edx, dword [esp + 0x140]
push edx
call fcn.0046e720
mov cl, byte [esp + 0x144]
add esp, 4
cmp cl, bl
mov byte [esp + 0x13], al
je 0x46e5a4
cmp al, bl
je 0x46e5a4
mov ebp, dword [sym.imp.USER32.dll_GetKeyboardLayoutList]
xor esi, esi
push esi
push esi
call ebp
mov edi, eax
cmp edi, 1
jl 0x46e580
xor ebx, ebx
mov dword [esp + 0x18], 0x698e30
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], esi
cmp edi, esi
mov dword [esp + 0x138], esi
jne 0x46e43b
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], esi
jmp 0x46e462
lea eax, [edi*4]
push eax
call fcn.0061d6a5
add esp, 4
mov dword [esp + 0x1c], eax
push edi
push eax
call fcn.004703a0
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edi
push ebx
push edi
call ebp
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
jne 0x46e48d
mov dword [esp + 0x18], method.CCommandLineInfo.virtual_0
mov dword [esp + 0x138], 1
jmp 0x46e573
cmp edi, esi
mov dword [esp + 0x2c], esi
jle 0x46e560
mov ebp, dword [sym.imp.USER32.dll_ToAsciiEx]
mov esi, ebx
mov dword [esp + 0x14], 0
mov edx, dword [esi]
push edx
mov edx, dword [esp + 0x148]
lea eax, [esp + 0x18]
push 0
lea ecx, [esp + 0x38]
push eax
push ecx
push 0
push edx
call ebp
cmp eax, 1
jne 0x46e4f1
mov eax, dword [esp + 0x14]
mov cl, byte [esp + 0x140]
cmp cl, al
je 0x46e584
push eax
call fcn.0046e720
mov cl, byte [esp + 0x17]
add esp, 4
cmp cl, al
je 0x46e584
mov bl, byte [esp + 0x40]
mov byte [esp + 0x40], 0x81
mov eax, dword [esi]
lea ecx, [esp + 0x14]
push eax
mov eax, dword [esp + 0x148]
push 0
lea edx, [esp + 0x38]
push ecx
push edx
push 0
push eax
call ebp
cmp eax, 1
jne 0x46e542
mov eax, dword [esp + 0x14]
mov cl, byte [esp + 0x140]
cmp cl, al
je 0x46e5c2
push eax
call fcn.0046e720
mov cl, byte [esp + 0x17]
add esp, 4
cmp cl, al
je 0x46e5c2
mov eax, dword [esp + 0x2c]
add esi, 4
inc eax
mov byte [esp + 0x40], bl
mov ebx, dword [esp + 0x1c]
cmp eax, edi
mov dword [esp + 0x2c], eax
jl 0x46e4a1
xor esi, esi
mov dword [esp + 0x18], method.CCommandLineInfo.virtual_0
mov dword [esp + 0x138], 4
cmp ebx, esi
je 0x46e580
push ebx
call fcn.0061d6ce
add esp, 4
xor eax, eax
jmp 0x46e5a9
mov dword [esp + 0x18], method.CCommandLineInfo.virtual_0
test ebx, ebx
mov dword [esp + 0x138], 2
je 0x46e5a4
push ebx
call fcn.0061d6ce
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x130]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x12c
ret
mov dword [esp + 0x18], method.CCommandLineInfo.virtual_0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x138], 3
test eax, eax
je 0x46e5a4
push eax
jmp 0x46e59c
Function at 0x4715c0
Capabilities:
Check if file exists
Create directory
Get common file path
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x65ef36
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
push ebx
push esi
mov dword [esp + 0xc], 0
call fcn.00443590
mov ecx, eax
call fcn.00443740
test al, al
jne 0x47160d
mov esi, dword [esp + 0x134]
push 0x784d3c
mov ecx, esi
call fcn.006225d4
jmp 0x4717a7
mov eax, dword [0x77bb1c]
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0
mov dword [esp + 8], eax
lea ecx, [esp + 0x18]
mov ebx, 1
push ecx
mov dword [esp + 0x130], ebx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x47168f
lea edx, [esp + 0x10]
push edx
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x471676
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x471676
lea edx, [esp + 0x20]
lea ecx, [esp + 8]
push edx
call fcn.006226ef
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [esp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov edx, dword [esp + 8]
mov eax, dword [edx - 8]
test eax, eax
jne 0x4716b6
mov esi, dword [esp + 0x134]
push 0x784d3c
mov ecx, esi
call fcn.006225d4
mov dword [esp + 0xc], ebx
jmp 0x471796
call fcn.0063f37c
mov esi, dword [eax + 4]
push 0x763358
lea ecx, [esp + 0x18]
call fcn.006225d4
mov ecx, dword [esi + 0x78]
lea edx, [esp + 0x1c]
push ecx
push eax
push edx
mov byte [esp + 0x138], 2
call fcn.006227fb
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x130], 3
call fcn.0062297e
lea ecx, [esp + 0x1c]
mov byte [esp + 0x12c], 2
call fcn.00622566
lea ecx, [esp + 0x14]
mov byte [esp + 0x12c], bl
call fcn.00622566
mov eax, dword [esp + 8]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x471737
test al, 0x10
jne 0x471750
mov esi, dword [esp + 0x134]
push 0x784d3c
mov ecx, esi
call fcn.006225d4
mov dword [esp + 0xc], ebx
jmp 0x471796
lea edx, [esp + 8]
push 0x763358
lea eax, [esp + 0x18]
push edx
push eax
call fcn.006227fb
mov ecx, dword [esp + 0x138]
mov esi, dword [esp + 0x134]
push ecx
push eax
push esi
mov byte [esp + 0x138], 4
call fcn.00622795
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], ebx
mov byte [esp + 0x12c], bl
call fcn.00622566
lea ecx, [esp + 8]
mov byte [esp + 0x12c], 0
call fcn.00622566
mov ecx, dword [esp + 0x124]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x128
ret 8
Function at 0x471ca0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x65efde
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xbc
mov eax, dword [esp + 0xcc]
push ebx
push esi
xor ebx, ebx
push edi
push ebx
mov esi, ecx
push 0x1000
push 1
push eax
lea ecx, [esp + 0x94]
call fcn.006283c5
lea ecx, [esp + 0x84]
mov dword [esp + 0xd0], ebx
push ecx
lea ecx, [esp + 0x44]
call fcn.004cd280
mov edi, dword [esp + 0xdc]
lea ecx, [esp + 0xc]
mov byte [esp + 0xd0], 1
mov dword [esp + 0x5c], edi
call fcn.00621d89
mov dword [esp + 0x2c], 0x696110
mov dword [esp + 0x30], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0xc], 0x699038
mov dword [esp + 0x28], esi
mov edx, dword [esi]
lea eax, [esp + 0xc]
lea ecx, [esp + 0x40]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0xd8], 2
call dword [edx + 0x88]
test eax, eax
je 0x471d69
mov eax, dword [edi + 8]
mov edx, dword [esi]
lea ecx, [esp + 0xc]
push eax
push ecx
mov ecx, esi
call dword [edx + 0x90]
lea ecx, [esp + 0x84]
call fcn.00628529
lea ecx, [esp + 0xc]
mov byte [esp + 0xd0], 1
call fcn.004ac4f0
lea ecx, [esp + 0x40]
mov byte [esp + 0xd0], bl
call fcn.004cb820
lea ecx, [esp + 0x84]
mov dword [esp + 0xd0], 0xffffffff
call fcn.006284a1
mov ecx, dword [esp + 0xc8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xc8
ret 8