joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b070
Capabilities:
Reference sql statements

Disassembly:
push 0xffffffffffffffff
push 0x483468
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a4720]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
xor ebp, ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x24], ebp
call fcn.004440b8
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x42b0bb
push 0x80004005
call fcn.00401fc0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x34], 1
call fcn.004440b8
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x42b0ea
push 0x80004005
call fcn.00401fc0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x34], 2
mov eax, dword [esp + 0x48]
sub eax, ebp
je 0x42b123
sub eax, 1
je 0x42b11a
sub eax, 1
jne 0x42b133
push 0x13
push str.Property_Value_Bool
jmp 0x42b12a
push 0x12
push str.Property_Value_Int
jmp 0x42b12a
push 0x12
push str.Property_Value_Str
lea ecx, [esp + 0x1c]
call fcn.00401da0
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x14]
push ecx
push edx
lea eax, [esp + 0x20]
push str.SELECT__s_FROM_Project_Property_WHERE_Property_Name_s
push eax
call fcn.00403800
mov ebx, dword [esp + 0x28]
add esp, 0x10
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x24]
push eax
push ecx
add ebx, 0xfffffff0
mov dword [esp + 0x38], esp
mov esi, esp
push ebx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x5c], ebp
call fcn.00401fe0
mov ecx, dword [esp + 0x50]
add esp, 4
add eax, 0x10
push ecx
mov dword [esi], eax
call fcn.0042ae40
mov ecx, dword [esp + 0x1c]
cmp ecx, ebp
mov edi, dword [esp + 0x48]
jle 0x42b1c1
mov eax, dword [esp + 0x20]
cmp eax, ebp
jle 0x42b1c1
inc ecx
imul ecx, eax
cmp eax, ecx
jge 0x42b1c1
mov edx, dword [edi + eax*4]
mov ecx, dword [esp + 0x44]
push edx
call fcn.00401e90
mov dword [esp + 0x24], 1
cmp edi, ebp
je 0x42b1f4
mov ebp, dword [edi - 4]
sub edi, 4
mov esi, 1
cmp ebp, esi
jl 0x42b1eb
cmp dword [edi + esi*4], 0
je 0x42b1e6
mov eax, dword [edi + esi*4]
push eax
call fcn.00443d41
add esp, 4
inc esi
cmp esi, ebp
jle 0x42b1d4
push edi
call fcn.00443d41
add esp, 4
mov byte [esp + 0x34], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b219
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x34], 0
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b237
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov dword [esp + 0x34], 0xffffffff
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b25f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x10
Function at 0x42e350
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4848f8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4a4720]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
push edi
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x2c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x18], esp
mov esi, esp
push eax
mov dword [esp + 0x18], 0
call fcn.00401fe0
mov ecx, dword [esp + 0x30]
add esp, 4
add eax, 0x10
push ecx
mov ecx, ebx
mov dword [esi], eax
call fcn.0042e200
mov esi, eax
test esi, esi
je 0x42e3ea
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push edx
push edi
push eax
push ecx
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x10]
sub eax, 0x10
mov dword [esp + 0x30], esp
mov esi, esp
push eax
call fcn.00401fe0
add esp, 4
add eax, 0x10
push ebx
mov dword [esi], eax
call fcn.0042e7b0
mov esi, eax
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42e412
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret 0x10
Function at 0x4314d0
Capabilities:
Get file size
Hash data with md5
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x48332b
mov eax, dword fs:[0]
push eax
mov eax, 0x2084
call fcn.00464d80
mov eax, dword [0x4a4720]
xor eax, esp
mov dword [esp + 0x2080], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a4720]
xor eax, esp
push eax
lea eax, [esp + 0x2098]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
mov esi, ecx
push eax
xor ebx, ebx
push esi
mov edi, edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
cmp eax, ebx
je 0x431672
push ebx
push ebx
push ebx
push esi
mov byte [esp + 0x9c], bl
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x34], 0x67452301
mov dword [esp + 0x38], 0xefcdab89
mov dword [esp + 0x3c], 0x98badcfe
mov dword [esp + 0x40], 0x10325476
mov dword [esp + 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [esp + 0x18], ebx
jl 0x4315f9
jg 0x431580
cmp dword [esp + 0x14], ebx
jbe 0x4315f9
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
lea ecx, [esp + 0x20]
push ecx
push 0x2000
lea edx, [esp + 0xa0]
push edx
push esi
call ebp
cmp eax, ebx
je 0x4315f9
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jbe 0x4315f9
mov ecx, dword [esp + 0x14]
sub ecx, eax
sbb dword [esp + 0x18], ebx
mov dword [esp + 0x14], ecx
js 0x4315e0
jg 0x4315bf
cmp ecx, 0x40
jbe 0x4315e0
lea ecx, [esp + 0x94]
push ecx
lea ecx, [esp + 0x28]
call fcn.0043b410
cmp dword [esp + 0x18], ebx
jg 0x431586
jl 0x4315f9
cmp dword [esp + 0x14], ebx
ja 0x431586
jmp 0x4315f9
lea eax, [eax + ecx - 0x40]
lea edx, [esp + 0x94]
push edx
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], eax
call fcn.0043b410
lea ecx, [esp + 0x24]
call fcn.0043b500
lea ebx, [esp + 0x24]
call fcn.0043b610
mov esi, eax
push esi
lea ecx, [esp + 0x24]
call fcn.004318d0
push eax
mov ecx, edi
mov dword [esp + 0x20a4], 0
call fcn.00407570
mov dword [esp + 0x20a0], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x431655
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.00428c00
push eax
mov ecx, edi
call fcn.00407570
push esi
mov edi, 1
call fcn.00443d41
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x2098]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2080]
xor ecx, esp
call fcn.00461706
add esp, 0x2090
ret
Function at 0x432bc0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x482399
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4a4720]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x14], 0
mov dword [esp + 8], 0
call fcn.004440b8
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x432c10
push 0x80004005
call fcn.00401fc0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0x14], 0
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x104
or eax, ecx
mov dword [esp + 8], 1
jge 0x432c4e
push 0x104
mov ecx, esi
call fcn.00401cf0
mov eax, dword [esi]
push eax
push 1
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x432c76
push ecx
push eax
call fcn.004624b4
add esp, 8
test eax, eax
jl 0x432cab
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x432cab
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
xor edx, edx
push 0x12
mov word [ecx + eax*2], dx
push str.GsDesDesUpdater_
mov ecx, esi
call fcn.0040e2c0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
push 0x80070057
call fcn.00401fc0
int3
Function at 0x433e10
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4832b8
mov eax, dword fs:[0]
push eax
mov eax, 0x2024
call fcn.00464d80
mov eax, dword [0x4a4720]
xor eax, esp
mov dword [esp + 0x2020], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a4720]
xor eax, esp
push eax
lea eax, [esp + 0x2038]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2048]
mov edi, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edi
xor ebx, ebx
push 0x1fff
mov dword [esp + 0x2044], ebx
lea ecx, [esp + 0x39]
push ebx
push ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x40], bl
call fcn.00464a00
mov eax, dword [esp + 0x2068]
add esp, 0xc
cmp dword [eax - 4], 1
jle 0x433eac
mov edx, dword [eax - 0xc]
push edx
lea ecx, [esp + 0x2060]
call fcn.00401c30
mov eax, dword [esp + 0x205c]
push ebx
push ebx
push 2
push ebx
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
xor eax, eax
cmp ebp, 0xffffffff
setne al
mov esi, eax
cmp esi, ebx
jne 0x433edd
push 0x1b
push 0x493890
mov ecx, edi
jmp 0x433fd4
mov edi, dword [esp + 0x2058]
mov ebx, dword [esp + 0x2054]
push 0
push 0
push edi
push ebx
push ebp
mov dword [esp + 0x3c], edi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
push ebp
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, eax
test esi, esi
jne 0x433f15
push 0x1b
push 0x493890
jmp 0x433fd0
push 0
push 0
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [esp + 0x2050]
mov edx, dword [esp + 0x204c]
mov eax, dword [esp + 0x1c]
push 0
push 0
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test edi, edi
jl 0x433fd9
jg 0x433f59
cmp dword [esp + 0x2054], 0
jbe 0x433fd9
cmp dword [esp + 0x28], 0
jl 0x433f71
jg 0x433f6a
cmp ebx, 0x2000
jbe 0x433f71
mov edi, 0x2000
jmp 0x433f73
mov edi, ebx
mov eax, dword [esp + 0x1c]
push 0
lea ecx, [esp + 0x24]
push ecx
push edi
lea edx, [esp + 0x40]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
test esi, esi
je 0x433fd9
mov eax, dword [esp + 0x20]
test eax, eax
jbe 0x433fd9
push 0
lea ecx, [esp + 0x34]
push ecx
push eax
lea edx, [esp + 0x40]
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
sub ebx, edi
sbb dword [esp + 0x28], 0
mov esi, eax
test esi, esi
je 0x433fc9
cmp dword [esp + 0x28], 0
jg 0x433f6a
jl 0x433fd9
test ebx, ebx
ja 0x433f59
jmp 0x433fd9
push 0xa
push 0x4938c8
mov ecx, dword [esp + 0x20]
call fcn.00401da0
test ebp, ebp
je 0x433fe9
cmp ebp, 0xffffffff
je 0x433fe9
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x2040], 0xffffffff
mov eax, dword [esp + 0x205c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x434017
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x2038]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2020]
xor ecx, esp
call fcn.00461706
add esp, 0x2030
ret 0x18
Function at 0x4343a0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x238
mov eax, dword [0x4a4720]
xor eax, esp
mov dword [esp + 0x234], eax
mov edx, dword [esi]
mov eax, dword [esp + 0x23c]
push ebx
push ebp
mov ebp, dword [esp + 0x248]
push edi
push 0
mov edi, ecx
mov ecx, dword [esi + 4]
push 0
push ecx
push edx
push edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov ebx, eax
test ebx, ebx
jne 0x4343fd
push 0x14
push 0x4938e0
mov ecx, ebp
call fcn.00401da0
mov eax, ebx
jmp 0x434470
add dword [esi], 0x224
push 0
lea eax, [esp + 0x14]
adc dword [esi + 4], 0
push eax
push 0x224
lea ecx, [esp + 0x20]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, eax
test edi, edi
jne 0x434437
push 0x14
push 0x4938e0
mov ecx, ebp
call fcn.00401da0
mov eax, edi
jmp 0x434470
lea eax, [esp + 0x1c]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x434440
mov ecx, dword [esp + 0xc]
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x20]
push edx
call fcn.00401da0
mov eax, dword [esp + 0x14]
add dword [esi], eax
mov ecx, dword [esp + 0x18]
mov eax, 1
adc dword [esi + 4], ecx
mov ecx, dword [esp + 0x240]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.00461706
add esp, 0x238
ret 8
Function at 0x43e260
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x18
push esi
lea eax, [esp + 0xc]
push eax
xor esi, esi
push str.SeDebugPrivilege
push esi
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], 2
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
lea ecx, [esp + 4]
push ecx
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov eax, dword [esp + 4]
push esi
push esi
push 0x10
lea edx, [esp + 0x14]
push edx
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 4]
mov esi, eax
neg esi
sbb esi, esi
push ecx
inc esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
add esp, 0x18
ret

