joyce8/EMBER2024-capa huggingface dataset:
Function at 0x467e40
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5b5140
push 0x520470
mov eax, dword fs:[0]
push eax
sub esp, 0x848
mov eax, dword [0x5c524c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x20]
mov dword [ebp - 4], 0
test esi, esi
je 0x467fa0
cmp word [esi], 0
je 0x467fa0
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x467ea0
sub ecx, edx
sar ecx, 1
cmp ecx, 0x104
ja 0x467fa0
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x467fa0
push 0x800
push 0
lea eax, [ebp - 0x81c]
push eax
call fcn.0051e890
push esi
push 0x57e630
push 0x3ff
lea eax, [ebp - 0x81c]
push eax
call fcn.00468970
push 0x3c
push 0
lea eax, [ebp - 0x858]
push eax
call fcn.0051e890
add esp, 0x28
mov dword [ebp - 0x858], 0x3c
lea eax, [ebp - 0x81c]
mov dword [ebp - 0x848], eax
mov dword [ebp - 0x84c], 0x579d0c
mov dword [ebp - 0x844], ebx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x83c], eax
mov dword [ebp - 0x854], 0x440
lea eax, [ebp - 0x858]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, eax
test esi, esi
je 0x467f67
cmp dword [ebp + 0x1c], 0
je 0x467f67
push 0xffffffffffffffff
push dword [ebp - 0x820]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test edi, edi
je 0x467f7c
test esi, esi
je 0x467f8c
push edi
push dword [ebp - 0x820]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test esi, esi
je 0x467f8c
push dword [ebp - 0x820]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x467fa9
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0047467d
mov esp, ebp
pop ebp
ret
Function at 0x467fd0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56c29b
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x5c524c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push 0x3c
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x88]
push 0
push eax
call fcn.0051e890
add esp, 0xc
mov dword [ebp - 0x88], 0x3c
lea eax, [ebp - 0x88]
mov dword [ebp - 0x84], 0x40
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x74], edi
push eax
mov dword [ebp - 0x6c], 5
mov dword [ebp - 0x7c], str.runas
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ebx, eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], ebx
test eax, eax
je 0x468063
mov ecx, dword [ebp - 0x50]
mov dword [eax], ecx
test ebx, ebx
jne 0x468148
call fcn.00482a90
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x468146
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x41]
mov dword [ebp - 0x48], eax
call fcn.00462230
push 0x60
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxutilsutils.cc
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov ebx, eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.0041cb30
push 3
push 0x579c8c
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0041cb30
mov byte [ebp - 4], 1
call fcn.00482a90
mov edi, eax
lea ecx, [ebp - 0x120]
push 0x5a9
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00406db0
mov esi, eax
push ebx
push esi
mov byte [ebp - 4], 2
call fcn.00408110
add esp, 8
mov ecx, esi
push dword [ebp - 0x48]
call fcn.00407f60
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x120]
call fcn.0040ac30
lea ecx, [ebp - 0x28]
call fcn.00407770
lea ecx, [ebp - 0x40]
call fcn.00407770
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047467d
mov esp, ebp
pop ebp
ret

Function at 0x468170
Capabilities:
Check if file exists
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46819b
push 0x80
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop esi
pop ebp
ret
mov eax, 1
pop esi
pop ebp
ret
Function at 0x4685c0
Capabilities:
Check if file exists
Delete file
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x468608
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x468608
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x4685f8
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x468608
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
xor eax, eax
pop esi
pop ebp
ret
mov eax, 1
pop esi
pop ebp
ret
Function at 0x468be0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56c358
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5c524c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor bl, bl
cmp dword [eax + 0x14], 8
jb 0x468c17
mov eax, dword [eax]
test eax, eax
jne 0x468c38
push eax
push 0x5799a4
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.0041cb30
jmp 0x468c4a
push 0xfde9
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00488ed0
add esp, 0xc
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
mov esi, dword [ebp - 0x28]
cmp edx, 0x10
mov eax, dword [ebp - 0x18]
cmovae ecx, esi
mov dword [ebp - 4], 0
cmp byte [eax + ecx], 0x5c
je 0x468c7e
push 1
push 0x579b7c
lea ecx, [ebp - 0x28]
call fcn.0041c820
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x28]
cmp edx, 0x10
lea eax, [ebp - 0x28]
cmovae eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
je 0x468c9e
mov bl, 1
lea ecx, [ebp - 0x28]
call fcn.00407770
jmp 0x468cfc
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x468c94
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.dbghelp.dll_MakeSureDirectoryPathExists]
mov edx, dword [ebp - 0x14]
cmp eax, 1
sete bl
cmp edx, 0x10
jb 0x468cfc
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x468cf2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x468d19
push edx
push ecx
call fcn.004747df
add esp, 8
mov al, bl
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.0047467d
mov esp, ebp
pop ebp
ret
call fcn.00522e79
int3
Function at 0x46a280
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x46a28e
mov eax, dword [eax]
push edi
push 0x57e478
push eax
call fcn.00530e93
mov edi, eax
add esp, 8
test edi, edi
jne 0x46a2af
call fcn.00522f42
pop edi
mov eax, dword [eax]
neg eax
pop ebp
ret
mov eax, dword [ebp + 0xc]
push ebx
push esi
cmp dword [eax + 0x14], 0x10
lea ebx, [eax + 0x10]
jb 0x46a2bf
mov eax, dword [eax]
push edi
push dword [ebx]
push 1
push eax
call fcn.00531dc9
push edi
mov esi, eax
call fcn.005310bd
add esp, 0x14
xor eax, eax
cmp esi, dword [ebx]
cmovne esi, eax
mov eax, esi
pop esi
pop ebx
pop edi
pop ebp
ret

