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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
lea esi, [eax + 4]
mov eax, dword [esi]
test eax, eax
je 0x418511
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
jmp 0x418450
push 0x4ff
push 0xffffffffffffffff
push 0
push esi
push 1
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
sub eax, 0
je 0x418500
dec eax
jne 0x4184aa
push 1
push eax
push eax
push eax
lea ecx, [ebp - 0x1c]
push ecx
call edi
test eax, eax
je 0x418450
lea ecx, [ecx]
cmp dword [ebp - 0x18], 0x12
je 0x4184d1
lea edx, [ebp - 0x1c]
push edx
call ebx
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 1
push 0
push 0
push 0
lea ecx, [ebp - 0x1c]
push ecx
call edi
test eax, eax
jne 0x418480
jmp 0x418450
mov edx, dword [esi]
test edx, edx
je 0x41850f
mov eax, dword [esi]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
mov dword [esi], 0
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [esi]
test edx, edx
je 0x4184f1
mov eax, dword [esi]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [esi]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4189a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x4588fc
push eax
lea ecx, [ebp - 4]
push ecx
mov dword [ebp - 4], 0
call fcn.0043bb41
mov ecx, dword [ebp - 4]
add esp, 0xc
test ecx, ecx
je 0x4189f2
cmp dword [esi + 0x14], 0x10
mov edx, dword [esi + 0x10]
jb 0x4189d1
mov eax, dword [esi]
jmp 0x4189d3
mov eax, esi
push ecx
push edx
push 1
push eax
call fcn.0043bcdf
mov edx, dword [ebp - 4]
push edx
call fcn.0043bdc6
add esp, 0x14
mov eax, 1
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x418a00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x4588fc
push eax
lea ecx, [ebp - 4]
push ecx
mov dword [ebp - 4], 0
call fcn.0043bb41
mov edx, dword [ebp - 4]
add esp, 0xc
test edx, edx
je 0x418a5c
mov eax, dword [esi + 0x10]
sub eax, ebx
cmp eax, edi
jle 0x418a2f
mov eax, edi
cmp dword [esi + 0x14], 0x10
jb 0x418a39
mov ecx, dword [esi]
jmp 0x418a3b
mov ecx, esi
push edx
push eax
add ecx, ebx
push 1
push ecx
call fcn.0043bcdf
mov edx, dword [ebp - 4]
push edx
call fcn.0043bdc6
add esp, 0x14
mov eax, 1
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x418c20
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xa00c
call fcn.00447550
mov eax, dword [0x464140]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x418c48
mov eax, dword [esi]
jmp 0x418c4a
mov eax, esi
push ebx
push 0
push 0x80
push 3
push 0
push 1
push connect
push ecx
mov byte [eax], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x418c7f
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00438e18
mov esp, ebp
pop ebp
ret
push edi
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
mov eax, esi
call fcn.00419cf0
mov dword [ebp - 0xa00c], 1
lea esp, [esp]
push 0
lea eax, [ebp - 0xa008]
push eax
push 0xa000
lea ecx, [ebp - 0xa004]
push ecx
push ebx
mov dword [ebp - 0xa008], 0xa000
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x418ced
mov edi, dword [ebp - 0xa008]
test edi, edi
je 0x418cf7
lea edx, [ebp - 0xa004]
push edx
mov eax, esi
call fcn.00408367
cmp dword [ebp - 0xa008], 0
ja 0x418ca0
jmp 0x418cf7
mov dword [ebp - 0xa00c], 0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xa00c]
pop edi
xor ecx, ebp
pop ebx
call fcn.00438e18
mov esp, ebp
pop ebp
ret

