joyce8/EMBER2024-capa huggingface dataset:
Function at 0x458764
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45877b
add esp, 0xfffffff0
call fcn.004038d4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00425158
mov eax, dword [0x51beec]
cmp word [eax + 2], 0
jne 0x4587a3
mov eax, dword [0x51beec]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045a234
mov eax, dword [0x51c020]
cmp word [eax + 2], 0
jne 0x4587bd
mov eax, dword [0x51c020]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045a440
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41ba1c]
call fcn.00403578
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41ba1c]
call fcn.00403578
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x41ba1c]
call fcn.00403578
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x427b50]
call fcn.0042d86c
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x45896c
mov eax, dword [0x51bd20]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042dc40
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45ab5c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x51bd20]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040e008
test eax, eax
je 0x4588c4
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409c58
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040e03c
test eax, eax
je 0x4588d8
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404684
push ebx
push 0x459d94
call fcn.004262d4
mov dword [ebx + 0xc8], eax
mov eax, dword [0x51bb10]
cmp byte [eax], 0
jne 0x458922
mov eax, ebx
call fcn.00458ab0
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0045ad38
mov eax, ebx
call fcn.0045b888
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x458962
call fcn.0040392c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x458d30
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x51db44]
cmp dword [eax + 0x30], 0
je 0x458dda
cmp dword [ebx + 0x94], 0
jne 0x458dd4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x458cc0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x458dd4
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x458d9a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x458dd4
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041e2c8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x458da9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x459aec
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x459b21
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404504
jmp 0x459b2e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404468
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45af1c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45af8a
mov eax, esi
call fcn.0043fc8c
test al, al
je 0x45af8a
mov eax, dword [ebx + 0x84]
call fcn.0043fa30
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45af8a
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xec]
test al, al
je 0x45af7e
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043fa30
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00438b84
jmp 0x45af8a
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0045ad58
pop esi
pop ebx
ret
Function at 0x47d818
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x47d99c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x517734], 0
jne 0x47d976
push 0x51dbac
call sub.kernel32.dll_EnterCriticalSection_1
xor eax, eax
push ebp
push 0x47d96f
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x517734], 0
jne 0x47d957
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00404a60
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.004048d4
push eax
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.00408e90
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea edx, [ebp - 0x14]
xor ecx, ecx
mov eax, 0x47d9b4
call fcn.0040a338
mov eax, dword [ebp - 0xc]
call fcn.004048d4
push eax
push 0x80000000
call sub.advapi32.dll_RegQueryValueA
test eax, eax
jne 0x47d8d8
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00404a60
jmp 0x47d90f
lea eax, [ebp - 4]
mov edx, 0x47d9d4
call fcn.004044ac
xor eax, eax
push ebp
push 0x47d905
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00462db4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47d90f
mov eax, dword [ebp - 4]
call fcn.004048d4
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [0x517734], eax
cmp dword [0x517734], 0
jne 0x47d942
mov ecx, dword [0x51bea8]
mov dl, 1
mov eax, dword [0x4081fc]
call fcn.0040d354
call fcn.00403e40
push 0x47d9e0
mov eax, dword [0x517734]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x51dbc4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d976
push 0x51dbac
call sub.kernel32.dll_LeaveCriticalSection_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d9a3
lea eax, [ebp - 0x18]
call fcn.00404414
lea eax, [ebp - 0xc]
call fcn.00404414
lea eax, [ebp - 4]
call fcn.00404414
ret
Function at 0x489a34
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, eax
cmp byte [ebx + 0x87], 0
je 0x489a6f
cmp dword [ebx + 0x5c], 0
je 0x489a6f
mov eax, dword [ebx + 0x5c]
push eax
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x1a8]
push eax
mov eax, dword [eax]
call dword [eax + 0xb8]
mov edx, eax
mov eax, esi
call fcn.00481a60
xor eax, eax
mov dword [ebx + 0x5c], eax
mov byte [ebx + 0x87], 0
cmp dword [ebx + 0x5c], 0
jne 0x489bbf
cmp dword [ebx + 0x7c], 0
jne 0x489a95
mov dl, 1
mov eax, dword [0x41bc84]
call fcn.00403578
mov dword [ebx + 0x7c], eax
cmp dword [ebx + 0xc], 0
je 0x489b98
mov eax, dword [ebx + 0xc]
push eax
movzx eax, byte [0x489bc4]
push eax
movzx eax, byte [0x489bc8]
push eax
push 0
mov eax, dword [ebx + 0x7c]
push eax
mov eax, dword [0x51bed8]
push eax
mov ecx, dword [ebx + 0x68]
mov dl, 1
mov eax, dword [0x479434]
call fcn.0047b6ac
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x489b91
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebx + 0x5c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
push eax
mov eax, dword [ebx + 0x64]
push eax
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x1a8]
push eax
mov eax, dword [eax]
call dword [eax + 0xb4]
mov edx, eax
mov eax, esi
call fcn.00481a60
lea eax, [ebx + 0x10]
push eax
mov eax, dword [ebx + 0x5c]
push eax
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x1a8]
push eax
mov eax, dword [eax]
call dword [eax + 0xc0]
mov edx, eax
mov eax, esi
call fcn.00481a60
mov eax, dword [ebx + 0x40]
push eax
lea eax, [ebx + 0x70]
mov ecx, 1
mov edx, dword [0x47ecc0]
call fcn.00405da8
add esp, 4
mov eax, dword [ebx + 0x30]
cmp eax, 0x1a
jge 0x489b64
mov edx, dword [0x51c138]
movzx eax, byte [edx + eax]
mov byte [ebx + 0x74], al
jmp 0x489b75
cmp eax, 0x1007
jne 0x489b71
mov byte [ebx + 0x74], 0x18
jmp 0x489b75
mov byte [ebx + 0x74], 0
mov eax, dword [ebx + 0x40]
mov dword [ebx + 0x78], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x489bbf
mov eax, dword [ebp - 4]
call fcn.004035a8
ret
lea eax, [ebx + 0x5c]
push eax
push 0
push 0
mov eax, dword [ebx + 0x64]
push eax
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x1a8]
push eax
mov eax, dword [eax]
call dword [eax + 0xb4]
mov edx, eax
mov eax, esi
call fcn.00481a60
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4e0e90
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x48], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4e0fa8
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
je 0x4e0f6e
lea eax, [ebp - 0x3c]
xor ecx, ecx
mov edx, 0x3c
call fcn.00402ec4
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x28], 1
mov dword [ebp - 0xc], 1
mov eax, esi
call fcn.004048d4
mov edi, eax
lea eax, [ebp - 0x3c]
push eax
push 0
push 0
push edi
call sub.wininet.dll_InternetCrackUrlA
mov eax, dword [ebp - 0x30]
add eax, 0xfffffffd
sub eax, 2
jb 0x4e0f37
mov dword [ebp - 0x44], esi
mov byte [ebp - 0x40], 0xb
lea eax, [ebp - 0x44]
push eax
push 0
push 0
push 0
lea edx, [ebp - 0x48]
mov eax, dword [0x51bc14]
call fcn.00406af8
mov ecx, dword [ebp - 0x48]
mov dl, 1
mov eax, dword [0x4e041c]
call fcn.004e0af0
call fcn.00403e40
mov eax, dword [ebp - 0x30]
mov dword [ebx + 0x64], eax
movzx eax, word [ebp - 0x24]
mov dword [ebx + 0x60], eax
lea eax, [ebx + 0x58]
push eax
mov edx, dword [ebp - 0x2c]
sub edx, edi
inc edx
mov ecx, dword [ebp - 0x28]
mov eax, esi
call fcn.00404934
lea eax, [ebx + 0x5c]
push eax
mov edx, dword [ebp - 0x10]
sub edx, edi
inc edx
mov ecx, dword [ebp - 0xc]
mov eax, esi
call fcn.00404934
jmp 0x4e0f88
xor eax, eax
mov dword [ebx + 0x60], eax
lea eax, [ebx + 0x58]
call fcn.00404414
lea eax, [ebx + 0x5c]
call fcn.00404414
xor eax, eax
mov dword [ebx + 0x64], eax
lea eax, [ebx + 0x3c]
mov edx, esi
call fcn.00404468
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e0faf
lea eax, [ebp - 0x48]
call fcn.00404414
ret
Function at 0x4e11a8
Capabilities:
Check internet connectivity via wininet
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
test dl, dl
je 0x4e12d3
mov eax, dword [ebp - 4]
cmp byte [eax + 0x39], 0
jne 0x4e130a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
call fcn.004046d4
test eax, eax
jle 0x4e11dd
mov ebx, 3
jmp 0x4e11df
xor ebx, ebx
push 0
call sub.wininet.dll_InternetAttemptConnect
test eax, eax
je 0x4e11ef
call fcn.0040d278
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
call fcn.004048d4
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
call fcn.004048d4
push eax
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.004048d4
push eax
call sub.wininet.dll_InternetOpenA
mov esi, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x70], esi
test esi, esi
setne dl
xor dl, 1
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.004e0c94
xor eax, eax
push ebp
push 0x4e12ae
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
push eax
push 0
push 3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.004048d4
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
call fcn.004048d4
push eax
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x60]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
call fcn.004048d4
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x70]
push eax
call sub.wininet.dll_InternetConnectA
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x74], ebx
test ebx, ebx
setne dl
xor dl, 1
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.004e0c94
mov eax, dword [ebp - 4]
mov byte [eax + 0x39], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e130a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x74]
test eax, eax
je 0x4e12e3
push eax
call sub.wininet.dll_InternetCloseHandle
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x74], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x70]
test eax, eax
je 0x4e12fb
push eax
call sub.wininet.dll_InternetCloseHandle
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x70], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x39], 0
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4e3f6c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xffffffb8
mov dword [esp], eax
mov eax, dword [0x51c09c]
cmp byte [eax], 0
je 0x4e3fcb
mov eax, dword [0x51bce8]
call fcn.00402d14
call fcn.00402b84
push 0
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 8]
call fcn.00409c1c
push eax
lea eax, [esp + 0xc]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 8]
push eax
push 2
push 0x4e4010
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x4e4001
push 0x40
lea eax, [esp + 0xc]
push eax
mov eax, dword [0x51bc68]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x51d668]
call fcn.00405fb0
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 8]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x48
ret
Function at 0x4e651c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push 0x200
lea eax, [ebp - 0x200]
push eax
push 0x1001
mov edx, dword [ebx + 4]
push edx
call sub.kernel32.dll_GetLocaleInfoA_1
push 0x51882b
lea ecx, [ebp - 0x200]
push ecx
call fcn.004e4114
add esp, 8
lea eax, [ebp - 0x200]
push eax
call fcn.004e40d4
pop ecx
mov edx, 0x200
sub edx, eax
push edx
lea ecx, [ebp - 0x200]
push ecx
call fcn.004e40d4
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
push 0x1002
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
push 0x51882d
lea ecx, [ebp - 0x200]
push ecx
call fcn.004e4114
add esp, 8
push 0xa
lea eax, [ebp - 0x200]
push eax
call fcn.004e40d4
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
mov ecx, dword [ebx]
push ecx
call fcn.004e8034
add esp, 0xc
cmp dword [ebx + 0x24], 0
jne 0x4e662d
push esi
call fcn.004e40d4
pop ecx
mov edi, eax
lea eax, [ebp - 0x200]
push eax
call fcn.004e40d4
pop ecx
add edi, eax
add edi, 3
push edi
call fcn.004e4014
pop ecx
mov edi, eax
mov dword [ebx + 0x24], edi
test edi, edi
jne 0x4e6604
xor eax, eax
jmp 0x4e66b4
push esi
call fcn.004e40d4
pop ecx
push eax
lea edx, [ebp - 0x200]
push edx
call fcn.004e40d4
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push 0
push edi
call fcn.004e40a4
add esp, 0xc
jmp 0x4e666d
mov edi, dword [ebx + 0x24]
push edi
call fcn.004e40d4
pop ecx
push eax
push esi
call fcn.004e40d4
pop ecx
pop edx
add edx, eax
push edx
lea eax, [ebp - 0x200]
push eax
call fcn.004e40d4
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push edi
call fcn.004e404c
add esp, 8
mov dword [ebx + 0x24], eax
cmp dword [ebx + 0x24], 0
jne 0x4e666d
xor eax, eax
jmp 0x4e66b4
push esi
mov edx, dword [ebx + 0x24]
push edx
call fcn.004e4114
add esp, 8
push 0x51882f
mov ecx, dword [ebx + 0x24]
push ecx
call fcn.004e4114
add esp, 8
lea eax, [ebp - 0x200]
push eax
mov edx, dword [ebx + 0x24]
push edx
call fcn.004e4114
add esp, 8
push 0x518831
mov ecx, dword [ebx + 0x24]
push ecx
call fcn.004e4114
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4e90f4
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
lea edx, [ebp - 8]
push edx
lea ecx, [ebp - 4]
push ecx
push 0
push 0x4001f
push 0
push 0
push 0
push eax
push 0x80000000
call sub.advapi32.dll_RegCreateKeyExA
mov ebx, eax
test ebx, ebx
jne 0x4e9148
push esi
call fcn.004e40d4
pop ecx
inc eax
push eax
push esi
push 1
push 0
push edi
push dword [ebp - 4]
call sub.advapi32.dll_RegSetValueExA
mov ebx, eax
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x5138ac
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebx
push ecx
push 0
lea eax, [esp + 4]
push eax
call sub.wininet.dll_InternetGetConnectedState
test eax, eax
jne 0x5138c0
xor ebx, ebx
mov eax, ebx
pop edx
pop ebx
ret
Function at 0x403996
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x46d004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword fs:[0x2c]
mov dword [ebp - 0xc], ecx
mov byte [ebp - 8], 0
mov ecx, dword [eax]
mov eax, dword [0x46f52c]
cmp eax, dword [ecx + 4]
jg 0x4039e3
jmp 0x4039c5
pop esi
lea eax, [ebp - 0xc]
push eax
push 0x403a09
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 8]
xor ecx, ebp
call fcn.00419349
leave
ret
push esi
mov esi, 0x46f52c
push esi
call fcn.0044811f
cmp dword [0x46f52c], 0xffffffff
pop ecx
jne 0x4039c4
push esi
mov byte [0x46f518], 0
call fcn.004480d5
pop ecx
jmp 0x4039c4

