joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44f780
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
mov eax, dword [ebx]
push ebp
mov ebp, dword [esp + 0x14]
push esi
xor esi, esi
cmp eax, 0xffffffff
mov dword [esp + 8], esi
je 0x44f824
push esi
lea ecx, [esp + 0x10]
push ecx
push 4
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x20], esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44f824
mov ecx, dword [esp + 0xc]
cmp ecx, esi
seta al
test al, al
je 0x44f824
cmp ecx, 4
jne 0x44f824
push edi
mov edi, dword [esp + 0xc]
cmp edi, 0xa00000
ja 0x44f81b
cmp edi, esi
je 0x44f812
mov esi, ebp
call fcn.0042dd60
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0xc]
lea esi, [esp + 0x10]
mov ecx, ebx
call fcn.00431600
test al, al
je 0x44f81b
mov eax, dword [esp + 0xc]
cmp dword [esp + 0x10], eax
jne 0x44f81b
mov ecx, dword [ebp + 4]
cmp eax, ecx
ja 0x44f809
mov ecx, eax
mov dword [ebp + 0xc], ecx
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
pop edi
pop esi
mov al, 1
pop ebp
add esp, 8
ret
pop edi
pop esi
xor al, al
pop ebp
add esp, 8
ret
pop esi
xor al, al
pop ebp
add esp, 8
ret

Function at 0x44f930
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5e0688
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x64c874]
xor eax, esp
mov dword [esp + 0x34], eax
push ebx
push esi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor esi, esi
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], esi
mov word [esp + 0x30], si
call fcn.00402580
lea ebx, [esp + 0x24]
mov dword [esp + 0x50], esi
call fcn.0042b780
mov eax, dword [edi + 0x10]
lea esi, [edi + 0xc]
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x14], eax
push esi
mov eax, ebx
call fcn.00456c50
mov ebx, eax
mov eax, dword [ebx]
test eax, eax
je 0x44f9b8
cmp eax, esi
je 0x44f9bd
call fcn.005b8b18
mov edx, dword [esp + 0x10]
cmp dword [ebx + 4], edx
jne 0x44f9f2
mov ebx, dword [edi + 4]
lea eax, [esp + 0x1c]
push eax
push edi
lea eax, [esp + 0x2c]
call fcn.00456c50
mov esi, eax
mov eax, dword [esi]
test eax, eax
je 0x44f9e4
cmp eax, edi
je 0x44f9e9
call fcn.005b8b18
cmp dword [esi + 4], ebx
jne 0x44f9f2
xor bl, bl
jmp 0x44f9f4
mov bl, 1
cmp dword [esp + 0x3c], 8
jb 0x44fa08
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0059b877
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.005b88a9
mov esp, ebp
pop ebp
ret 4
Function at 0x44fa30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5e0658
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x64c874]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0xc], ebx
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], bx
call fcn.00402580
mov dword [esp + 0x48], ebx
lea ebx, [esp + 0x1c]
call fcn.0042b780
lea eax, [esp + 0xc]
push eax
lea ebx, [edi + 0xc]
push ebx
lea eax, [esp + 0x24]
call fcn.00456c50
mov eax, dword [esp + 0xc]
test eax, eax
mov ecx, dword [ebx + 4]
mov dword [esp + 0x18], ecx
je 0x44fabd
cmp eax, ebx
je 0x44fac6
call fcn.005b8b18
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
cmp ebx, dword [esp + 0x18]
je 0x44fb19
test eax, eax
jne 0x44fadd
call fcn.005b8b18
mov eax, dword [esp + 0xc]
cmp ebx, dword [eax + 4]
jne 0x44fae7
call fcn.005b8b18
xor ecx, ecx
mov dword [esi + 0x14], ecx
push 0xffffffffffffffff
mov dword [esi + 0x18], 7
mov word [esi + 4], cx
push ecx
lea eax, [ebx + 0x28]
mov ecx, esi
call fcn.00402580
cmp dword [esp + 0x34], 8
jb 0x44fbb5
mov edx, dword [esp + 0x20]
push edx
jmp 0x44fbad
lea eax, [esp + 0x14]
push eax
push edi
lea eax, [esp + 0x24]
call fcn.00456c50
mov ebx, dword [eax]
test ebx, ebx
mov ecx, dword [eax + 4]
mov edx, dword [edi + 4]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], edx
je 0x44fb40
cmp ebx, edi
je 0x44fb45
call fcn.005b8b18
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x10], eax
jne 0x44fb69
mov edx, 0x6190bc
mov eax, esi
call fcn.004024d0
cmp dword [esp + 0x34], 8
jb 0x44fbb5
mov ecx, dword [esp + 0x20]
push ecx
jmp 0x44fbad
test ebx, ebx
jne 0x44fb72
call fcn.005b8b18
mov edx, dword [esp + 0x10]
cmp edx, dword [ebx + 4]
jne 0x44fb80
call fcn.005b8b18
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov dword [esi + 0x14], ecx
push 0xffffffffffffffff
mov dword [esi + 0x18], 7
mov word [esi + 4], cx
push ecx
add eax, 0x28
mov ecx, esi
call fcn.00402580
cmp dword [esp + 0x34], 8
jb 0x44fbb5
mov eax, dword [esp + 0x20]
push eax
call fcn.0059b877
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.005b88a9
mov esp, ebp
pop ebp
ret 4
Function at 0x453e40
Capabilities:
Create process on windows
Resume thread
Suspend thread
Terminate process

Disassembly:
sub esp, 0x7c
push ebx
xor eax, eax
push esi
push 0x40
push eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x44]
push eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x44], 0x44
call fcn.005be600
mov ecx, dword [esp + 0x94]
or dword [esp + 0x70], 1
add esp, 0xc
push ecx
lea edx, [esp + 0x20]
push edx
lea ecx, [edi + 0x118]
mov word [esp + 0x70], 0
call fcn.0044fd10
mov ebx, 8
cmp dword [eax + 0x18], ebx
jb 0x453ea6
mov eax, dword [eax + 4]
jmp 0x453ea9
add eax, 4
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x3c]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp dword [esp + 0x34], ebx
mov esi, eax
jb 0x453edd
mov eax, dword [esp + 0x20]
push eax
call fcn.0059b877
add esp, 4
test esi, esi
je 0x453fa7
mov ecx, dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x64
push ecx
call esi
test eax, eax
je 0x453f6e
jmp 0x453f00
mov eax, dword [edi + 0x104]
test eax, eax
je 0x453f61
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
push 0
push edx
xor bl, bl
call esi
test eax, eax
je 0x453f27
mov eax, dword [esp + 0x10]
push eax
mov bl, 1
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov ecx, dword [edi + 0x104]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx]
push 0xffffffffffffffff
push eax
call esi
test bl, bl
je 0x453f46
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov dl, byte [edi + 0x100]
test dl, dl
jne 0x453f8f
mov ecx, dword [edi + 0x104]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
call edx
test al, al
jne 0x453f8f
mov eax, dword [esp + 0xc]
push 0x64
push eax
call esi
test eax, eax
jne 0x453f00
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0xc]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
neg eax
sbb eax, eax
neg eax
pop esi
pop ebx
add esp, 0x7c
ret 8
mov eax, dword [esp + 0xc]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
xor al, al
pop ebx
add esp, 0x7c
ret 8
Function at 0x4541c0
Capabilities:
Access peb ldr_data
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5e3cf8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x54], 0
cmp dword [eax + 0x18], 8
jb 0x4541fc
mov eax, dword [eax + 4]
jmp 0x4541ff
add eax, 4
push 0
push 0x80
push 2
push 0
push 1
push 0x120116
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0xc], esi
je 0x45439a
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [esp + 0x14]
push eax
push 4
push str.GMUT
push esi
mov dword [esp + 0x24], 0
call edi
test eax, eax
je 0x454393
cmp dword [esp + 0x10], 4
jne 0x454393
push 0
lea ecx, [esp + 0x14]
push ecx
push 1
lea edx, [esp + 0x6c]
push edx
push esi
mov byte [esp + 0x74], 2
call edi
test eax, eax
je 0x454393
cmp dword [esp + 0x10], 1
jne 0x454393
mov edi, dword [esp + 0x5c]
lea eax, [edi + 0x188]
lea ecx, [esp + 0xc]
call fcn.00458640
test al, al
jne 0x4542ad
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esp + 0xc]
call fcn.004315a0
jmp 0x45439a
lea eax, [edi + 0x178]
lea ecx, [esp + 0xc]
call fcn.00458640
test al, al
je 0x454299
lea esi, [esp + 0x14]
call fcn.0044f060
lea eax, [esp + 0x14]
lea esi, [edi + 0x198]
push eax
mov byte [esp + 0x58], 1
call fcn.004586d0
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0xc]
call fcn.00458640
test al, al
jne 0x45430c
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esp + 0x14]
call fcn.0044f0d0
lea esi, [esp + 0xc]
call fcn.004315a0
jmp 0x45439a
lea eax, [edi + 0x1a8]
lea ecx, [esp + 0xc]
call fcn.00458640
test al, al
je 0x4542ef
lea esi, [esp + 0x30]
call fcn.0044f060
mov ecx, esi
add edi, 0x1cc
push ecx
mov byte [esp + 0x58], 2
call fcn.00458750
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0xc]
call fcn.00458640
test al, al
jne 0x454359
call dword [sym.imp.KERNEL32.dll_GetLastError]
call fcn.0044f0d0
jmp 0x4542f5
lea esi, [esp + 0xc]
call fcn.00431660
lea esi, [esp + 0x30]
call fcn.0044f0d0
lea esi, [esp + 0x14]
call fcn.0044f0d0
lea esi, [esp + 0xc]
call fcn.004315a0
mov al, 1
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x4c
ret 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x4c
ret 8
Function at 0x454910
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5eb99c
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x64c874]
xor eax, esp
mov dword [esp + 0x278], eax
push ebx
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x290]
mov dword fs:[0], eax
push 0x10
mov edi, ecx
xor ebx, ebx
push 0x612450
lea esi, [esp + 0x1c]
mov dword [esp + 0x18], edi
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
call fcn.00402770
mov eax, esi
push eax
add edi, 0x15c
push edi
lea ecx, [esp + 0x70]
mov dword [esp + 0x2a0], ebx
call fcn.00429c30
add esp, 8
cmp dword [esp + 0x2c], 8
jb 0x4549aa
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0059b877
add esp, 4
mov eax, 7
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], ebx
mov word [esp + 0x50], bx
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], bx
mov byte [esp + 0x298], 4
cmp dword [str.gmexe], ebx
mov edi, 0x65046c
je 0x454aa9
cmp dword [esp + 0x80], 8
mov eax, dword [esp + 0x6c]
jae 0x4549f4
lea eax, [esp + 0x6c]
push eax
mov eax, dword [edi]
push 0x400
lea edx, [esp + 0x8c]
push edx
push 0x6190bc
push eax
push str.gmmeta
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x84]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x454a20
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x88]
push ecx
lea esi, [esp + 0x38]
call fcn.00402770
cmp dword [esp + 0x44], ebx
je 0x454a8a
mov edx, dword [edi]
mov eax, edx
lea esi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x454a50
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0x54]
call fcn.00402770
mov ecx, dword [esp + 0x10]
mov edx, esi
push edx
add ecx, 0x1cc
call fcn.00436f40
push 0xffffffffffffffff
mov ecx, eax
push ebx
lea eax, [esp + 0x38]
call fcn.00402580
add edi, 4
cmp dword [edi], ebx
jne 0x4549e2
cmp dword [esp + 0x48], 8
jb 0x454aa9
mov eax, dword [esp + 0x34]
push eax
call fcn.0059b877
add esp, 4
mov edi, 8
cmp dword [esp + 0x64], edi
mov esi, 7
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], bx
jb 0x454ad3
mov ecx, dword [esp + 0x50]
push ecx
call fcn.0059b877
add esp, 4
cmp dword [esp + 0x80], edi
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov word [esp + 0x50], bx
jb 0x454af6
mov edx, dword [esp + 0x6c]
push edx
call fcn.0059b877
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x290]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x278]
xor ecx, esp
call fcn.005b88a9
mov esp, ebp
pop ebp
ret
Function at 0x458640
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, eax
mov eax, dword [esi + 0xc]
mov ebx, ecx
mov dword [esp + 0xc], eax
mov eax, dword [ebx]
cmp eax, 0xffffffff
push edi
mov dword [esp + 0xc], 0
je 0x4586c1
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea ecx, [esp + 0x10]
push ecx
push 4
lea edx, [esp + 0x1c]
push edx
push eax
call edi
test eax, eax
je 0x4586c1
cmp dword [esp + 0xc], 4
jne 0x4586c1
mov edx, dword [esp + 0x10]
test edx, edx
jne 0x458693
pop edi
pop esi
mov al, 1
pop ebx
add esp, 8
ret
mov eax, dword [esi + 8]
test eax, eax
mov esi, edx
je 0x4586c1
mov ecx, dword [ebx]
cmp ecx, 0xffffffff
je 0x4586c1
push 0
lea ebx, [esp + 0x10]
push ebx
push edx
push eax
push ecx
call edi
test eax, eax
je 0x4586c1
mov eax, dword [esp + 0xc]
cmp esi, eax
jne 0x4586c1
cmp eax, dword [esp + 0x10]
je 0x45868a
pop edi
pop esi
xor al, al
pop ebx
add esp, 8
ret
Function at 0x45b040
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5e81c3
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x64c874]
xor eax, esp
mov dword [esp + 0x84], eax
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
xor edi, edi
mov eax, ecx
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], edi
mov word [esp + 0x1c], di
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, di
jne 0x45b097
sub eax, esi
sar eax, 1
push eax
push ecx
lea esi, [esp + 0x20]
call fcn.00402770
mov eax, esi
push eax
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0xa8], edi
call fcn.00430e90
mov byte [esp + 0xa0], 2
cmp dword [esp + 0x30], 8
jb 0x45b0e1
mov edx, dword [esp + 0x1c]
push edx
call fcn.0059b877
add esp, 4
lea esi, [esp + 0xc]
lea eax, [esp + 0x34]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], edi
mov word [esp + 0x1c], di
call fcn.00431100
test al, al
lea esi, [esp + 0x34]
jne 0x45b110
call fcn.00430f30
xor al, al
jmp 0x45b13a
mov eax, dword [esp + 0x10]
movzx edx, ax
mov ecx, eax
mov eax, dword [esp + 0xc]
shr ecx, 0x10
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov ecx, eax
movzx edx, ax
shr ecx, 0x10
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], edx
call fcn.00430f30
mov al, 1
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.005b88a9
mov esp, ebp
pop ebp
ret