Function at 0x46a2f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
mov edx, 0x5798f8
test eax, eax
cmovne edx, eax
cmp dword [ebp + 8], 0
je 0x46a34d
cmp dword [ebp + 0xc], 0
je 0x46a34d
cmp dword [ebp + 0x10], 0
je 0x46a34d
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp + 0x14], eax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46a320
sub ecx, dword [ebp + 0x14]
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push edx
push 1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
neg eax
sbb eax, eax
inc eax
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x46a410
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x5c524c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x46a4b1
cmp byte [esi + 0x3d], 0
je 0x46a4b1
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x46a467
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x46a479
sub eax, 1
je 0x46a47d
sub eax, 2
je 0x46a4b1
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047467d
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x46a49a
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00531dc9
add esp, 0x10
cmp edi, eax
jne 0x46a467
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047467d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.0047467d
mov esp, ebp
pop ebp
ret
Function at 0x46a9c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56c5f8
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x5c524c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor eax, eax
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x54], 0x350034
mov dword [ebp - 0x50], 0x370034
mov dword [ebp - 0x4c], 0x460036
mov dword [ebp - 0x48], 0x300038
mov dword [ebp - 0x44], 0x330038
mov dword [ebp - 0x40], 0x370044
mov dword [ebp - 0x3c], 0x420034
mov dword [ebp - 0x38], 0x320041
mov dword [ebp - 0x34], 0x410038
mov dword [ebp - 0x30], 0x440032
mov dword [ebp - 0x2c], 0x380044
mov dword [ebp - 0x28], 0x440045
mov dword [ebp - 0x24], 0x390033
mov dword [ebp - 0x20], 0x370039
mov dword [ebp - 0x1c], 0x370033
mov dword [ebp - 0x18], 0x370042
mov word [ebp - 0x14], ax
call fcn.00415b60
mov ecx, eax
test ecx, ecx
je 0x46ab40
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x54]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x58]
call fcn.0040e320
test al, al
jne 0x46aabd
lea eax, [ebp - 0x54]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x46aaa1
sub eax, edx
lea ecx, [ebp - 0x58]
sar eax, 1
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.0041aed0
push esi
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 1
call fcn.00406970
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x5c]
push eax
push edi
call fcn.00488640
mov edx, dword [ebp - 0x5c]
or esi, 0xffffffff
add esp, 0xc
mov byte [ebp - 4], 1
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46ab03
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x58]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x46ab22
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047467d
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0040e300
int3
Function at 0x46b0e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x5c524c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x46b110
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047467d
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x46b14c
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x46b14c
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047467d
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x46b231
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x46b174
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x46b1a7
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.005314e6
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047467d
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x28], bl
mov edx, dword [ecx]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x1c]
test eax, eax
js 0x46b231
cmp eax, 1
jle 0x46b204
cmp eax, 3
jne 0x46b231
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.00461190
add esp, 8
or ecx, 0xffffffff
test al, al
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047467d
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x46b221
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00531dc9
add esp, 0x10
cmp edi, eax
jne 0x46b231
lea eax, [ebp - 0x28]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
jne 0x46b137
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047467d
mov esp, ebp
pop ebp
ret 4
Function at 0x46bc60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
mov edi, ecx
cmp dword [edi + 0x38], 0
je 0x46bc84
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0046bd50
pop edi
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi + 0x1c]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov eax, dword [eax]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], eax
test eax, eax
je 0x46bca5
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
jmp 0x46bca7
xor eax, eax
cdq
mov dword [ebp + 0x10], eax
mov ecx, edx
mov dword [ebp - 4], ecx
test ebx, ebx
jl 0x46bd2f
jg 0x46bcba
test esi, esi
je 0x46bd2f
test ecx, ecx
jl 0x46bcfc
jg 0x46bcc4
test eax, eax
je 0x46bcfc
cmp ebx, ecx
jg 0x46bcd6
jl 0x46bcce
cmp esi, eax
jae 0x46bcd6
mov eax, esi
mov dword [ebp + 0x10], esi
mov dword [ebp - 4], ebx
push eax
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.0051f2c0
mov ecx, dword [ebp + 0x10]
add esp, 0xc
mov eax, dword [edi + 0x2c]
add dword [ebp + 8], ecx
sub esi, ecx
sbb ebx, dword [ebp - 4]
sub dword [eax], ecx
mov eax, dword [edi + 0x1c]
add dword [eax], ecx
jmp 0x46bd02
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
test ebx, ebx
jl 0x46bd2f
jg 0x46bd0c
test esi, esi
je 0x46bd2f
cmp dword [edi + 0x4c], 0
je 0x46bd2f
mov ecx, edi
call fcn.0046a8c0
push dword [edi + 0x4c]
push esi
push 1
push dword [ebp + 8]
call fcn.005317b6
add esp, 0x10
sub esi, eax
sbb ebx, 0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
sub eax, esi
pop esi
sbb edx, ebx
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x46be20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x46be44
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0046bf00
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov eax, dword [eax]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], eax
test eax, eax
je 0x46be65
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
jmp 0x46be67
xor eax, eax
cdq
mov dword [ebp + 0x10], eax
mov ecx, edx
mov dword [ebp - 4], ecx
test edi, edi
jl 0x46bee4
jg 0x46be7a
test esi, esi
je 0x46bee4
test ecx, ecx
jl 0x46bebe
jg 0x46be84
test eax, eax
je 0x46bebe
cmp edi, ecx
jg 0x46be96
jl 0x46be8e
cmp esi, eax
jae 0x46be96
mov eax, esi
mov dword [ebp + 0x10], esi
mov dword [ebp - 4], edi
push eax
push dword [ebp + 8]
push dword [ebp - 8]
call fcn.0051f2c0
mov ecx, dword [ebp + 0x10]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x30]
add edx, ecx
sub esi, ecx
sbb edi, dword [ebp - 4]
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
jmp 0x46bec1
mov edx, dword [ebp + 8]
test edi, edi
jl 0x46bee4
jg 0x46becb
test esi, esi
je 0x46bee4
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x46bee4
push eax
push esi
push 1
push edx
call fcn.00531dc9
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x46c260
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56c708
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5c524c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 0x3c
call fcn.004747af
mov ebx, dword [ebp + 8]
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0
lea esi, [edi + 4]
mov dword [edi], vtable.std::_Func_impl_no_alloc_class_std::_Binder_struct_std::_Unforced__class__lambda_ac246ec2fed0372d855066d4545aeece______void___.0
mov dword [ebp - 0x18], esi
mov ecx, esi
push ebx
mov dword [ebp - 0x18], esi
call fcn.00439d80
lea eax, [ebx + 0x18]
mov byte [ebp - 4], 1
push eax
lea ecx, [esi + 0x18]
call fcn.00439d80
mov eax, dword [ebx + 0x30]
mov dword [esi + 0x30], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x470380
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5c524c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, 0x5d0464
mov dword [ebp - 0x24], 0x73002f
lea esi, [ebp - 0x24]
mov dword [ebp - 0x20], 0x6c0069
push edi
mov dword [ebp - 0x1c], 0x6e0065
mov edx, 0x11
mov dword [ebp - 0x18], 0x5f0074
sub esi, eax
mov dword [ebp - 0x14], 0x6e0069
mov dword [ebp - 0x10], 0x740073
mov dword [ebp - 0xc], 0x6c0061
mov dword [ebp - 8], 0x6c
nop word [eax + eax]
lea ecx, [edx + 0x7fffffed]
test ecx, ecx
je 0x4703fe
movzx ecx, word [esi + eax]
test cx, cx
je 0x4703fe
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x4703e0
lea ecx, [eax - 2]
test edx, edx
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov eax, 0x5d0464
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047467d
mov esp, ebp
pop ebp
ret