Function at 0x40484d
Capabilities:
Accept command line arguments

Disassembly:
push 0x50
mov eax, 0x451e5a
call fcn.0044859e
mov esi, ecx
mov edi, dword [ebp + 8]
lea edx, [esi + 0xc8]
push str.Launcher_
lea ecx, [ebp - 0x40]
call fcn.0040c9c0
xor ebx, ebx
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], ebx
xor eax, eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [esp], str.Settings.json
call fcn.0040a0af
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x58]
call fcn.00407e00
mov byte [ebp - 4], 2
cmp dword [esi + 0x19c], ebx
je 0x4048e4
lea eax, [esi + 0x18c]
lea ecx, [ebp - 0x28]
cmp ecx, eax
je 0x4048d6
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4048cc
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.0040a0d4
push str.Using_custom_name_for_Settings.json.
push 3
mov ecx, esi
call fcn.0040be9f
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
jb 0x4048f0
mov eax, dword [ebp - 0x28]
push dword [ebp - 0x18]
lea ecx, [ebp - 0x40]
push eax
call fcn.0040ae07
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
jb 0x404908
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x5c], eax
mov ecx, esi
lea eax, [ebp - 0x5c]
push eax
push str.Settings_file_full_path:__s.
push 3
call fcn.0040c3f2
push edi
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.004064f6
lea ecx, [ebp - 0x58]
mov bl, al
call fcn.004011f3
lea ecx, [ebp - 0x28]
call fcn.004011f3
lea ecx, [ebp - 0x40]
call fcn.004011f3
mov al, bl
call fcn.00448548
ret 4
Function at 0x404c9a
Capabilities:
Accept command line arguments

