joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417a40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x7361e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
push edi
xor edi, edi
mov dword [esp + 0xc], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], edi
mov dword [esp + 8], vtable.CTextVarList.0
mov eax, dword [esp + 0x34]
cmp eax, edi
mov dword [esp + 0x24], edi
je 0x417aea
mov edx, dword [eax]
sub esp, 0x14
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x10], eax
lea ecx, [esp + 0x1c]
call fcn.00415050
mov eax, dword [esp + 0x38]
cmp eax, edi
je 0x417aea
lea esi, [esp + 0x38]
mov edx, dword [eax]
sub esp, 0x14
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x10], eax
lea ecx, [esp + 0x1c]
call fcn.00415050
mov eax, dword [esi + 4]
add esi, 4
cmp eax, edi
jne 0x417ab6
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push edi
lea ecx, [esp + 0xc]
push ecx
push 0x415ea0
push edx
push eax
call fcn.00415680
add esp, 0x14
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x24], 0xffffffff
call fcn.004179c0
mov ecx, dword [esp + 0x1c]
pop edi
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x20
ret

Function at 0x417b30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x7361e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
xor esi, esi
mov dword [esp + 8], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], esi
mov dword [esp + 4], vtable.CTextVarList.0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push esi
push esi
push eax
push ecx
push edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], esi
call fcn.00415a70
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push esi
lea eax, [esp + 8]
push eax
push 0x415ea0
push ecx
push edx
call fcn.00415680
add esp, 0x14
lea ecx, [esp + 4]
mov esi, eax
mov dword [esp + 0x20], 0xffffffff
call fcn.004179c0
mov ecx, dword [esp + 0x18]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x417eb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x736230
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov eax, dword [esp + 0x38]
push ebx
push esi
push edi
mov esi, ecx
push eax
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x1c], esi
call fcn.00401cc0
add esp, 8
xor ebx, ebx
mov eax, 1
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x20], vtable.CBArray_class_CBStr_.0
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ebx
lea edx, [esp + 0x20]
push edx
push 0x3b
lea ecx, [esp + 0x20]
mov byte [esp + 0x44], al
call fcn.00413d40
mov eax, dword [esp + 0x20]
push ebx
lea ecx, [esp + 0x24]
call dword [eax + 0x14]
mov ecx, eax
call fcn.00413540
mov edx, dword [esi + 4]
add esi, 4
mov ecx, esi
call dword [edx + 0x2c]
cmp eax, ebx
mov dword [esp + 0xc], eax
je 0x417f72
mov eax, dword [esi]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call dword [eax + 0x34]
mov edx, dword [esp + 0x20]
mov edi, dword [eax]
push ebx
lea ecx, [esp + 0x24]
call dword [edx + 0x14]
mov eax, dword [eax]
mov ecx, dword [edi]
push eax
push ecx
call fcn.0071f59b
add esp, 8
test eax, eax
je 0x417fcb
cmp dword [esp + 0xc], ebx
jne 0x417f40
push 0x18
call fcn.0040fa60
add esp, 4
cmp eax, ebx
je 0x417f97
mov dword [eax + 8], ebx
mov dword [eax + 4], vtable.CBSList_class_CTextTranslator__.0
mov dword [eax + 0x10], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x14], ebx
mov edi, eax
jmp 0x417f99
xor edi, edi
mov eax, dword [esp + 0x20]
push ebx
lea ecx, [esp + 0x24]
call dword [eax + 0x14]
mov eax, dword [eax]
push eax
call fcn.0040fbd0
add esp, 4
mov dword [edi], eax
mov edx, dword [esi]
push edi
mov ecx, esi
call dword [edx + 8]
mov ecx, dword [esp + 0x14]
mov edx, dword [edi]
mov eax, dword [ecx + 0x18]
add ecx, 0x18
push edi
push edx
call dword [eax + 0xc]
mov eax, dword [edi + 4]
lea esi, [edi + 4]
mov ecx, esi
call dword [eax + 0x2c]
cmp eax, ebx
mov dword [esp + 0x10], eax
je 0x418009
mov edi, edi
mov edx, dword [esi]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call dword [edx + 0x34]
mov eax, dword [eax]
mov ecx, dword [esp + 0x18]
mov eax, dword [eax + 4]
push ecx
push eax
call fcn.00734cec
add esp, 8
test eax, eax
je 0x418078
cmp dword [esp + 0x10], ebx
jne 0x417fe0
mov eax, dword [esp + 0x44]
push eax
call fcn.004165b0
add esp, 4
cmp eax, ebx
je 0x418022
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 8]
mov eax, dword [esp + 0x24]
cmp eax, ebx
mov byte [esp + 0x3c], bl
mov dword [esp + 0x20], vtable.CBArray_class_CBStr_.0
je 0x418053
mov ecx, dword [eax - 4]
lea esi, [eax - 4]
push fcn.00412de0
push ecx
push 8
push eax
call fcn.0071f0d2
push esi
call fcn.0040fa80
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x3c], 0xffffffff
call fcn.00412de0
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret 4
push ebx
push ebx
push ebx
push 0x781dec
call fcn.00410cc0
mov eax, dword [esp + 0x34]
add esp, 0x10
cmp eax, ebx
mov byte [esp + 0x3c], bl
mov dword [esp + 0x20], vtable.CBArray_class_CBStr_.0
je 0x418053
mov edx, dword [eax - 4]
lea esi, [eax - 4]
push fcn.00412de0
push edx
jmp 0x418042
Function at 0x419400
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x73635c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
xor edi, edi
cmp dword [esp + 0x34], edi
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esp + 8], edi
je 0x419446
mov dword [esi + 4], 0x7e6b9c
mov dword [esi + 0x2c], vtable.CBRTTIObject.0
mov dword [esp + 0x18], edi
mov dword [esp + 8], 1
push edi
mov ecx, esi
call fcn.00412520
mov dword [esi + 8], vtable.CBDbgObj.0
mov eax, dword [esi + 4]
mov dword [esi], vtable.CBThread.2.0
mov dword [esi + 8], vtable.CBThread.1.0
mov ecx, dword [eax + 4]
mov dword [ecx + esi + 4], vtable.CBThread.0
mov edx, dword [esi + 4]
mov eax, dword [edx + 4]
mov edx, dword [esp + 0x20]
lea ecx, [eax - 0x28]
mov dword [eax + esi], ecx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x24], edx
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x14], ecx
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x10], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x20], eax
mov dword [esi + 0x1c], edx
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 0x18