Function at 0x418d20
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push connect
push eax
xor esi, esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x418d67
lea ecx, [ebp - 4]
push ecx
push ebx
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, dword [ebp - 4]
xor edx, edx
push ebx
or esi, eax
or edi, edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, edi
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x419070
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45089b
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x464140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push 0x40e
lea ecx, [ebp - 0x41e]
xor eax, eax
push ebx
push ecx
mov dword [ebp - 0x428], esi
mov dword [ebp - 0x424], ebx
mov word [ebp - 0x420], ax
call fcn.00438e30
add esp, 0xc
lea edx, [ebp - 0x420]
push edx
push 0x208
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x420]
mov dword [ebp - 4], ebx
test eax, 0xffff0000
jne 0x41911b
mov ecx, eax
movzx edi, cx
push edi
call fcn.00406064
add esp, 4
cmp eax, ebx
je 0x41913a
push edi
push eax
push esi
call fcn.00406159
jmp 0x41913a
lea edx, [ebp - 0x420]
push edx
call fcn.004398c1
add esp, 4
lea ecx, [ebp - 0x420]
mov ebx, eax
push ecx
mov eax, esi
call fcn.00402b12
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00438e18
mov esp, ebp
pop ebp
ret
Function at 0x419160
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450866
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x464140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push 0x40e
lea ecx, [ebp - 0x41e]
xor eax, eax
push ebx
push ecx
mov dword [ebp - 0x428], esi
mov dword [ebp - 0x424], ebx
mov word [ebp - 0x420], ax
call fcn.00438e30
add esp, 0xc
push ebx
push 0x1a
lea edx, [ebp - 0x420]
push edx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov ecx, section..data
test eax, eax
je 0x419226
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
call edx
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x420]
mov dword [ebp - 4], ebx
test eax, 0xffff0000
jne 0x41920e
mov ecx, eax
movzx edi, cx
push edi
call fcn.00406064
add esp, 4
cmp eax, ebx
je 0x419281
push edi
push eax
push esi
call fcn.00406159
jmp 0x419281
lea edx, [ebp - 0x420]
push edx
call fcn.004398c1
add esp, 4
lea ecx, [ebp - 0x420]
push ecx
jmp 0x419278
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov ecx, 0x45833c
mov dword [ebp - 4], 1
test ecx, 0xffff0000
jne 0x419266
mov edx, ecx
movzx edi, dx
push edi
call fcn.00406064
add esp, 4
cmp eax, ebx
je 0x419281
push edi
push eax
push esi
call fcn.00406159
jmp 0x419281
push 0x45833c
call fcn.004398c1
add esp, 4
push 0x45833c
mov ebx, eax
mov eax, esi
call fcn.00402b12
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00438e18
mov esp, ebp
pop ebp
ret
Function at 0x4193e0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44f9c0
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x464140]
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 eax, dword [ebp + 8]
mov esi, ecx
xor ecx, ecx
mov word [ebp - 0x48], cx
xor edi, edi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], edi
call fcn.004140ec
mov dword [ebp - 4], edi
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x48]
mov eax, edx
cmp ecx, 8
jae 0x41943d
lea eax, [ebp - 0x48]
mov ebx, dword [ebp - 0x38]
cmp ecx, 8
lea eax, [eax + ebx*2]
mov ecx, edx
jae 0x41944d
lea ecx, [ebp - 0x48]
cmp eax, edi
jne 0x419455
xor eax, eax
jmp 0x419459
sub eax, ecx
sar eax, 1
mov ebx, eax
lea edi, [ebp - 0x48]
call fcn.00419da0
xor edx, edx
mov eax, esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], dx
call fcn.004140ec
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
mov esi, 8
mov eax, edx
cmp ecx, esi
jae 0x419499
lea eax, [ebp - 0x2c]
mov edi, dword [ebp - 0x1c]
cmp ecx, esi
lea eax, [eax + edi*2]
mov ecx, edx
jae 0x4194a8
lea ecx, [ebp - 0x2c]
test eax, eax
je 0x4194b0
sub eax, ecx
sar eax, 1
mov ebx, eax
lea edi, [ebp - 0x2c]
call fcn.00419da0
xor eax, eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov word [ebp - 0x4c], ax
xor edi, edi
mov eax, 0x414
mov word [ebp - 0x58], ax
cmp dword [ebp - 0x34], esi
jb 0x4194ed
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x60], ecx
jmp 0x4194f3
lea edx, [ebp - 0x48]
mov dword [ebp - 0x60], edx
cmp dword [ebp - 0x18], esi
jb 0x419500
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x5c], eax
jmp 0x419506
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x5c], ecx
lea edx, [ebp - 0x68]
push edx
mov dword [ebp - 0x64], 2
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je 0x419551
cmp dword [ebp - 0x18], esi
jb 0x41952c
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00438e0d
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0x34], esi
jb 0x41954d
mov edx, dword [ebp - 0x48]
push edx
call fcn.00438e0d
add esp, 4
xor eax, eax
jmp 0x419588
cmp dword [ebp - 0x18], esi
jb 0x419562
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00438e0d
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0x34], esi
jb 0x419583
mov edx, dword [ebp - 0x48]
push edx
call fcn.00438e0d
add esp, 4
mov eax, 1
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.00438e18
mov esp, ebp
pop ebp
ret
Function at 0x4195b0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44f9c0
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x464140]
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 eax, dword [ebp + 8]
mov esi, ecx
xor ecx, ecx
mov word [ebp - 0x48], cx
xor edi, edi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], edi
call fcn.004140ec
mov dword [ebp - 4], edi
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x48]
mov eax, edx
cmp ecx, 8
jae 0x41960d
lea eax, [ebp - 0x48]
mov ebx, dword [ebp - 0x38]
cmp ecx, 8
lea eax, [eax + ebx*2]
mov ecx, edx
jae 0x41961d
lea ecx, [ebp - 0x48]
cmp eax, edi
jne 0x419625
xor eax, eax
jmp 0x419629
sub eax, ecx
sar eax, 1
mov ebx, eax
lea edi, [ebp - 0x48]
call fcn.00419da0
xor edx, edx
mov eax, esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], dx
call fcn.004140ec
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
mov esi, 8
mov eax, edx
cmp ecx, esi
jae 0x419669
lea eax, [ebp - 0x2c]
mov edi, dword [ebp - 0x1c]
cmp ecx, esi
lea eax, [eax + edi*2]
mov ecx, edx
jae 0x419678
lea ecx, [ebp - 0x2c]
test eax, eax
je 0x419680
sub eax, ecx
sar eax, 1
mov ebx, eax
lea edi, [ebp - 0x2c]
call fcn.00419da0
xor eax, eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov word [ebp - 0x4c], ax
xor edi, edi
mov eax, 0x414
mov word [ebp - 0x58], ax
cmp dword [ebp - 0x34], esi
jb 0x4196bd
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x60], ecx
jmp 0x4196c3
lea edx, [ebp - 0x48]
mov dword [ebp - 0x60], edx
cmp dword [ebp - 0x18], esi
jb 0x4196d0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x5c], eax
jmp 0x4196d6
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x5c], ecx
lea edx, [ebp - 0x68]
push edx
mov dword [ebp - 0x64], 1
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je 0x419721
cmp dword [ebp - 0x18], esi
jb 0x4196fc
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00438e0d
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0x34], esi
jb 0x41971d
mov edx, dword [ebp - 0x48]
push edx
call fcn.00438e0d
add esp, 4
xor eax, eax
jmp 0x419758
cmp dword [ebp - 0x18], esi
jb 0x419732
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00438e0d
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0x34], esi
jb 0x419753
mov edx, dword [ebp - 0x48]
push edx
call fcn.00438e0d
add esp, 4
mov eax, 1
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.00438e18
mov esp, ebp
pop ebp
ret
Function at 0x419780
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44f988
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x464140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x419876
xor eax, eax
mov word [ebp - 0x2c], ax
mov eax, edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
call fcn.004140ec
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
mov eax, edx
cmp ecx, 8
jae 0x4197f0
lea eax, [ebp - 0x2c]
mov edi, dword [ebp - 0x1c]
cmp ecx, 8
lea eax, [eax + edi*2]
mov ecx, edx
jae 0x419800
lea ecx, [ebp - 0x2c]
test eax, eax
je 0x419808
sub eax, ecx
sar eax, 1
mov ebx, eax
lea edi, [ebp - 0x2c]
call fcn.00419da0
xor eax, eax
cmp dword [ebp - 0x18], 8
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov word [ebp - 0x30], ax
mov dword [ebp - 0x48], 3
jb 0x419842
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x44], ecx
jmp 0x419848
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x44], edx
lea ecx, [ebp - 0x4c]
mov eax, 0x414
push ecx
mov word [ebp - 0x3c], ax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov edi, eax
neg edi
sbb edi, edi
cmp dword [ebp - 0x18], 8
jb 0x419873
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00438e0d
add esp, 4
lea eax, [edi + 1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00438e18
mov esp, ebp
pop ebp
ret
Function at 0x4198a0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450866
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x464140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push 0x40e
lea ecx, [ebp - 0x41e]
xor eax, eax
push ebx
push ecx
mov dword [ebp - 0x428], esi
mov dword [ebp - 0x424], ebx
mov word [ebp - 0x420], ax
call fcn.00438e30
add esp, 0xc
push ebx
push 0x26
lea edx, [ebp - 0x420]
push edx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov ecx, section..data
test eax, eax
je 0x419966
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
call edx
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x420]
mov dword [ebp - 4], ebx
test eax, 0xffff0000
jne 0x41994e
mov ecx, eax
movzx edi, cx
push edi
call fcn.00406064
add esp, 4
cmp eax, ebx
je 0x4199c1
push edi
push eax
push esi
call fcn.00406159
jmp 0x4199c1
lea edx, [ebp - 0x420]
push edx
call fcn.004398c1
add esp, 4
lea ecx, [ebp - 0x420]
push ecx
jmp 0x4199b8
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov ecx, 0x45833c
mov dword [ebp - 4], 1
test ecx, 0xffff0000
jne 0x4199a6
mov edx, ecx
movzx edi, dx
push edi
call fcn.00406064
add esp, 4
cmp eax, ebx
je 0x4199c1
push edi
push eax
push esi
call fcn.00406159
jmp 0x4199c1
push 0x45833c
call fcn.004398c1
add esp, 4
push 0x45833c
mov ebx, eax
mov eax, esi
call fcn.00402b12
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00438e18
mov esp, ebp
pop ebp
ret
Function at 0x4199e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450866
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x464140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
push 0x40e
lea ecx, [ebp - 0x41e]
xor eax, eax
push ebx
push ecx
mov dword [ebp - 0x428], edi
mov dword [ebp - 0x424], ebx
mov word [ebp - 0x420], ax
call fcn.00438e30
add esp, 0xc
neg esi
sbb esi, esi
push ebx
and esi, 9
add esi, 0x10
push esi
lea edx, [ebp - 0x420]
push edx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov ecx, section..data
test eax, eax
je 0x419ab1
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
call edx
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x420]
mov dword [ebp - 4], ebx
test eax, 0xffff0000
jne 0x419a99
mov ecx, eax
movzx esi, cx
push esi
call fcn.00406064
add esp, 4
cmp eax, ebx
je 0x419b0c
push esi
push eax
push edi
call fcn.00406159
jmp 0x419b0c
lea edx, [ebp - 0x420]
push edx
call fcn.004398c1
add esp, 4
lea ecx, [ebp - 0x420]
push ecx
jmp 0x419b03
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
mov ecx, 0x45833c
mov dword [ebp - 4], 1
test ecx, 0xffff0000
jne 0x419af1
mov edx, ecx
movzx esi, dx
push esi
call fcn.00406064
add esp, 4
cmp eax, ebx
je 0x419b0c
push esi
push eax
push edi
call fcn.00406159
jmp 0x419b0c
push 0x45833c
call fcn.004398c1
add esp, 4
push 0x45833c
mov ebx, eax
mov eax, edi
call fcn.00402b12
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00438e18
mov esp, ebp
pop ebp
ret
Function at 0x419bb0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450866
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x464140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push 0x40e
lea ecx, [ebp - 0x41e]
xor eax, eax
push ebx
push ecx
mov dword [ebp - 0x428], esi
mov dword [ebp - 0x424], ebx
mov word [ebp - 0x420], ax
call fcn.00438e30
add esp, 0xc
push ebx
push 0x17
lea edx, [ebp - 0x420]
push edx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov ecx, section..data
test eax, eax
je 0x419c76
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
call edx
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x420]
mov dword [ebp - 4], ebx
test eax, 0xffff0000
jne 0x419c5e
mov ecx, eax
movzx edi, cx
push edi
call fcn.00406064
add esp, 4
cmp eax, ebx
je 0x419cd1
push edi
push eax
push esi
call fcn.00406159
jmp 0x419cd1
lea edx, [ebp - 0x420]
push edx
call fcn.004398c1
add esp, 4
lea ecx, [ebp - 0x420]
push ecx
jmp 0x419cc8
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov ecx, 0x45833c
mov dword [ebp - 4], 1
test ecx, 0xffff0000
jne 0x419cb6
mov edx, ecx
movzx edi, dx
push edi
call fcn.00406064
add esp, 4
cmp eax, ebx
je 0x419cd1
push edi
push eax
push esi
call fcn.00406159
jmp 0x419cd1
push 0x45833c
call fcn.004398c1
add esp, 4
push 0x45833c
mov ebx, eax
mov eax, esi
call fcn.00402b12
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00438e18
mov esp, ebp
pop ebp
ret
Function at 0x421010
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4507db
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x464140]
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 eax, dword [ebp + 8]
mov ebx, ecx
lea ecx, [ebp - 0x220]
push ecx
push ebx
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x220], 0
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test esi, esi
je 0x42108b
push esi
call fcn.00438db9
add esp, 4
mov edi, eax
push edi
push esi
xor esi, esi
push esi
push ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x421092
push edi
call fcn.00439841
add esp, 4
xor eax, eax
jmp 0x421245
mov ebx, dword [sym.imp.VERSION.dll_VerQueryValueW]
lea edx, [ebp - 0x214]
push edx
lea eax, [ebp - 0x218]
push eax
push 0x458884
push edi
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x218], esi
call ebx
test eax, eax
je 0x421082
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x218]
push edx
push str.VarFileInfoTranslation
push edi
call ebx
test eax, eax
je 0x421082
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x224]
push ecx
push str.VarFileInfoTranslation
push edi
call ebx
test eax, eax
je 0x421082
mov eax, dword [ebp - 0x214]
shr eax, 2
cmp eax, 1
jb 0x421082
mov dword [ebp - 0x258], str.Comments
mov dword [ebp - 0x254], str.CompanyName
mov dword [ebp - 0x250], str.FileDescription
mov dword [ebp - 0x24c], str.FileVersion
mov dword [ebp - 0x248], str.InternalName
mov dword [ebp - 0x244], str.LegalCopyright
mov dword [ebp - 0x240], str.LegalTrademarks
mov dword [ebp - 0x23c], str.OriginalFilename
mov dword [ebp - 0x238], str.ProductName
mov dword [ebp - 0x234], str.ProductVersion
mov dword [ebp - 0x230], str.PrivateBuild
mov dword [ebp - 0x22c], str.SpecialBuild
xor ebx, ebx
lea ebx, [ebx]
mov eax, dword [ebp - 0x224]
movzx edx, word [eax + 2]
mov esi, dword [ebp + ebx*4 - 0x258]
movzx eax, word [eax]
push esi
push edx
push eax
push str.StringFileInfo_04x_04x_s
lea ecx, [ebp - 0x210]
push 0x100
push ecx
call fcn.0043ce70
add esp, 0x18
lea edx, [ebp - 0x214]
push edx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x210]
push ecx
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x42122d
lea edx, [ebp - 0x21c]
push edx
mov ecx, esi
call fcn.004061b9
mov ecx, dword [ebp - 0x228]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x218]
push eax
push ecx
lea ecx, [ebp - 0x21c]
call fcn.00405127
push eax
call fcn.00402b88
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42122d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc ebx
cmp ebx, 0xc
jb 0x421180
push edi
call fcn.00439841
add esp, 4
mov eax, 1
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.00438e18
mov esp, ebp
pop ebp
ret