Disassembly:
push 0x12c
mov eax, 0x451f3c
call fcn.0044860c
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x114], esi
mov eax, ebx
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x11c], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea edi, [esi + 0x128]
push eax
mov ecx, edi
call fcn.0040a0af
cmp dword [esi + 0x138], ebx
je 0x404ddd
push ecx
push str._______S___s
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], ebx
call fcn.00407a46
push ecx
push str.___eac_launcher_settings__eac_launcher_settings___s__0_9a_zA_Z___.json__s_0_9a_zA_Z___.json__
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00407a46
lea eax, [ebp - 0x40]
mov esi, ebx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x110], eax
cmp eax, ecx
je 0x404dc8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
xor eax, eax
mov dword [ebp - 0x128], ebx
or esi, 1
mov dword [ebp - 0x124], 7
push 0x463948
mov word [ebp - 0x138], ax
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call fcn.0040a0af
mov byte [ebp - 4], 4
mov ecx, edi
cmp dword [edi + 0x14], 8
jb 0x404d69
mov ecx, dword [edi]
mov eax, dword [edi + 0x10]
mov edx, edi
lea eax, [ecx + eax*2]
jb 0x404d75
mov edx, dword [edi]
push ecx
lea ecx, [ebp - 0x58]
push ecx
push dword [ebp - 0x110]
lea ecx, [ebp - 0x118]
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.0040f7be
add esp, 0x14
lea ecx, [ebp - 0x58]
call fcn.004011f3
lea eax, [ebp - 0x138]
mov ecx, edi
push eax
call fcn.00407dca
lea ecx, [ebp - 0x138]
and esi, 0xfffffffe
call fcn.004011f3
mov eax, dword [ebp - 0x110]
add eax, 0x14
jmp 0x404d09
push 0x407a1e
push 2
push 0x14
lea eax, [ebp - 0x40]
mov byte [ebp - 4], bl
push eax
call fcn.00448243
call fcn.00448559
ret
Function at 0x406413
Capabilities:
Accept command line arguments