Function at 0x43e420
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x4a4720]
xor eax, esp
mov dword [esp + 0x20c], eax
mov eax, 0x4a95f0
push esi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43e440
sub eax, edx
sar eax, 1
jne 0x43e4fb
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x12]
push ecx
mov word [esp + 0x14], ax
call fcn.00464a00
lea esi, [esp + 0x14]
call fcn.0043dd90
mov edx, esi
push edx
push str._swrar.exe
push 0x104
push 0x4a95f0
call fcn.0046206f
add esp, 0x18
mov ecx, esp
mov dword [esp + 8], esp
push 0x4a95f0
call fcn.00401ed0
call fcn.0043d580
add esp, 4
test eax, eax
jne 0x43e4fb
push 0x104
push 0x4a95f0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov eax, 0x4a95f0
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x43e4c3
mov ecx, dword [0x4942b4]
mov edx, dword [0x4942b8]
mov dword [eax], ecx
mov ecx, dword [0x4942bc]
mov dword [eax + 4], edx
mov edx, dword [0x4942c0]
mov dword [eax + 8], ecx
mov ecx, dword [0x4942c4]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x210]
pop esi
xor ecx, esp
mov eax, 0x4a95f0
call fcn.00461706
add esp, 0x210
ret
Function at 0x43f510
Capabilities:
Get hostname
Hash data with md5