Function at 0x45d930
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x5e3b3b
mov eax, dword fs:[0]
push eax
push ebp
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, dword [esp + 0x20]
lea esi, [edi + 8]
mov dword [edi], vtable.GameMgr::GMSoftwareDetect.0
xor edx, edx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edx
mov word [esi + 4], dx
mov eax, dword [esp + 0x30]
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0x24]
mov dword [edi + 0x28], eax
mov eax, dword [esp + 0x28]
mov dword [edi + 0x2c], ecx
mov ecx, dword [esp + 0x2c]
mov dword [edi + 0x30], eax
mov eax, ebx
mov dword [edi + 4], ecx
mov dword [edi + 0x24], edx
lea ebp, [eax + 2]
jmp 0x45d9a0
mov cx, word [eax]
add eax, 2
cmp cx, dx
jne 0x45d9a0
sub eax, ebp
sar eax, 1
push eax
push ebx
call fcn.00402770
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0xc
ret 0x14
Function at 0x462f60
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5e3a16
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x40]
xor ebx, ebx
push ebx
mov edi, 7
push 0x6190bc
lea esi, [esp + 0x1c]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
call fcn.00402770
mov eax, esi
mov esi, dword [esp + 0x44]
push eax
push esi
push ebp
lea ecx, [edi - 6]
mov dword [esp + 0x44], ebx
call fcn.0045e040
mov byte [esp + 0x38], 2
cmp dword [esp + 0x2c], 8
jb 0x462fdc
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0059b877
add esp, 4
mov eax, dword [esp + 0x4c]
mov dword [ebp + method.IControlSiteFactory.virtual_4], 0x613ff8
lea ecx, [ebp + 0x13c]
mov dword [ebp], 0x614024
mov dword [ebp + 0x138], 0x614040
push 0xffffffffffffffff
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push ebx
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
mov word [ecx + 4], bx
call fcn.00402580
mov dword [ebp + 0x170], edi
mov dword [ebp + 0x16c], ebx
mov word [ebp + 0x15c], bx
mov dword [ebp + 0x18c], edi
mov dword [ebp + 0x188], ebx
mov word [ebp + 0x178], bx
mov byte [esp + 0x38], 5
mov dword [ebp + 0x190], ebx
mov dword [ebp + 0x194], ebx
mov dword [ebp + 0x198], ebx
mov dword [ebp + 0x19c], ebx
push 0x18
mov byte [ebp + 0x1a0], bl
mov dword [ebp + 0x1a4], ebx
mov dword [ebp + 0x1a8], ebx
mov dword [ebp + 0x1b0], ebx
mov dword [ebp + 0x1b4], ebx
call fcn.0059b847
add esp, 4
push eax
mov dword [ebp + 0x1bc], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea edi, [ebp + 0x1c0]
mov byte [esp + 0x38], 6
call fcn.004763d0
mov eax, dword [esp + 0x48]
sub esp, 0x1c
mov byte [esp + 0x54], 7
mov ecx, esp
mov dword [esp + 0x60], esp
mov dword [ebp + 0x3860], ebx
mov dword [ebp + 0x3864], ebx
mov dword [ebp + 4], esi
push 0xffffffffffffffff
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebx
push ebx
mov word [ecx + 4], bx
call fcn.00402580
mov edi, ebp
call fcn.0045e6a0
mov eax, ebp
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0x10
Function at 0x463b70
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x5e7b88
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x64c874]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x6c]
mov esi, ecx
cmp dword [esi + 0x14], 0
mov dword [esp + 0x20], esi
jne 0x463bb6
xor al, al
jmp 0x463c20
push esi
call fcn.0042a550
add esp, 4
test al, al
je 0x463bb2
mov byte [esp + 0x17], 0
mov dword [esp + 0x64], 0
cmp dword [esi + 0x18], 8
jb 0x463bdb
mov eax, dword [esi + 4]
jmp 0x463bde
lea eax, [esi + 4]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
or esi, 0xffffffff
cmp eax, esi
mov dword [esp + 0x18], eax
jne 0x463c41
mov dword [esp + 0x64], esi
lea esi, [esp + 0x18]
call fcn.004315a0
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004390c0
add esp, 4
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.005b88a9
add esp, 0x54
ret 4
lea ecx, [esp + 0x1c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, esi
jne 0x463c5d
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x463c02
mov edx, dword [esp + 0x1c]
push 1
push 0
push 0
push edx
call fcn.005c0590
mov esi, eax
xor eax, eax
add esi, ebx
mov edi, edx
adc edi, eax
mov ecx, esi
or ecx, edi
je 0x463ce7
cmp dword [ebp + 0x88], eax
je 0x463ce7
cmp dword [ebp + 0x8c], 8
jb 0x463c93
mov eax, dword [ebp + 0x78]
jmp 0x463c96
lea eax, [ebp + 0x78]
xor ebx, ebx
call fcn.0042b0a0
cmp eax, esi
jne 0x463ce7
cmp edx, edi
jne 0x463ce7
cmp dword [ebp + 0x6c], ebx
je 0x463ce7
mov ecx, dword [esp + 0x20]
xor eax, eax
mov dword [esp + 0x45], eax
mov dword [esp + 0x49], eax
mov dword [esp + 0x4d], eax
mov word [esp + 0x51], ax
mov byte [esp + 0x53], al
lea edi, [esp + 0x44]
lea eax, [esp + 0x28]
mov byte [esp + 0x44], bl
call fcn.00439e60
mov eax, dword [esp + 0x3c]
cmp eax, ebx
jne 0x463cf4
lea esi, [esp + 0x28]
call fcn.00405c10
mov dword [esp + 0x64], 0xffffffff
jmp 0x463c06
mov ecx, dword [ebp + 0x6c]
cmp ecx, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], ecx
lea edx, [esp + 0x1c]
jb 0x463d0b
lea edx, [esp + 0x24]
mov eax, dword [esp + 0x2c]
mov esi, 8
cmp dword [esp + 0x40], esi
jae 0x463d1e
lea eax, [esp + 0x2c]
cmp dword [ebp + 0x70], esi
jb 0x463d28
mov ecx, dword [ebp + 0x5c]
jmp 0x463d2b
lea ecx, [ebp + 0x5c]
mov edx, dword [edx]
cmp edx, ebx
je 0x463d3e
push edx
call fcn.0042b2a0
add esp, 4
cmp eax, ebx
jne 0x463cde
cmp dword [esp + 0x40], esi
mov byte [esp + 0x17], 1
jb 0x463d56
mov edx, dword [esp + 0x2c]
push edx
call fcn.0059b877
add esp, 4
mov eax, dword [esp + 0x18]
push eax
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], bx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x463c1c
Function at 0x463d80
Capabilities:
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x5e7b58
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x64c874]
xor eax, esp
mov dword [esp + 0x54], eax
push ebx
push ebp
push esi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
xor eax, eax
cmp dword [edi + 0x150], eax
je 0x463f5c
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], eax
mov word [esp + 0x30], ax
mov dword [esp + 0x70], eax
cmp dword [edi + 0x16c], eax
jne 0x463e2c
cmp dword [edi + 0x154], 8
jb 0x463ded
mov ecx, dword [edi + 0x140]
jmp 0x463df3
lea ecx, [edi + 0x140]
lea ebx, [edi + 0x1c0]
call fcn.00478740
test al, al
je 0x463e3e
lea edx, [edi + 0x23d0]
mov eax, edx
lea esi, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x463e10
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0x34]
call fcn.00402770
jmp 0x463e3e
push 0xffffffffffffffff
push eax
lea eax, [edi + 0x158]
lea ecx, [esp + 0x34]
call fcn.00402580
cmp dword [esp + 0x40], 0
je 0x463e63
lea eax, [esp + 0x2c]
push eax
call fcn.0042a550
add esp, 4
test al, al
je 0x463e63
lea ecx, [esp + 0x2c]
push ecx
call fcn.004390c0
add esp, 4
lea esi, [edi + 0x13c]
push esi
call fcn.0042a550
add esp, 4
test al, al
je 0x463e7f
push esi
call fcn.004390c0
add esp, 4
push esi
lea esi, [esp + 0x4c]
call fcn.00429f00
mov edx, esi
push edx
mov byte [esp + 0x78], 1
call fcn.0042a620
mov ebp, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
add esp, 8
test al, al
je 0x463eb5
cmp dword [esp + 0x60], 8
mov eax, dword [esp + 0x4c]
jae 0x463eb2
lea eax, [esp + 0x4c]
push eax
call ebp
push edi
lea esi, [esp + 0x14]
call fcn.0045e740
push eax
mov byte [esp + 0x74], 2
call fcn.0042a620
add esp, 4
mov byte [esp + 0x70], 1
cmp dword [esp + 0x28], 8
mov bl, al
jb 0x463ee8
mov eax, dword [esp + 0x14]
push eax
call fcn.0059b877
add esp, 4
test bl, bl
je 0x463f1e
push edi
lea esi, [esp + 0x14]
call fcn.0045e740
mov esi, 8
cmp dword [eax + 0x18], esi
jb 0x463f05
mov eax, dword [eax + 4]
jmp 0x463f08
add eax, 4
push eax
call ebp
cmp dword [esp + 0x28], esi
jb 0x463f1e
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0059b877
add esp, 4
mov esi, 8
cmp dword [esp + 0x60], esi
jb 0x463f36
mov edx, dword [esp + 0x4c]
push edx
call fcn.0059b877
add esp, 4
xor eax, eax
cmp dword [esp + 0x44], esi
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], eax
mov word [esp + 0x4c], ax
jb 0x463f5c
mov eax, dword [esp + 0x30]
push eax
call fcn.0059b877
add esp, 4
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.005b88a9
add esp, 0x64
ret