Function at 0x470430
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5c524c]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x24], 0x77002f
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x24]
mov eax, 0x5d04cc
mov dword [ebp - 0x20], 0x5f0064
push edi
mov dword [ebp - 0x1c], 0x6f0070
mov edx, 0x10
mov dword [ebp - 0x18], 0x750070
sub esi, eax
mov dword [ebp - 0x14], 0x5f0070
mov dword [ebp - 0x10], 0x680073
mov dword [ebp - 0xc], 0x77006f
nop dword [eax + eax]
lea ecx, [edx + 0x7fffffee]
test ecx, ecx
je 0x4704ae
movzx ecx, word [esi + eax]
test cx, cx
je 0x4704ae
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x470490
lea ecx, [eax - 2]
test edx, edx
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
mov word [ecx], ax
mov eax, 0x5d04cc
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047467d
mov esp, ebp
pop ebp
ret

Function at 0x4704d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5c524c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov eax, 0x5d0560
mov dword [ebp - 0x1c], 0x73002f
lea esi, [ebp - 0x1c]
mov dword [ebp - 0x18], 0x610074
mov dword [ebp - 0x14], 0x740072
mov edx, 0xd
mov dword [ebp - 0x10], 0x66005f
sub esi, eax
mov dword [ebp - 0xc], 0x6f0072
mov dword [ebp - 8], 0x6d
nop word [eax + eax]
lea ecx, [edx + 0x7ffffff1]
test ecx, ecx
je 0x47053e
movzx ecx, word [esi + eax]
test cx, cx
je 0x47053e
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x470520
lea ecx, [eax - 2]
test edx, edx
pop esi
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
mov eax, 0x5d0560
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047467d
mov esp, ebp
pop ebp
ret
Function at 0x4705e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x5c524c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov eax, 0x5d0428
mov dword [ebp - 0x28], 0x2d002d
lea esi, [ebp - 0x28]
mov dword [ebp - 0x24], 0x750070
mov dword [ebp - 0x20], 0x680073
mov edx, 0x13
mov dword [ebp - 0x1c], 0x6a002d
sub esi, eax
mov dword [ebp - 0x18], 0x77006b
mov dword [ebp - 0x14], 0x73002d
mov dword [ebp - 0x10], 0x6c0069
mov dword [ebp - 0xc], 0x6e0065
mov dword [ebp - 8], 0x74
nop
lea ecx, [edx + 0x7fffffeb]
test ecx, ecx
je 0x47065e
movzx ecx, word [esi + eax]
test cx, cx
je 0x47065e
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x470640
lea ecx, [eax - 2]
test edx, edx
pop esi
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
mov eax, 0x5d0428
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047467d
mov esp, ebp
pop ebp
ret

Function at 0x470680
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x5c524c]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x38], 0x650057
push ebx
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x38]
mov eax, 0x5d061c
mov dword [ebp - 0x34], 0x440069
push edi
mov dword [ebp - 0x30], 0x610075
mov edx, 0x1a
mov dword [ebp - 0x2c], 0x44006e
sub esi, eax
mov dword [ebp - 0x28], 0x610069
mov dword [ebp - 0x24], 0x6f006c
mov dword [ebp - 0x20], 0x530067
mov dword [ebp - 0x1c], 0x620075
mov dword [ebp - 0x18], 0x6e0057
mov dword [ebp - 0x14], 0x450064
mov dword [ebp - 0x10], 0x690078
mov dword [ebp - 0xc], 0x740073
nop dword [eax]
lea ecx, [edx + 0x7fffffe4]
test ecx, ecx
je 0x47071e
movzx ecx, word [esi + eax]
test cx, cx
je 0x47071e
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x470700
lea ecx, [eax - 2]
test edx, edx
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov eax, 0x5d061c
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047467d
mov esp, ebp
pop ebp
ret

Function at 0x4707d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5c524c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov eax, 0x5d0588
mov dword [ebp - 0x1c], 0x4f0053
lea esi, [ebp - 0x1c]
mov dword [ebp - 0x18], 0x540046
mov dword [ebp - 0x14], 0x410057
mov edx, 0xd
mov dword [ebp - 0x10], 0x450052
sub esi, eax
mov dword [ebp - 0xc], 0x25005c
mov dword [ebp - 8], 0x73
nop word [eax + eax]
lea ecx, [edx + 0x7ffffff1]
test ecx, ecx
je 0x47083e
movzx ecx, word [esi + eax]
test cx, cx
je 0x47083e
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x470820
lea ecx, [eax - 2]
test edx, edx
pop esi
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
mov eax, 0x5d0588
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047467d
mov esp, ebp
pop ebp
ret