Disassembly:
push 0x74
mov eax, 0x452132
call fcn.0044859e
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x28]
call fcn.00407e00
xor ebx, ebx
lea eax, [ebp - 0x28]
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x14], 8
jb 0x406441
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x68]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
test edi, edi
jne 0x406465
push str.Failed_in_parsing_command_line_arguments__custom_paths_will_not_be_supported_.
push 2
mov ecx, esi
call fcn.0040be9f
jmp 0x4064e8
push 0x3c
lea eax, [ebp - 0x64]
push ebx
push eax
call fcn.0041a1a0
add esp, 4
mov dword [ebp - 0x2c], ebx
lea ecx, [ebp - 0x64]
push edi
push dword [ebp - 0x68]
call fcn.0040bb91
mov byte [ebp - 4], 1
jmp 0x4064cd
cmp dword [ebp - 0x30], 0
jne 0x4064cd
mov eax, dword [ebp - 0x58]
sub eax, ebx
je 0x4064ae
sub eax, 1
jne 0x4064cd
push dword [ebp - 0x40]
lea ecx, [ebp - 0x80]
call fcn.00407e00
lea ecx, [esi + 0x174]
jmp 0x4064bf
push dword [ebp - 0x40]
lea ecx, [ebp - 0x80]
call fcn.00407e00
lea ecx, [esi + 0x18c]
push eax
call fcn.00407dca
lea ecx, [ebp - 0x80]
call fcn.004011f3
lea ecx, [ebp - 0x64]
call fcn.0040bc13
test al, al
jne 0x406489
cmp dword [ebp - 0x2c], 0
je 0x4064e8
push dword [ebp - 0x2c]
call fcn.00422abf
pop ecx
lea ecx, [ebp - 0x28]
call fcn.004011f3
call fcn.00448548
ret

Function at 0x406c29
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x204
mov eax, dword [0x46d004]
xor eax, esp
mov dword [esp + 0x200], eax
push ebx
mov ebx, dword [esp + 0x20c]
push ebp
push esi
push edi
push dword [ecx + 0x4a0]
mov ebp, dword [ebx + 0x18]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push ebp
call edi
push 1
push ebp
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0xffffff
push ebp
call dword [sym.imp.GDI32.dll_SetTextColor]
mov esi, 0xe0a924
push esi
push ebp
call dword [sym.imp.GDI32.dll_SetDCPenColor]
push esi
push ebp
call dword [sym.imp.GDI32.dll_SetDCBrushColor]
mov esi, dword [sym.imp.GDI32.dll_GetStockObject]
push 0x12
call esi
push eax
push ebp
call edi
push 0x13
call esi
push eax
push ebp
call edi
push 8
push 8
push dword [ebx + 0x28]
lea esi, [ebx + 0x1c]
push dword [ebx + 0x24]
push dword [ebx + 0x20]
push dword [esi]
push ebp
call dword [sym.imp.GDI32.dll_RoundRect]
push pe_nt_image_headers32
lea eax, [esp + 0x14]
push eax
push dword [ebx + 0x14]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x406cdd
push 0x825
push esi
push eax
lea eax, [esp + 0x1c]
push eax
push ebp
call dword [sym.imp.USER32.dll_DrawTextW]
mov ecx, dword [esp + 0x210]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00419349
add esp, 0x204
ret 4