Disassembly:
sub esp, 0xc8
mov eax, dword [0x4a4720]
xor eax, esp
mov dword [esp + 0xc0], eax
push ebx
push esi
push edi
lea eax, [esp + 0x18]
xor ebx, ebx
push eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x1c]
xor ecx, ecx
push eax
mov word [esp + 0x2e], cx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
push 0x80
push ebx
push 0x4a97f8
mov byte [esp + 0x9c], bl
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x34], 0x67452301
mov dword [esp + 0x38], 0xefcdab89
mov dword [esp + 0x3c], 0x98badcfe
mov dword [esp + 0x40], 0x10325476
call fcn.00464a00
add esp, 0xc
xor eax, eax
push edi
push esi
lea ecx, [esp + 0xb4]
push str._I64u
push ecx
mov byte [esp + 0xbc], bl
mov dword [esp + 0xbd], eax
mov dword [esp + 0xc1], eax
mov dword [esp + 0xc5], eax
mov dword [esp + 0xc9], eax
mov dword [esp + 0xcd], eax
mov dword [esp + 0xd1], eax
mov dword [esp + 0xd5], eax
mov byte [esp + 0xd9], al
call fcn.004630cd
lea eax, [esp + 0xbc]
add esp, 0x10
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x43f600
sub eax, edx
lea edx, [esp + 0xac]
push edx
lea ecx, [esp + 0x2c]
call fcn.0043b410
xor eax, eax
mov dword [esp + 0x9d], eax
mov dword [esp + 0xa1], eax
mov dword [esp + 0xa5], eax
mov word [esp + 0xa9], ax
mov byte [esp + 0xab], al
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0xa0]
push ecx
mov dword [esp + 0x1c], 0xf
mov byte [esp + 0xa4], bl
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea eax, [esp + 0x9c]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x43f670
sub eax, edx
lea edx, [esp + 0x9c]
push edx
lea ecx, [esp + 0x2c]
call fcn.0043b410
push str.GREATSKYEGUARD
mov eax, 0xe
lea ecx, [esp + 0x2c]
call fcn.0043b410
lea ecx, [esp + 0x28]
call fcn.0043b500
lea ebx, [esp + 0x28]
call fcn.0043b610
mov esi, 0x4a97f8
mov ecx, eax
sub esi, eax
mov dl, byte [ecx]
mov byte [esi + ecx], dl
inc ecx
test dl, dl
jne 0x43f6b8
push eax
call fcn.00443d41
mov ecx, dword [esp + 0xd0]
add esp, 4
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 0x4a97f8
call fcn.00461706
add esp, 0xc8
ret

