joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45dcd0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x471
call fcn.004d67b0
mov esi, eax
add esp, 4
test esi, esi
jne 0x45dcf9
push str.Error:_Not_enough_memory
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor al, al
pop esi
pop ebp
ret 8
push ebx
push esi
xor bl, bl
call fcn.0045de60
add eax, 5
cmp eax, 6
ja case.default.0x45dd0e
jmp dword [eax*4 + 0x45de44]
push str.Couldnt_determine_the_correct_maintenance_shedule
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call fcn.004d5559
add esp, 4
mov al, bl
pop ebx
pop esi
pop ebp
ret 8
push str.Success_:_Retrived_Deep_Freeze_current_scheduled_information.
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
fld qword [esi + 0x55]
fldz
fld st(0)
fucomp st(2)
fnstsw ax
fstp st(1)
test ah, 0x44
jnp 0x45de2d
fld qword [esi + 0x4d]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x45de2f
fld qword [esi + 0x4d]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
fstp qword [eax]
fld qword [esi + 0x55]
push esi
fstp qword [ecx]
mov bl, 1
call fcn.004d5559
add esp, 4
mov al, bl
pop ebx
pop esi
pop ebp
ret 8
push str.Error:_null_pointer
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call fcn.004d5559
add esp, 4
mov al, bl
pop ebx
pop esi
pop ebp
ret 8
push str.Deep_Freeze_is_not_in_Maintenance
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call fcn.004d5559
add esp, 4
mov al, bl
pop ebx
pop esi
pop ebp
ret 8
push str.Error:_Not_enough_memory
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call fcn.004d5559
add esp, 4
mov al, bl
pop ebx
pop esi
pop ebp
ret 8
push str.Error:_Failed_to_get_Schedules_from_Deep_Freeze
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call fcn.004d5559
add esp, 4
mov al, bl
pop ebx
pop esi
pop ebp
ret 8
push str.Error:_Failed_to_get_current_Schedules_index_from_Deep_Freeze
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call fcn.004d5559
add esp, 4
mov al, bl
pop ebx
pop esi
pop ebp
ret 8
push str.Error:_Unknown
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call fcn.004d5559
add esp, 4
mov al, bl
pop ebx
pop esi
pop ebp
ret 8
fstp st(0)
push esi
xor bl, bl
call fcn.004d5559
add esp, 4
mov al, bl
pop ebx
pop esi
pop ebp
ret 8
Function at 0x45dd15
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x471
call fcn.004d67b0
mov esi, eax
add esp, 4
test esi, esi
jne 0x45dcf9
push str.Error:_Not_enough_memory
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor al, al
pop esi
pop ebp
ret 8
push ebx
push esi
xor bl, bl
call fcn.0045de60
add eax, 5
cmp eax, 6
ja case.default.0x45dd0e
jmp dword [eax*4 + 0x45de44]
push str.Couldnt_determine_the_correct_maintenance_shedule
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call fcn.004d5559
add esp, 4
mov al, bl
pop ebx
pop esi
pop ebp
ret 8
push str.Success_:_Retrived_Deep_Freeze_current_scheduled_information.
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
fld qword [esi + 0x55]
fldz
fld st(0)
fucomp st(2)
fnstsw ax
fstp st(1)
test ah, 0x44
jnp 0x45de2d
fld qword [esi + 0x4d]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x45de2f
fld qword [esi + 0x4d]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
fstp qword [eax]
fld qword [esi + 0x55]
push esi
fstp qword [ecx]
mov bl, 1
call fcn.004d5559
add esp, 4
mov al, bl
pop ebx
pop esi
pop ebp
ret 8
push str.Error:_null_pointer
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call fcn.004d5559
add esp, 4
mov al, bl
pop ebx
pop esi
pop ebp
ret 8
push str.Deep_Freeze_is_not_in_Maintenance
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call fcn.004d5559
add esp, 4
mov al, bl
pop ebx
pop esi
pop ebp
ret 8
push str.Error:_Not_enough_memory
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call fcn.004d5559
add esp, 4
mov al, bl
pop ebx
pop esi
pop ebp
ret 8
push str.Error:_Failed_to_get_Schedules_from_Deep_Freeze
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call fcn.004d5559
add esp, 4
mov al, bl
pop ebx
pop esi
pop ebp
ret 8
push str.Error:_Failed_to_get_current_Schedules_index_from_Deep_Freeze
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call fcn.004d5559
add esp, 4
mov al, bl
pop ebx
pop esi
pop ebp
ret 8
push str.Error:_Unknown
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call fcn.004d5559
add esp, 4
mov al, bl
pop ebx
pop esi
pop ebp
ret 8
fstp st(0)
push esi
xor bl, bl
call fcn.004d5559
add esp, 4
mov al, bl
pop ebx
pop esi
pop ebp
ret 8
Function at 0x45f4f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f2d2b
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x5365f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ebx, [esi + 0x18]
xor edi, edi
mov dword [ebx], edi
mov dword [ebp - 4], edi
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
call fcn.0045f300
mov dword [esi + 0x14], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [ebp - 4], 0xffffffff
mov eax, esi
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 0x45f580
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f2cfb
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5365f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x45f5be
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
call fcn.0045f6c0
mov dword [ebp - 4], 0xffffffff
mov edi, dword [esi + 0x18]
test edi, edi
je 0x45f610
lea eax, [edi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x45f609
test edi, edi
je 0x45f609
mov eax, dword [edi]
test eax, eax
je 0x45f5f0
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [edi + 4]
test eax, eax
je 0x45f600
push eax
call fcn.004d632b
add esp, 4
push edi
call fcn.004d5559
add esp, 4
mov dword [esi + 0x18], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x460590
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, eax
je 0x4605d9
cmp dword [esi + 0x3c], 0
je 0x4605d9
cmp dword [esi + 0x38], 0
jne 0x4605d9
cmp dword [esi + 0x24], 0
je 0x4605d9
mov eax, dword [esi + 0x30]
test eax, eax
je 0x4605c4
push 0x1d4c0
push eax
call edi
mov eax, dword [esi + 0x24]
push str.StopScan
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4605d9
call eax
mov ecx, dword [esi + 0x20]
push 0
push 0
push 0x12
push ecx
call dword [sym.imp.USER32.dll_PostThreadMessageW]
mov edx, dword [esi + 0x1c]
push 0x7530
push edx
call edi
cmp eax, 0x102
jne 0x460613
mov eax, dword [esi + 0x1c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 0x1c], 0
call fcn.0045f6c0
pop edi
mov eax, 1
pop esi
pop ebp
ret 4
Function at 0x461d20
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f495b
mov eax, dword fs:[0]
push eax
sub esp, 0x498
mov eax, dword [0x5365f0]
xor eax, esp
mov dword [esp + 0x490], eax
push ebx
push esi
push edi
mov eax, dword [0x5365f0]
xor eax, esp
push eax
lea eax, [esp + 0x4a8]
mov dword fs:[0], eax
mov esi, edx
xor ebx, ebx
push ebx
mov eax, 0x517384
mov edi, ecx
mov dword [esp + 0x20], esi
call fcn.004027c0
xor eax, eax
cmp edi, ebx
je 0x461f5b
push 0x208
lea ecx, [esp + 0x292]
push ebx
push ecx
mov word [esp + 0x298], ax
call fcn.004da450
add esp, 0xc
push 0x105
lea edx, [esp + 0x290]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
test eax, eax
je 0x461f5b
push 0x24c
lea eax, [esp + 0x44]
push ebx
push eax
mov dword [esp + 0x48], ebx
call fcn.004da450
add esp, 0xc
xor ecx, ecx
lea eax, [esp + 0x28c]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], cx
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x461df0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x290]
lea esi, [esp + 0x24]
call fcn.004027c0
mov dword [esp + 0x4b0], ebx
push 1
mov eax, 0x5056a8
mov ecx, esi
call fcn.004021b0
cmp dword [esp + 0x34], 8
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], ebx
jae 0x461e36
mov eax, esi
lea edx, [esp + 0x3c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x68]
push eax
push 0x5056b4
call fcn.004d5750
add esp, 8
test eax, eax
je 0x461ee6
lea ecx, [esp + 0x68]
push ecx
push 0x5056b8
call fcn.004d5750
add esp, 8
test eax, eax
je 0x461ee6
test byte [esp + 0x3c], 0x10
je 0x461ee6
lea eax, [esp + 0x28c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x461e87
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x290]
lea esi, [esp + 0x24]
call fcn.004027c0
lea eax, [esp + 0x68]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x461eb0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x24]
call fcn.004021b0
cmp dword [esp + 0x34], 8
mov edi, dword [esp + 0x20]
jae 0x461edc
lea edi, [esp + 0x20]
call fcn.004620f0
cmp eax, 1
je 0x461f00
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x3c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x461e46
jmp 0x461f1a
push ebx
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
or eax, 0xffffffff
call fcn.004022e0
mov dword [esp + 0x18], 1
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [esp + 0x4b0], 0xffffffff
cmp dword [esp + 0x34], 8
jb 0x461f44
mov eax, dword [esp + 0x20]
push eax
call fcn.004d5559
add esp, 4
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], cx
mov ecx, dword [esp + 0x4a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x490]
xor ecx, esp
call fcn.004d5564
mov esp, ebp
pop ebp
ret
Function at 0x461f80
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f691b
mov eax, dword fs:[0]
push eax
sub esp, 0x82c
mov eax, dword [0x5365f0]
xor eax, esp
mov dword [esp + 0x824], eax
push ebx
push esi
mov eax, dword [0x5365f0]
xor eax, esp
push eax
lea eax, [esp + 0x838]
mov dword fs:[0], eax
push 0x7fe
xor ebx, ebx
lea ecx, [esp + 0x32]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x38], ax
call fcn.004da450
add esp, 0xc
lea edx, [esp + 0x2c]
push edx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
xor eax, eax
mov word [esp + 0x10], ax
push ebx
mov eax, 0x517384
lea esi, [esp + 0x14]
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], ebx
call fcn.004027c0
mov dword [esp + 0x840], ebx
xor esi, esi
lea ebx, [esp + 0x2c]
cmp word [esp + 0x2c], si
je 0x46208a
lea edx, [esp + 0x10]
mov ecx, ebx
call fcn.00461d20
test eax, eax
je 0x462065
mov esi, dword [edi]
mov edx, dword [esi + 4]
lea ecx, [esp + 0x10]
push ecx
push edx
push esi
call fcn.004097e0
mov ecx, dword [edi + 4]
mov edx, 0x9249248
sub edx, ecx
cmp edx, 1
jb 0x4620e5
inc ecx
mov dword [edi + 4], ecx
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
mov esi, 1
mov eax, ebx
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x462070
sub eax, edx
sar eax, 1
cmp word [ebx + eax*2 + 2], cx
lea ebx, [ebx + eax*2 + 2]
jne 0x462021
mov dword [esp + 0x840], 0xffffffff
cmp dword [esp + 0x24], 8
jb 0x4620a9
mov eax, dword [esp + 0x10]
push eax
call fcn.004d5559
add esp, 4
xor ecx, ecx
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
mov word [esp + 0x10], cx
mov eax, esi
mov ecx, dword [esp + 0x838]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x824]
xor ecx, esp
call fcn.004d5564
mov esp, ebp
pop ebp
ret
push str.list_T__too_long
call fcn.004d4798
int3
Function at 0x4620f0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f4928
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x5365f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
cmp edi, ebx
jne 0x46212a
xor eax, eax
jmp 0x4622bb
push 0x24c
lea eax, [ebp - 0x27c]
push ebx
push eax
mov dword [ebp - 0x280], ebx
call fcn.004da450
add esp, 0xc
xor ecx, ecx
mov eax, edi
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x462160
sub eax, edx
sar eax, 1
push eax
mov eax, edi
lea esi, [ebp - 0x2c]
call fcn.004027c0
mov dword [ebp - 4], ebx
push 2
mov eax, 0x5056ac
mov ecx, esi
call fcn.004021b0
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x284], ebx
jae 0x46219c
mov eax, esi
lea edx, [ebp - 0x280]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x288], eax
lea eax, [ebp - 0x254]
push eax
push 0x5056b4
call fcn.004d5750
add esp, 8
test eax, eax
je 0x462257
lea ecx, [ebp - 0x254]
push ecx
push 0x5056b8
call fcn.004d5750
add esp, 8
test eax, eax
je 0x462257
test byte [ebp - 0x280], 0x10
je 0x462257
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4621f2
sub eax, edx
sar eax, 1
push eax
mov eax, edi
lea esi, [ebp - 0x2c]
call fcn.004027c0
push 1
mov eax, 0x504a74
mov ecx, esi
call fcn.004021b0
lea eax, [ebp - 0x254]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x462223
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x254]
lea ecx, [ebp - 0x2c]
call fcn.004021b0
cmp dword [ebp - 0x18], 8
mov ecx, dword [ebp - 0x2c]
jae 0x46224d
lea ecx, [ebp - 0x2c]
call fcn.004622e0
cmp eax, 1
je 0x462275
mov eax, dword [ebp - 0x288]
lea edx, [ebp - 0x280]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4621b0
jmp 0x46227f
mov dword [ebp - 0x284], 1
mov ecx, dword [ebp - 0x288]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 8
jb 0x4622a5
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004d5559
add esp, 4
xor eax, eax
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x284]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
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.004d5564
mov esp, ebp
pop ebp
ret
Function at 0x462560
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x5365f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, ecx
xor ebx, ebx
cmp edi, ebx
jne 0x46258f
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d5564
mov esp, ebp
pop ebp
ret
push esi
push 1
call fcn.00462730
add esp, 4
lea eax, [ebp - 0x214]
push eax
push 0x20019
push ebx
push 0x504a78
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x462637
mov edx, dword [ebp - 0x214]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x218]
push ecx
push ebx
push ebx
push ebx
push str.AEConfigPath
push edx
mov dword [ebp - 0x218], ebx
call esi
mov eax, dword [ebp - 0x218]
test eax, eax
je 0x46262a
shr eax, 1
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004d4853
add esp, 4
mov dword [edi], eax
test eax, eax
je 0x46262a
mov edx, dword [ebp - 0x214]
lea ecx, [ebp - 0x218]
push ecx
push eax
push 0
push 0
push str.AEConfigPath
push edx
call esi
mov ebx, 1
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
call fcn.00462730
add esp, 4
test ebx, ebx
jne 0x462715
xor ecx, ecx
push 0x208
push ecx
lea edx, [ebp - 0x20e]
push edx
mov word [ebp - 0x210], cx
call fcn.004da450
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 1
push ebx
push 0x23
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x462715
xor ecx, ecx
lea eax, [ebp - 0x210]
mov word [ebp - 8], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x462691
sub eax, edx
sar eax, 1
lea esi, [eax + 0x1b]
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004d4853
add esp, 4
mov dword [edi], eax
test eax, eax
je 0x462715
push esi
push 0
push eax
call fcn.00401020
mov edx, dword [edi]
add esp, 0xc
lea ecx, [ebp - 0x210]
jmp 0x4626e0
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x4626e0
mov edi, dword [edi]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4626f6
mov ecx, 0xd
mov esi, str.FaronicsStorageSpaceAEE
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ebx, 1
mov ecx, dword [ebp - 4]
pop esi
pop edi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.004d5564
mov esp, ebp
pop ebp
ret