Function at 0x41b800
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x7364a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [esp + 0x40]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x40]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0xc], esi
call fcn.0040dc40
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], eax
mov dword [esi], vtable.CBWinConsole.0
mov edx, dword [0x894310]
lea eax, [esp + 8]
push eax
mov dword [esp + 0xc], 8
mov dword [esp + 0x30], str.BSSWindowsWindowClass
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], 0x41b7a0
call fcn.0041c330
mov ecx, dword [esp + 0x34]
add esp, 4
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x41b8d0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x7364c8
push eax
mov dword fs:[0], esp
sub esp, 8
cmp dword [0x8941e0], 0
je 0x41b929
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x28]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
mov ecx, dword [esp + 0x18]
push esi
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0xc]
call fcn.00413870
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x30]
push edx
push ecx
mov ecx, eax
mov dword [esp + 0x2c], 0
call fcn.004136b0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
lea ecx, [esp + 4]
mov esi, eax
mov dword [esp + 0x14], 0xffffffff
call fcn.00412de0
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x41b9a0
Capabilities:
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x7364c8
push eax
mov dword fs:[0], esp
sub esp, 8
cmp dword [0x8941e0], 0
je 0x41b9db
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
mov ecx, dword [esp + 0x18]
push esi
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0xc]
call fcn.00413870
mov ecx, eax
mov dword [esp + 0x14], 0
call fcn.004136b0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 4]
mov esi, eax
mov dword [esp + 0x14], 0xffffffff
call fcn.00412de0
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x41bd90
Capabilities:
Set current directory

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x7364c8
push eax
mov dword fs:[0], esp
sub esp, 8
cmp dword [0x8941e0], 0
je 0x41bdcb
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
mov ecx, dword [esp + 0x18]
push esi
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0xc]
call fcn.00413870
mov ecx, eax
mov dword [esp + 0x14], 0
call fcn.004136b0
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea ecx, [esp + 4]
mov esi, eax
mov dword [esp + 0x14], 0xffffffff
call fcn.00412de0
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x41be20
Capabilities:
Print debug messages

Disassembly:
cmp dword [0x8941e0], 0
je 0x41be35
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
ret
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
push ebx
call fcn.0071e696
add eax, 1
movzx esi, ax
push esi
call fcn.0071ed42
push esi
push esi
mov edi, eax
push ebx
push edi
call fcn.0040fad0
add esp, 0x18
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push edi
call fcn.0071ec2a
add esp, 4
pop edi
pop esi
pop ebx
ret

Function at 0x41bf20
Capabilities:
Move file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x736510
push eax
mov dword fs:[0], esp
sub esp, 0x10
cmp dword [0x8941e0], 0
je 0x41bf60
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
mov edx, dword [esp + 0x20]
push esi
push 0xffffffffffffffff
push edx
lea ecx, [esp + 0x14]
call fcn.00413870
mov eax, dword [esp + 0x28]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0
call fcn.00413870
lea ecx, [esp + 4]
mov byte [esp + 0x1c], 1
call fcn.004136b0
push eax
lea ecx, [esp + 0x10]
call fcn.004136b0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
lea ecx, [esp + 4]
mov esi, eax
mov byte [esp + 0x1c], 0
call fcn.00412de0
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00412de0
mov ecx, dword [esp + 0x14]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret

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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x736530
push eax
mov dword fs:[0], esp
sub esp, 0x38
cmp dword [0x8941e0], 0
je 0x41c36b
mov eax, dword [esp + 0x48]
push eax
call dword [sym.imp.USER32.dll_RegisterClassW]
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
add esp, 0x44
ret
push esi
mov esi, dword [esp + 0x4c]
mov ecx, dword [esi]
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 4]
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x18], edx
mov edx, dword [esi + 0x18]
mov dword [esp + 0x28], ecx
mov ecx, dword [esi + 8]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x20]
mov dword [esp + 0x2c], edx
mov edx, dword [esi + 0xc]
push 0xffffffffffffffff
mov dword [esp + 0x20], ecx
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], edx
call fcn.00413870
mov ecx, dword [esi + 0x24]
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x4c], 0
call fcn.00413870
lea ecx, [esp + 4]
mov byte [esp + 0x44], 1
call fcn.004136b0
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], eax
call fcn.004136b0
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x38], eax
call dword [sym.imp.USER32.dll_RegisterClassA]
lea ecx, [esp + 4]
mov byte [esp + 0x44], 0
mov esi, eax
call fcn.00412de0
lea ecx, [esp + 0xc]
mov dword [esp + 0x44], 0xffffffff
call fcn.00412de0
mov ecx, dword [esp + 0x3c]
mov ax, si
pop esi
mov dword fs:[0], ecx
add esp, 0x44
ret
Function at 0x41c4b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x736550
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
push edi
mov edi, dword [esp + 0x28]
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x10]
call fcn.00413870
mov ecx, eax
mov dword [esp + 0x20], 0
call fcn.004136b0
mov esi, dword [esp + 0x2c]
mov edx, esi
nop
mov cl, byte [eax]
mov byte [edx], cl
add eax, 1
add edx, 1
test cl, cl
jne 0x41c4f0
lea ecx, [esp + 8]
mov dword [esp + 0x20], 0xffffffff
call fcn.00412de0
movzx eax, word [edi + 0x40]
mov word [esi + 0x20], ax
movzx ecx, word [edi + 0x42]
mov word [esi + 0x22], cx
mov word [esi + 0x24], 0x9c
movzx edx, word [edi + 0x46]
mov word [esi + 0x26], dx
mov eax, dword [edi + 0x48]
mov dword [esi + 0x28], eax
mov ecx, dword [edi + 0x4c]
mov dword [esi + 0x2c], ecx
mov edx, dword [edi + 0x50]
mov dword [esi + 0x30], edx
movzx eax, word [edi + 0x54]
mov word [esi + 0x34], ax
movzx ecx, word [edi + 0x56]
mov word [esi + 0x36], cx
movzx edx, word [edi + 0x58]
mov word [esi + 0x38], dx
movzx eax, word [edi + 0x5a]
mov word [esi + 0x3a], ax
movzx ecx, word [edi + 0x5c]
mov word [esi + 0x3c], cx
movzx edx, word [edi + 0x5e]
mov word [esi + 0x3e], dx
movzx eax, word [edi + 0x60]
mov word [esi + 0x40], ax
movzx ecx, word [edi + 0x62]
mov word [esi + 0x42], cx
movzx edx, word [edi + 0x64]
push 0xffffffffffffffff
lea eax, [edi + 0x66]
push eax
lea ecx, [esp + 0x18]
mov word [esi + 0x44], dx
call fcn.00413870
mov ecx, eax
mov dword [esp + 0x20], 1
call fcn.004136b0
lea edx, [esi + 0x46]
mov cl, byte [eax]
mov byte [edx], cl
add eax, 1
add edx, 1
test cl, cl
jne 0x41c5a8
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.00412de0
mov cx, word [edi + 0xa6]
mov word [esi + 0x66], cx
mov edx, dword [edi + 0xa8]
mov dword [esi + 0x68], edx
mov eax, dword [edi + 0xac]
mov dword [esi + 0x6c], eax
mov ecx, dword [edi + 0xb0]
mov dword [esi + 0x70], ecx
mov edx, dword [edi + 0xb4]
mov dword [esi + 0x74], edx
mov eax, dword [edi + 0xb8]
mov dword [esi + 0x78], eax
mov ecx, dword [edi + 0xbc]
mov dword [esi + 0x7c], ecx
mov edx, dword [edi + 0xc0]
mov dword [esi + 0x80], edx
mov eax, dword [edi + 0xc4]
mov dword [esi + 0x84], eax
mov ecx, dword [edi + 0xc8]
mov dword [esi + 0x88], ecx
mov edx, dword [edi + 0xcc]
mov dword [esi + 0x8c], edx
mov eax, dword [edi + 0xd0]
mov dword [esi + 0x90], eax
mov ecx, dword [edi + 0xd4]
mov dword [esi + 0x94], ecx
mov edx, dword [edi + 0xd8]
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x98], edx
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x41d330
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
cmp dword [0x8941e0], 0
je 0x41d36c
mov eax, dword [esp + 0x114]
mov ecx, dword [esp + 0x110]
mov edx, dword [esp + 0x10c]
push eax
mov eax, dword [esp + 0x10c]
push ecx
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
add esp, 0x104
ret
mov ecx, dword [esp + 0x114]
mov edx, dword [esp + 0x110]
push ecx
mov ecx, dword [esp + 0x10c]
push edx
lea eax, [esp + 8]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x41d39a
add esp, 0x104
ret
lea eax, [esp]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x41d3a0
sub eax, edx
mov edx, eax
lea eax, [esp]
push esi
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x41d3b4
mov ecx, dword [esp + 0x110]
sub eax, esi
lea edx, [edx + edx + 2]
push edx
add eax, 1
push eax
lea eax, [esp + 0xc]
push eax
push ecx
call fcn.0040fb00
add esp, 0x10
mov eax, 1
pop esi
add esp, 0x104
ret

Function at 0x41d600
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x7365c6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x124
cmp dword [0x8941e0], 0
push esi
push edi
je 0x41d656
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov ecx, dword [esp + 0x12c]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov byte [esp + 0x20], 0
xor eax, eax
mov ecx, 0x40
lea edi, [esp + 0x21]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 0xc]
stosw word es:[edi], ax
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x10]
stosb byte es:[edi], al
call fcn.00413870
mov esi, eax
mov edx, dword [ebp + 8]
push 0xffffffffffffffff
push edx
lea ecx, [esp + 0x20]
mov dword [esp + 0x13c], 0
call fcn.00413870
mov edi, eax
mov ecx, dword [ebp + 0x10]
lea eax, [esp + 0x20]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x13c], 1
call fcn.004136b0
push eax
mov ecx, edi
call fcn.004136b0
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea ecx, [esp + 0x18]
mov esi, eax
mov byte [esp + 0x134], 0
call fcn.00412de0
lea ecx, [esp + 8]
mov dword [esp + 0x134], 0xffffffff
call fcn.00412de0
push 0xffffffffffffffff
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x18]
call fcn.004138e0
mov eax, dword [eax]
mov ecx, dword [ebp + 0x14]
push eax
push ecx
call fcn.0071e658
add esp, 8
lea ecx, [esp + 0x10]
call fcn.00412de0
mov ecx, dword [esp + 0x12c]
pop edi
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41dae0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push esi
push edi
mov edi, dword [esp + 0x14]
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x10]
call fcn.004138e0
mov eax, dword [eax]
mov esi, dword [esp + 0x18]
push eax
push esi
call fcn.0071e658
add esp, 8
lea ecx, [esp + 8]
call fcn.00412de0
movzx ecx, word [edi + 0x20]
mov word [esi + 0x40], cx
movzx edx, word [edi + 0x22]
mov word [esi + 0x42], dx
mov word [esi + 0x44], 0xdc
movzx eax, word [edi + 0x26]
mov word [esi + 0x46], ax
mov ecx, dword [edi + 0x28]
mov dword [esi + 0x48], ecx
mov edx, dword [edi + 0x2c]
mov dword [esi + 0x4c], edx
mov eax, dword [edi + 0x30]
mov dword [esi + 0x50], eax
movzx ecx, word [edi + 0x34]
mov word [esi + 0x54], cx
movzx edx, word [edi + 0x36]
mov word [esi + 0x56], dx
movzx eax, word [edi + 0x38]
mov word [esi + 0x58], ax
movzx ecx, word [edi + 0x3a]
mov word [esi + 0x5a], cx
movzx edx, word [edi + 0x3c]
mov word [esi + 0x5c], dx
movzx eax, word [edi + 0x3e]
mov word [esi + 0x5e], ax
movzx ecx, word [edi + 0x40]
mov word [esi + 0x60], cx
movzx edx, word [edi + 0x42]
mov word [esi + 0x62], dx
movzx eax, word [edi + 0x44]
push 0xffffffffffffffff
lea ecx, [edi + 0x46]
push ecx
lea ecx, [esp + 0x10]
mov word [esi + 0x64], ax
call fcn.004138e0
mov edx, dword [eax]
push edx
lea eax, [esi + 0x66]
push eax
call fcn.0071e658
add esp, 8
lea ecx, [esp + 8]
call fcn.00412de0
movzx ecx, word [edi + 0x66]
mov word [esi + 0xa6], cx
mov edx, dword [edi + 0x68]
mov dword [esi + 0xa8], edx
mov eax, dword [edi + 0x6c]
mov dword [esi + 0xac], eax
mov ecx, dword [edi + 0x70]
mov dword [esi + 0xb0], ecx
mov edx, dword [edi + 0x74]
mov dword [esi + 0xb4], edx
mov eax, dword [edi + 0x78]
mov dword [esi + 0xb8], eax
mov ecx, dword [edi + 0x7c]
mov dword [esi + 0xbc], ecx
mov edx, dword [edi + 0x80]
mov dword [esi + 0xc0], edx
mov eax, dword [edi + 0x84]
mov dword [esi + 0xc4], eax
mov ecx, dword [edi + 0x88]
mov dword [esi + 0xc8], ecx
mov edx, dword [edi + 0x8c]
mov dword [esi + 0xcc], edx
mov eax, dword [edi + 0x90]
mov dword [esi + 0xd0], eax
mov ecx, dword [edi + 0x94]
mov dword [esi + 0xd4], ecx
mov edx, dword [edi + 0x98]
pop edi
mov dword [esi + 0xd8], edx
pop esi
add esp, 8
ret
Function at 0x421ba7
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x736738
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x28]
xor ebx, ebx
mov dword [esi], vtable.CBButtonState.0
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x24]
cmp eax, ebx
mov dword [esp + 0x18], ebx
mov dword [esi + 0x30], ebx
je 0x421bea
push eax
call fcn.0040fbd0
add esp, 4
jmp 0x421bec
xor eax, eax
movzx edi, word [esp + 0x20]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [esi + 4], eax
lea eax, [edi + 0x20000]
mov dword [esi + 0x24], ecx
push eax
lea ecx, [esp + 0x24]
push ecx
mov dword [esi + 0x28], edx
call fcn.0042eb30
mov edx, dword [eax]
lea eax, [edi + 0x20004]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov dword [esi + 8], edx
call fcn.0042eb30
mov edx, dword [eax]
add edi, 0x20008
lea eax, [esp + 0x30]
push edi
push eax
mov dword [esi + 0xc], edx
call fcn.0042eb30
mov ecx, dword [eax]
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x28]
mov byte [esi + 0x16], bl
mov byte [esi + 0x15], bl
mov byte [esi + 0x14], bl
mov byte [esi + 0x17], 0xff
mov eax, 2
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
add esp, 0x18
or eax, 0xffffffff
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x3c], ebx
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x14