Function at 0x43fd90
Capabilities:
Print debug messages

Disassembly:
mov ecx, dword [esp + 4]
push esi
lea eax, [esp + 0xc]
push eax
push ecx
call fcn.004638aa
mov esi, eax
add esp, 8
test esi, esi
jle 0x43fe16
push edi
add esi, 3
push esi
call fcn.00463915
mov edi, eax
add esp, 4
test edi, edi
je 0x43fe15
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x10]
push edx
push eax
push esi
push edi
call fcn.00463b33
mov esi, eax
add esp, 0x10
test esi, esi
jle 0x43fe0c
jmp 0x43fde0
movsx ecx, byte [edi + esi - 1]
push ecx
call fcn.00463da4
add esp, 4
test eax, eax
je 0x43fdf7
sub esi, 1
jne 0x43fde0
mov byte [edi + esi], 0xd
inc esi
mov byte [edi + esi], 0xa
push edi
mov byte [edi + esi + 1], 0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push edi
call fcn.0046356a
add esp, 4
pop edi
pop esi
ret
Function at 0x441db0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4812eb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4a4720]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.0047e499
push 4
mov dword [esp + 0x20], 0
call fcn.00443d07
mov edi, eax
add esp, 4
test edi, edi
je 0x441e2e
call fcn.0047d166
mov dword [edi], eax
call fcn.0047cf94
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.0047ceb8
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x441e23
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.0047cee0
jmp 0x441e30
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4