Function at 0x468d80
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
test ecx, ecx
jle 0x468dad
push esi
push edi
jmp 0x468d90
movzx esi, byte [edx]
movzx esi, byte [esi + 0x505a70]
lea edi, [eax*8]
xor esi, edi
dec ecx
xor eax, esi
inc edx
test ecx, ecx
jg 0x468d90
pop edi
pop esi
ret
Function at 0x468e10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [esi*8]
push edi
mov edi, dword [ebp + 8]
cmp eax, 0x400
jbe 0x468e32
mov esi, 0x80
cmp esi, dword [edi]
jne 0x468e3f
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x539c98]
test eax, eax
je 0x468e4a
call eax
lea ecx, [esi*8]
push ecx
call fcn.004657b0
mov esi, eax
mov eax, dword [0x539c9c]
add esp, 4
mov dword [ebp - 4], esi
test eax, eax
je 0x468e6a
call eax
test esi, esi
je 0x468e36
mov edx, dword [edi + 0xc]
push edx
call fcn.00465a80
add esp, 4
push esi
mov dword [edi + 0xc], esi
call dword [0x537780]
mov ebx, eax
shr ebx, 3
add esp, 4
lea eax, [ebx*8]
push eax
push 0
push esi
mov dword [ebp + 0xc], ebx
mov dword [edi], ebx
call fcn.004da450
mov ecx, dword [edi + 8]
add esp, 0xc
mov dword [edi + 8], 0
test ecx, ecx
je 0x468f4f
mov edx, dword [ecx + 0x10]
mov esi, dword [ecx + 0xc]
xor eax, eax
test edx, edx
jle 0x468ee3
movzx edi, byte [esi]
movzx edi, byte [edi + 0x505a70]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc esi
test edx, edx
jg 0x468ec2
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [ebp - 8], edx
xor edx, edx
div ebx
mov eax, dword [ebp - 4]
lea eax, [eax + edx*8]
test eax, eax
je 0x468f2b
mov esi, dword [eax]
test esi, esi
je 0x468f01
mov edx, dword [eax + 4]
jmp 0x468f03
xor edx, edx
inc esi
mov dword [eax], esi
mov dword [eax + 4], ecx
test edx, edx
je 0x468f2b
mov dword [ecx], edx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 4]
test eax, eax
je 0x468f23
mov dword [eax], ecx
mov dword [edx + 4], ecx
jmp 0x468f44
mov dword [edi + 8], ecx
mov dword [edx + 4], ecx
jmp 0x468f44
mov edx, dword [edi + 8]
mov dword [ecx], edx
mov eax, dword [edi + 8]
test eax, eax
je 0x468f3a
mov dword [eax + 4], ecx
mov dword [ecx + 4], 0
mov dword [edi + 8], ecx
mov ecx, dword [ebp - 8]
test ecx, ecx
jne 0x468eb6
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x470600
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 8]
mov edx, dword [ebx + 0x3c]
cmp dword [edx], 0
push esi
push edi
mov edi, eax
mov dword [ebp - 4], 0
jne 0x470644
mov eax, dword [ebx + 0x78]
mov ecx, dword [ebx]
or eax, 0x1e
push 0
and eax, 0x87f7f
push eax
mov eax, dword [ecx + 0x18]
push edx
push 0
push ecx
call eax
add esp, 0x14
mov dword [ebp - 4], eax
test eax, eax
jne 0x47079a
mov ecx, dword [ebx + 0x18]
cmp ecx, dword [ebx + 0x24]
jbe 0x47067d
mov eax, dword [ebx + 0x80]
push 0
cdq
push ecx
push edx
push eax
call fcn.004e4c40
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x3c]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push 5
push eax
mov eax, dword [ecx + 0x28]
call eax
mov ecx, dword [ebx + 0x18]
add esp, 0xc
mov dword [ebx + 0x24], ecx
test edi, edi
je 0x470797
mov esi, dword [edi + 0x14]
mov dword [ebp - 8], esi
cmp esi, dword [ebx + 0x18]
ja 0x47078a
test byte [edi + 0x18], 0x20
jne 0x47078a
mov eax, dword [ebx + 0x80]
cdq
push edx
push eax
lea ecx, [esi - 1]
push 0
push ecx
call fcn.004e4c40
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
cmp esi, 1
jne 0x47071d
mov esi, dword [edi + 0x10]
movzx ecx, byte [esi + 0x64]
movzx edx, byte [esi + 0x65]
movzx eax, byte [esi + 0x66]
shl ecx, 8
or ecx, edx
movzx edx, byte [esi + 0x67]
mov esi, dword [edi + 4]
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, edx
inc ecx
mov byte [esi + 0x1b], cl
mov eax, ecx
mov edx, ecx
shr eax, 0x18
mov byte [esi + 0x18], al
shr edx, 0x10
mov byte [esi + 0x19], dl
mov ebx, ecx
shr ebx, 8
mov byte [esi + 0x1a], bl
mov esi, dword [edi + 4]
mov byte [esi + 0x5e], bl
mov ebx, dword [ebp + 8]
mov byte [esi + 0x5c], al
mov byte [esi + 0x5d], dl
mov byte [esi + 0x5f], cl
mov ecx, dword [edi + 4]
mov esi, dword [ebp - 8]
mov dword [ecx + 0x60], 0x25e22d00
push dword [ebp - 0xc]
mov eax, dword [edi + 4]
push dword [ebp - 0x10]
mov ecx, dword [ebx + 0x80]
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x3c]
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
push ecx
mov ecx, dword [ebp - 8]
push ecx
push eax
call edx
add esp, 0x14
mov dword [ebp - 4], eax
cmp esi, 1
jne 0x470765
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x18]
mov dword [ebx + 0x64], ecx
mov edx, dword [eax + 0x1c]
mov dword [ebx + 0x68], edx
mov ecx, dword [eax + 0x20]
mov dword [ebx + 0x6c], ecx
mov edx, dword [eax + 0x24]
mov dword [ebx + 0x70], edx
cmp esi, dword [ebx + 0x20]
jbe 0x47076d
mov dword [ebx + 0x20], esi
inc dword [ebx + 0xa8]
mov eax, dword [edi + 4]
mov ecx, dword [ebp + 8]
push eax
mov eax, dword [ecx + 0x58]
mov ebx, esi
call fcn.0047fe30
mov ebx, dword [ebp + 8]
add esp, 4
cmp dword [ebp - 4], 0
mov edi, dword [edi + 0xc]
je 0x47067d
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret