joyce8/EMBER2024-capa huggingface dataset:
Function at 0xc5c7e0
Capabilities:
Create directory
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0xd7b08b
mov eax, dword fs:[0]
push eax
sub esp, 0x440
mov eax, dword [0xde16ec]
xor eax, esp
mov dword [esp + 0x43c], eax
push ebx
push ebp
push esi
mov eax, dword [0xde16ec]
xor eax, esp
push eax
lea eax, [esp + 0x450]
mov dword fs:[0], eax
xor esi, esi
cmp edi, esi
je 0xc5c9b4
cmp byte [edi], 0
je 0xc5c9b4
xor eax, eax
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], ax
mov eax, edi
mov dword [esp + 0x458], esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0xc5c850
lea ecx, [esp + 0x20]
push ecx
sub eax, edx
mov ecx, edi
call fcn.00c347c0
mov eax, dword [esp + 0x24]
mov ebx, 8
add esp, 4
cmp dword [esp + 0x34], ebx
jae 0xc5c87b
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
cmp eax, 0x10
jne 0xc5c8ac
mov dword [esp + 0x458], 0xffffffff
cmp dword [esp + 0x34], ebx
jb 0xc5c8a5
mov edx, dword [esp + 0x20]
push edx
call fcn.00d08a36
add esp, 4
mov al, 1
jmp 0xc5c9df
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x34], ebx
jae 0xc5c8ba
lea eax, [esp + 0x20]
mov ebp, dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push esi
push eax
push esi
call ebp
mov esi, eax
cmp esi, 0xa1
jne 0xc5c957
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x24e]
push ecx
mov word [esp + 0x250], ax
call fcn.00d0e420
add esp, 0xc
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x46]
push eax
mov word [esp + 0x48], dx
call fcn.00d0e420
add esp, 0xc
lea ecx, [esp + 0x3c]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0xc5c95b
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x34], ebx
jae 0xc5c92f
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x24c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
je 0xc5c95b
push 0
lea ecx, [esp + 0x248]
push ecx
push 0
call ebp
mov esi, eax
test esi, esi
je 0xc5c99c
push esi
push edi
push str.Can_not_create_directory:__s_return_code:__d
lea esi, [esp + 0x20]
mov dword [esp + 0x20], 2
mov dword [esp + 0x24], str.p:p_agentshpam2.eem_recipes201152726_base_branchesinputtools_win_release_branchgoogleclientimegoopy_third_partygoogle_gadgets_for_linuxggadget_system_utils.cc
mov dword [esp + 0x28], 0xe4
call fcn.00c51eb0
add esp, 0xc
lea ecx, [esp + 0x20]
mov dword [esp + 0x458], 0xffffffff
call fcn.00bc4e90
jmp 0xc5c9dd
lea ecx, [esp + 0x20]
mov dword [esp + 0x458], 0xffffffff
call fcn.00bc4e90
mov al, 1
jmp 0xc5c9df
push str.Cant_create_empty_path.
lea esi, [esp + 0x18]
mov dword [esp + 0x18], 2
mov dword [esp + 0x1c], str.p:p_agentshpam2.eem_recipes201152726_base_branchesinputtools_win_release_branchgoogleclientimegoopy_third_partygoogle_gadgets_for_linuxggadget_system_utils.cc
mov dword [esp + 0x20], 0xcf
call fcn.00c51eb0
add esp, 4
xor al, al
mov ecx, dword [esp + 0x450]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x43c]
xor ecx, esp
call fcn.00d08a41
add esp, 0x44c
ret
Function at 0xc5cc60
Capabilities:
Delete file
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0xd7b018
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0xde16ec]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0xde16ec]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x54]
mov esi, ecx
xor edi, edi
cmp esi, edi
je 0xc5cd22
cmp byte [esi], 0
je 0xc5cd22
xor eax, eax
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], edi
mov word [esp + 0x24], ax
mov eax, esi
mov dword [esp + 0x4c], edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0xc5ccc3
lea ecx, [esp + 0x24]
push ecx
sub eax, edx
mov ecx, esi
call fcn.00c347c0
mov eax, dword [esp + 0x28]
mov ebx, 8
add esp, 4
cmp dword [esp + 0x38], ebx
jae 0xc5ccee
lea eax, [esp + 0x24]
push edi
push 0x80
push 2
push edi
push edi
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0xc5cd43
mov dword [esp + 0x4c], eax
cmp dword [esp + 0x38], ebx
jb 0xc5cd22
mov edx, dword [esp + 0x24]
push edx
call fcn.00d08a36
add esp, 4
xor al, al
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.00d08a41
add esp, 0x3c
ret
cmp dword [ebp + 0x14], 0x10
mov ecx, dword [ebp + 0x10]
mov bl, 1
mov dword [esp + 0x14], 0
jb 0xc5cd5b
mov eax, dword [ebp]
jmp 0xc5cd5d
mov eax, ebp
push 0
lea edx, [esp + 0x18]
push edx
push ecx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0xc5cd7a
mov ebp, dword [ebp + 0x10]
cmp dword [esp + 0x14], ebp
je 0xc5cdad
xor bl, bl
mov dword [esp + 0x18], 2
mov dword [esp + 0x1c], str.p:p_agentshpam2.eem_recipes201152726_base_branchesinputtools_win_release_branchgoogleclientimegoopy_third_partygoogle_gadgets_for_linuxggadget_system_utils.cc
mov dword [esp + 0x20], 0x16d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.Error_when_writing_to_file__s:__d
lea esi, [esp + 0x24]
call fcn.00c51eb0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
jne 0xc5cdce
cmp dword [esp + 0x38], 8
mov eax, dword [esp + 0x24]
jae 0xc5cdc7
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [esp + 0x4c], 0xffffffff
cmp dword [esp + 0x38], 8
jb 0xc5cdea
mov eax, dword [esp + 0x24]
push eax
call fcn.00d08a36
add esp, 4
mov al, bl
jmp 0xc5cd24
Function at 0xc5d0b0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0xd6e4d2
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0xde16ec]
xor eax, esp
mov dword [esp + 0x210], eax
push edi
mov eax, dword [0xde16ec]
xor eax, esp
push eax
lea eax, [esp + 0x21c]
mov dword fs:[0], eax
xor eax, eax
mov edi, ecx
push 0x206
push eax
lea ecx, [esp + 0x1a]
mov dword [esp + 0x10], 0
push ecx
mov dword [esp + 0x18], edi
mov word [esp + 0x1c], ax
call fcn.00d0e420
add esp, 0xc
lea edx, [esp + 0x10]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
mov dword [esp + 0x224], 0
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 1
call fcn.00c348c0
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x21c]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.00d08a41
add esp, 0x220
ret
Function at 0xc5d240
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0xd70416
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0xde16ec]
xor eax, esp
mov dword [esp + 0x250], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0xde16ec]
xor eax, esp
push eax
lea eax, [esp + 0x268]
mov dword fs:[0], eax
mov eax, dword [esp + 0x278]
xor ebx, ebx
push 0x206
mov esi, ecx
lea edx, [esp + 0x62]
xor ecx, ecx
push ebx
push edx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], eax
mov byte [esp + 0x23], bl
mov word [esp + 0x68], cx
call fcn.00d0e420
add esp, 0xc
lea eax, [esp + 0x5c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0xc5d2c7
xor al, al
jmp 0xc5d43b
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
lea eax, [esp + 0x5c]
mov dword [esp + 0x270], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0xc5d2e5
sub eax, edx
sar eax, 1
push eax
lea edi, [esp + 0x44]
lea ecx, [esp + 0x60]
call fcn.00c348c0
add esp, 4
cmp dword [esp + 0x54], 0x10
jb 0xc5d316
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x18], ecx
jmp 0xc5d31e
lea edx, [esp + 0x40]
mov dword [esp + 0x18], edx
cmp esi, ebx
je 0xc5d332
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0xc5d327
sub eax, edx
jmp 0xc5d334
xor eax, eax
mov ecx, dword [esp + 0x50]
lea ebp, [ecx + eax + 0x14]
push ebp
call fcn.00d07a7c
add esp, 4
mov esi, eax
mov edi, dword [esp + 0x20]
cmp edi, ebx
jne 0xc5d354
mov edi, 0xd98b48
call fcn.00d0bb18
mov edx, dword [esp + 0x18]
and eax, 0xffffff
push eax
push edi
push edx
push str._s_s__06X
push ebp
push esi
call fcn.00d0adee
push ebx
mov ecx, esi
call fcn.00c69a30
add esp, 0x1c
test eax, eax
je 0xc5d347
call fcn.00d0aedc
cmp dword [eax], 2
jne 0xc5d40f
mov ecx, esi
call fcn.00c69c20
test eax, eax
sete al
mov byte [esp + 0x17], al
cmp al, bl
je 0xc5d40f
mov edi, dword [esp + 0x1c]
cmp edi, ebx
je 0xc5d40f
mov ebp, 0xf
mov eax, esi
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0xc5d3c0
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x2c]
call fcn.00bc8800
lea eax, [esp + 0x24]
push eax
mov ecx, edi
mov byte [esp + 0x274], 1
call fcn.00bc7740
mov byte [esp + 0x270], bl
cmp dword [esp + 0x38], 0x10
jb 0xc5d403
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00d08a36
add esp, 4
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
push esi
call fcn.00d09081
add esp, 4
mov dword [esp + 0x270], 0xffffffff
cmp dword [esp + 0x54], 0x10
jb 0xc5d437
mov edx, dword [esp + 0x40]
push edx
call fcn.00d08a36
add esp, 4
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x268]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.00d08a41
add esp, 0x260
ret
Function at 0xc5d470
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x66c
mov eax, dword [0xde16ec]
xor eax, esp
mov dword [esp + 0x668], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0xc5d5d1
cmp word [esi], 0
je 0xc5d5d1
push 0x24c
lea eax, [esp + 0x18]
push 0
push eax
mov dword [esp + 0x1c], 0
call fcn.00d0e420
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
add esp, 0xc
push 0xd98ec4
push esi
lea ecx, [esp + 0x470]
push ecx
call edi
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x46c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0xc5d5b3
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x26a]
push edx
mov word [esp + 0x26c], cx
call fcn.00d0e420
add esp, 0xc
lea eax, [esp + 0x3c]
push eax
push esi
lea ecx, [esp + 0x268]
push ecx
call edi
mov eax, dword [esp + 0x10]
test al, 0x10
je 0xc5d54a
cmp word [esp + 0x3c], 0x2e
je 0xc5d57c
mov edx, dword [ebp + 0xc]
push edx
lea eax, [esp + 0x264]
push eax
call fcn.00c5d470
add esp, 8
test al, al
jmp 0xc5d57a
test al, 1
je 0xc5d56a
cmp byte [ebp + 0xc], 0
je 0xc5d5ca
and eax, 0xfffffffe
push eax
lea ecx, [esp + 0x264]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0xc5d5ca
lea edx, [esp + 0x260]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0xc5d5ca
lea eax, [esp + 0x10]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0xc5d4f2
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push esi
call edi
test eax, eax
jne 0xc5d5b3
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call edi
test eax, eax
je 0xc5d5d1
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x668]
xor ecx, esp
call fcn.00d08a41
mov esp, ebp
pop ebp
ret
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x674]
pop edi
pop esi
pop ebx
xor ecx, esp
xor al, al
call fcn.00d08a41
mov esp, ebp
pop ebp
ret
Function at 0xc5d710
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0xd703d0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0xde16ec]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
mov eax, dword [0xde16ec]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
cmp esi, ebx
je 0xc5d876
cmp edi, ebx
je 0xc5d876
mov edx, edi
mov eax, esi
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0xc5d778
test cl, cl
je 0xc5d774
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0xc5d778
add eax, 2
add edx, 2
test cl, cl
jne 0xc5d758
xor eax, eax
jmp 0xc5d77d
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0xc5d788
mov al, 1
jmp 0xc5d878
xor eax, eax
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], ax
mov dword [esp + 0x50], ebx
xor ecx, ecx
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], ebx
mov word [esp + 0xc], cx
mov eax, esi
mov byte [esp + 0x50], 1
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0xc5d7c0
sub eax, edx
lea edx, [esp + 0x28]
push edx
mov ecx, esi
call fcn.00c347c0
mov eax, edi
add esp, 4
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0xc5d7e0
lea ecx, [esp + 0xc]
push ecx
sub eax, edx
mov ecx, edi
call fcn.00c347c0
mov ecx, dword [esp + 0x10]
mov esi, 8
add esp, 4
cmp dword [esp + 0x20], esi
jae 0xc5d80b
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x3c], esi
jae 0xc5d819
lea eax, [esp + 0x28]
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp eax, 1
sete bl
mov byte [esp + 0x50], 0
cmp dword [esp + 0x20], esi
jb 0xc5d840
mov edx, dword [esp + 0xc]
push edx
call fcn.00d08a36
add esp, 4
xor eax, eax
mov dword [esp + 0x50], 0xffffffff
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
cmp dword [esp + 0x3c], esi
jb 0xc5d872
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00d08a36
add esp, 4
mov al, bl
jmp 0xc5d878
xor al, al
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.00d08a41
add esp, 0x48
ret
Function at 0xc5e590
Capabilities:
Get thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0xd7074b
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0xde16ec]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov eax, dword [0xdec198]
xor esi, esi
cmp eax, 0xffffffff
je 0xc5e5d1
mov ecx, dword [0xdec198]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, esi
jne 0xc5e5fb
push 4
call fcn.00d08a50
add esp, 4
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], esi
cmp eax, esi
je 0xc5e5f0
mov esi, eax
call fcn.00c5e4e0
mov esi, eax
push esi
call fcn.00c5e9e0
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret

Function at 0xc61d50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0xd7d61a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0xde16ec]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0xde16ec]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, ecx
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
mov dword [esp + 0xc], 0
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
add ecx, edx
mov dword [esp + 0x10], esi
call eax
fstp qword [esp + 0x14]
mov dword [esp + 0x1c], 3
mov dword [esp + 0x30], 1
xor eax, eax
mov dword [esi + 8], 0
mov dword [esi], eax
mov dword [esi + 4], eax
lea eax, [esp + 0x14]
mov ecx, esi
call fcn.00c447a0
mov byte [esp + 0x30], 2
cmp dword [esi + 8], 7
jne 0xc61dee
push esi
lea ecx, [esp + 0xf]
call fcn.00c45ae0
test eax, eax
je 0xc61dee
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 1
mov byte [esp + 0x30], 0
call fcn.00c446c0
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00d08a41
add esp, 0x2c
ret 0x10

Function at 0xc64c60
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0xd7d61a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0xde16ec]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0xde16ec]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, ecx
mov esi, dword [esp + 0x38]
mov dword [esp + 0xc], 0
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
push ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x14], esi
call edx
cdq
mov dword [esp + 0x1c], 2
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x30], 1
xor eax, eax
mov dword [esi + 8], 0
mov dword [esi], eax
mov dword [esi + 4], eax
lea eax, [esp + 0x14]
mov ecx, esi
call fcn.00c447a0
mov byte [esp + 0x30], 2
cmp dword [esi + 8], 7
jne 0xc64d01
push esi
lea ecx, [esp + 0xf]
call fcn.00c45ae0
test eax, eax
je 0xc64d01
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 1
mov byte [esp + 0x30], 0
call fcn.00c446c0
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00d08a41
add esp, 0x2c
ret 0x10
Function at 0xc64e20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0xd7d61a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0xde16ec]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0xde16ec]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, ecx
mov esi, dword [esp + 0x38]
mov dword [esp + 0xc], 0
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
push ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x14], esi
call edx
mov dword [esp + 0x1c], 1
mov byte [esp + 0x14], al
mov dword [esp + 0x30], 1
xor eax, eax
mov dword [esi + 8], 0
mov dword [esi], eax
mov dword [esi + 4], eax
lea eax, [esp + 0x14]
mov ecx, esi
call fcn.00c447a0
mov byte [esp + 0x30], 2
cmp dword [esi + 8], 7
jne 0xc64ebc
push esi
lea ecx, [esp + 0xf]
call fcn.00c45ae0
test eax, eax
je 0xc64ebc
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 1
mov byte [esp + 0x30], 0
call fcn.00c446c0
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00d08a41
add esp, 0x2c
ret 0x10

Function at 0xc64f00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0xd7c0fa
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0xde16ec]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
mov eax, dword [0xde16ec]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, ecx
mov ecx, dword [esp + 0x4c]
mov esi, dword [esp + 0x40]
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov cl, byte [ecx]
mov edx, dword [eax + 0xc]
mov byte [esp + 0x14], cl
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [eax + 8]
push ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x20], esi
call edx
xor eax, eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x38], 1
mov dword [esi + 8], ebx
mov dword [esi], eax
mov dword [esi + 4], eax
lea eax, [esp + 0x1c]
mov ecx, esi
call fcn.00c447a0
mov byte [esp + 0x38], 2
cmp dword [esi + 8], 7
jne 0xc64fa6
push esi
lea ecx, [esp + 0x13]
call fcn.00c45ae0
cmp eax, ebx
je 0xc64fa6
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x10], 1
mov byte [esp + 0x38], bl
call fcn.00c446c0
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00d08a41
add esp, 0x30
ret 0x10
Function at 0xc65620
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0xd75303
mov eax, dword fs:[0]
push eax
push ebx
push edi
mov eax, dword [0xde16ec]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x14], 1
call fcn.00c656c0
xor ebx, ebx
mov byte [esp + 0x14], bl
cmp dword [edi + 0x30], 0x10
jb 0xc6566b
mov eax, dword [edi + 0x1c]
push eax
call fcn.00d08a36
add esp, 4
mov dword [edi + 0x30], 0xf
mov dword [edi + 0x2c], ebx
mov byte [edi + 0x1c], bl
mov dword [esp + 0x14], 0xffffffff
cmp dword [edi + 0x14], 0x10
jb 0xc65691
mov eax, dword [edi]
push eax
call fcn.00d08a36
add esp, 4
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], ebx
mov byte [edi], bl
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0xc
ret 4
Function at 0xc67cc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0xd7d61a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0xde16ec]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0xde16ec]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x38]
mov dword [esp + 0xc], 0
cmp dword [eax + 8], 4
mov edx, ecx
mov dword [esp + 0x10], esi
jne 0xc67d1e
mov eax, dword [eax]
test eax, eax
je 0xc67d1e
add eax, 4
cmp dword [eax + 0x14], 0x10
jb 0xc67d20
mov eax, dword [eax]
jmp 0xc67d20
xor eax, eax
mov ecx, dword [edx + 4]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x1c], 1
mov byte [esp + 0x14], al
mov dword [esp + 0x30], 1
xor eax, eax
mov dword [esi + 8], 0
mov dword [esi], eax
mov dword [esi + 4], eax
lea eax, [esp + 0x14]
mov ecx, esi
call fcn.00c447a0
mov byte [esp + 0x30], 2
cmp dword [esi + 8], 7
jne 0xc67d78
push esi
lea ecx, [esp + 0xf]
call fcn.00c45ae0
test eax, eax
je 0xc67d78
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 1
mov byte [esp + 0x30], 0
call fcn.00c446c0
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00d08a41
add esp, 0x2c
ret 0x10
Function at 0xc6d950
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0xd6b7e1
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0xde16ec]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x14], 2
mov eax, dword [esi + 0x30]
xor ebx, ebx
mov dword [esi + 4], ebx
cmp eax, ebx
je 0xc6d991
push eax
call dword [sym.imp.USER32.dll_DestroyMenu]
mov eax, dword [esi + 8]
mov dword [esi + 0x30], ebx
cmp eax, ebx
je 0xc6d9ac
mov ecx, eax
cmp ecx, ebx
je 0xc6d9ac
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi + 8], ebx
lea ecx, [esi + 0x50]
mov byte [esp + 0x14], 1
call fcn.00c4a7f0
mov byte [esp + 0x14], bl
mov ecx, dword [esi + 0x28]
cmp ecx, ebx
je 0xc6d9cc
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esp + 0x14], 0xffffffff
mov ecx, dword [esi + 8]
cmp ecx, ebx
je 0xc6d9e3
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 4