Function at 0x445973
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x4459bb
call fcn.0044f63a
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4459bb
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x4459fe
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x4459e7
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x4459e7
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x4459fb
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x44df6a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x44dfb1
call fcn.0044f63a
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x44dfb1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x44dfcd
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0044dae2
mov esi, eax
test edi, edi
je 0x44dfcb
test ebx, ebx
je 0x44dfcb
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x44e7a0
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x480082
call fcn.00464295
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x44e7c5
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x44e80b
lea ecx, [ebp - 0x10]
call fcn.00401f90
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00443da5
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00402070
mov eax, esi
call fcn.0046436d
ret 8
Function at 0x461706
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a4720]
jne 0x461710
repz ret
jmp fcn.00468621

Function at 0x4752ed
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.00467f85
and dword [ebp - 4], 0
cmp dword [0x4a924c], 0
mov ebx, eax
jne 0x47539e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x47544f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x48bfc0
push edi
call esi
test eax, eax
je 0x47544f
push eax
call fcn.00467f13
mov dword [esp], 0x48bfb0
push edi
mov dword [0x4a924c], eax
call esi
push eax
call fcn.00467f13
mov dword [esp], 0x48bf9c
push edi
mov dword [0x4a9250], eax
call esi
push eax
call fcn.00467f13
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4a9254], eax
call esi
push eax
call fcn.00467f13
pop ecx
mov dword [0x4a925c], eax
test eax, eax
je 0x47539e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00467f13
pop ecx
mov dword [0x4a9258], eax
mov eax, dword [0x4a9258]
cmp eax, ebx
je 0x4753f6
cmp dword [0x4a925c], ebx
je 0x4753f6
push eax
call fcn.00467f8e
push dword [0x4a925c]
mov esi, eax
call fcn.00467f8e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4753f6
test edi, edi
je 0x4753f6
call esi
test eax, eax
je 0x4753ed
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4753ed
test byte [ebp - 0xc], 1
jne 0x4753f6
or dword [ebp + 0x10], 0x200000
jmp 0x47542f
mov eax, dword [0x4a9250]
cmp eax, ebx
je 0x47542f
push eax
call fcn.00467f8e
pop ecx
test eax, eax
je 0x47542f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x47542f
mov eax, dword [0x4a9254]
cmp eax, ebx
je 0x47542f
push eax
call fcn.00467f8e
pop ecx
test eax, eax
je 0x47542f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4a924c]
call fcn.00467f8e
pop ecx
test eax, eax
je 0x47544f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x475451
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret