joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e4a0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5aedd7
mov eax, dword fs:[0]
push eax
mov eax, 0x1820
call fcn.0053f090
mov eax, dword [0x677e70]
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 esi, ecx
test esi, esi
jne 0x42e4df
xor al, al
jmp 0x42e57a
push esi
lea eax, [ebp - 0x1020]
push str._d___s_
push eax
call fcn.0040cfa0
add esp, 8
mov dword [ebp - 4], 0
push dword [eax]
push 0
call fcn.0043b710
mov ecx, eax
call fcn.0043bad0
mov eax, dword [ebp - 0x1020]
lea ecx, [ebp - 0x1018]
cmp eax, ecx
je 0x42e524
push eax
call fcn.0053eac5
add esp, 4
mov ecx, 4
mov dword [ebp - 0x182c], 4
call fcn.0040ce70
push esi
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x42e56c
push 4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x42e596
push ecx
push 0x653838
push 0
call fcn.0043b710
mov ecx, eax
call fcn.0043bad0
mov bl, 1
mov ecx, 0xfffffffc
call fcn.0040ce70
mov al, bl
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.0053e4b1
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x810]
mov dword [ebp - 0x814], 0x400
mov dword [ebp - 0x818], ecx
push eax
lea ecx, [ebp - 0x818]
mov byte [ebp - 4], 2
call fcn.0040c4d0
sub esp, 0x808
mov byte [ebp - 4], 3
mov edi, esp
lea eax, [ebp - 0x1828]
mov ecx, 0x202
lea esi, [ebp - 0x818]
rep movsd dword es:[edi], dword [esi]
push 0x653858
push eax
call fcn.0040cfa0
add esp, 0x80c
mov byte [ebp - 4], 4
push dword [eax]
push 2
call fcn.0043b710
mov ecx, eax
call fcn.0043bad0
mov eax, dword [ebp - 0x1828]
lea ecx, [ebp - 0x1820]
cmp eax, ecx
je 0x42e61f
push eax
call fcn.0053eac5
add esp, 4
mov eax, dword [ebp - 0x818]
lea ecx, [ebp - 0x810]
cmp eax, ecx
je 0x42e638
push eax
call fcn.0053eac5
add esp, 4
xor bl, bl
jmp 0x42e56e
Function at 0x42e880
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5aee7c
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x677e70]
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 esi, ecx
test esi, esi
jne 0x42e8b9
call fcn.0042d760
push esi
lea ecx, [ebp - 0x268]
call fcn.00404ca0
mov dword [ebp - 4], 0
call fcn.00404520
mov ecx, eax
test ecx, ecx
jne 0x42e8e1
push 0x80004005
call fcn.00404b10
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x264], eax
push str..old
push esi
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 1
push str._s_s
push eax
call fcn.00405150
mov esi, dword [ebp - 0x264]
lea eax, [ebp - 0x260]
add esp, 0x10
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
or edi, 0xffffffff
cmp ebx, edi
je 0x42e9c6
nop
push 0x6529ec
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x270]
push eax
call fcn.00413ba0
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 2
push ecx
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.00413ba0
add esp, 0x18
mov byte [ebp - 4], 3
mov ecx, dword [eax]
call fcn.0042e4a0
mov byte [ebp - 4], 2
mov eax, edi
mov edx, dword [ebp - 0x26c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42e98f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, edi
mov edx, dword [ebp - 0x270]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42e9b0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x260]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42e930
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42e9e8
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x268]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x42ea0a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.0053e4b1
mov esp, ebp
pop ebp
ret
Function at 0x42ee30
Capabilities:
Check os version
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x170
mov eax, dword [0x677e70]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov ebx, ecx
lea eax, [ebp - 0x15c]
mov edi, edx
push 0x114
push 0
mov byte [ebx], 0
push eax
mov byte [edi], 0
call fcn.0057ee10
add esp, 0xc
mov dword [ebp - 0x15c], 0x114
lea eax, [ebp - 0x15c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x158], 6
jae 0x42eead
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
setne al
mov byte [ebx], al
test al, al
je 0x42f00f
mov byte [edi], 1
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053e4b1
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x168]
mov dword [ebp - 0x168], 0
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x42f00f
push esi
mov esi, dword [ebp - 0x168]
lea eax, [ebp - 0x160]
push eax
push 4
lea eax, [ebp - 0x16c]
mov dword [ebp - 0x16c], 1
push eax
push 0x12
push esi
mov dword [ebp - 0x160], 4
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x42f007
mov eax, dword [ebp - 0x16c]
cmp eax, 1
jne 0x42efee
lea eax, [ebp - 0x160]
mov dword [ebp - 0x164], 0
push eax
push 4
lea eax, [ebp - 0x164]
mov dword [ebp - 0x160], 4
push eax
push 0x14
push dword [ebp - 0x168]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
cmp dword [ebp - 0x164], 0
setne al
mov byte [edi], al
mov eax, dword [ebp - 0x16c]
cmp eax, 3
jne 0x42effa
lea eax, [ebp - 0x160]
mov dword [ebp - 0x164], 0
push eax
push 4
lea eax, [ebp - 0x164]
push eax
push 0x13
push dword [ebp - 0x168]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
push 0x44
lea eax, [ebp - 0x48]
push 0
push eax
call fcn.0057ee10
add esp, 0xc
mov dword [ebp - 0x160], 0x44
lea eax, [ebp - 0x160]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0x1a
call dword [sym.imp.ADVAPI32.dll_CreateWellKnownSid]
lea eax, [ebp - 0x170]
mov dword [ebp - 0x170], 0
push eax
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x164]
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
cmp dword [ebp - 0x170], 0
jmp 0x42f002
cmp eax, 2
jne 0x42ef64
mov byte [edi], 1
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
setne al
mov byte [ebx], al
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0053e4b1
mov esp, ebp
pop ebp
ret
Function at 0x42f060
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x2a0
mov eax, dword [0x677e70]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
lea eax, [ebp - 0x258]
push 0
push eax
call fcn.0057ee10
add esp, 0xc
lea eax, [ebp - 0x258]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
movups xmm0, xmmword [str.__ui_elevated__live_install]
push 0x38
lea eax, [ebp - 0x290]
mov dword [ebp - 0x294], 0x3c
movups xmmword [ebp - 0x50], xmm0
push 0
movups xmm0, xmmword [0x6538e0]
push eax
movups xmmword [ebp - 0x40], xmm0
movups xmm0, xmmword [0x6538f0]
movups xmmword [ebp - 0x30], xmm0
movq xmm0, qword [0x653900]
movq qword [ebp - 0x20], xmm0
call fcn.0057ee10
lea eax, [ebp - 0x258]
mov dword [ebp - 0x288], str.runas
mov dword [ebp - 0x284], eax
add esp, 0xc
lea eax, [ebp - 0x50]
mov dword [ebp - 0x278], 1
mov dword [ebp - 0x280], eax
lea eax, [ebp - 0x294]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 4]
neg eax
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.0053e4b1
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret

Function at 0x42f3c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x20019
push 0
push str.SoftwareTeraBox
push SysReAllocString
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0x100
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42f41d
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push str.Language
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
test eax, eax
jne 0x42f488
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SoftwareTeraBox
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42f469
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push str.Language
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
test eax, eax
jne 0x42f488
push 0x6539e4
push 0x40
call fcn.0042fd10
add esp, 8
mov eax, 0x409
mov esp, ebp
pop ebp
ret
cmp eax, 0x816
mov ecx, 0x416
cmove eax, ecx
mov esp, ebp
pop ebp
ret
Function at 0x4318f0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0xffffffff
push eax
push 0x20
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x43192d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0xc]
mov edx, esi
push edi
push ecx
mov ecx, str.SeDebugPrivilege
call fcn.00431860
add esp, 8
test al, al
je 0x43198f
mov edx, dword [esp + 0xc]
push edi
push ecx
mov ecx, str.SeIncreaseQuotaPrivilege
call fcn.00431860
add esp, 8
test al, al
je 0x43198f
mov edx, dword [esp + 0xc]
push edi
push ecx
mov ecx, str.SeAssignPrimaryTokenPrivilege
call fcn.00431860
add esp, 8
test al, al
je 0x43198f
mov edx, dword [esp + 0xc]
push edi
push ecx
mov ecx, str.SeImpersonatePrivilege
call fcn.00431860
add esp, 8
test al, al
je 0x43198f
mov bl, 1
jmp 0x431991
xor bl, bl
cmp esi, 0xffffffff
je 0x43199d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4319b0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5af136
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x677e70]
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 esi, edx
mov dword [ebp - 0x244], ecx
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
jne 0x431a1d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
xor eax, eax
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.0053e4b1
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x248], edi
lea eax, [ebp - 0x23c]
mov dword [ebp - 4], 0
push eax
push edi
mov dword [ebp - 0x23c], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x431a5b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
xor esi, esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x431a01
or ebx, 0xffffffff
nop
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x240]
call fcn.00404ca0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x240]
mov esi, dword [eax - 0xc]
test esi, esi
js 0x431b92
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, esi
or ecx, edx
jge 0x431aaa
push esi
lea ecx, [ebp - 0x240]
call fcn.00404960
mov eax, dword [ebp - 0x240]
lea ecx, [esi + 1]
push ecx
push eax
call fcn.00590096
mov eax, dword [ebp - 0x240]
add esp, 8
cmp esi, dword [eax - 8]
jg 0x431b92
mov dword [eax - 0xc], esi
xor ecx, ecx
mov eax, dword [ebp - 0x240]
mov word [eax + esi*2], cx
lea eax, [ebp - 0x240]
push eax
mov ecx, eax
call fcn.00405520
mov eax, dword [ebp - 0x244]
mov ecx, dword [eax]
test ecx, ecx
je 0x431b4b
mov eax, dword [ebp - 0x240]
cmp dword [eax - 0xc], 0
jl 0x431b51
push ecx
push eax
call fcn.0057dfee
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x431b4b
mov eax, dword [ebp - 0x240]
sub ecx, eax
sar ecx, 1
cmp ecx, 0xffffffff
je 0x431b51
mov esi, dword [ebp - 0x234]
lea edx, [eax - 0x10]
mov byte [ebp - 4], 0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x431a50
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x431a01
mov eax, dword [ebp - 0x240]
lea edx, [eax - 0x10]
mov byte [ebp - 4], 0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x431b6c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x23c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x431a60
push edi
xor esi, esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x431a01
push 0x80070057
call fcn.00404b10
int3
Function at 0x4321e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x695d54], 0
je 0x4321f3
xor eax, eax
mov esp, ebp
pop ebp
ret
push edi
push dword [0x695d58]
mov edi, dword [sym.imp.KERNEL32.dll_ResetEvent]
call edi
push dword [0x695d64]
call edi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0
push 0x695d50
push 0x432280
push 0
push 0
call fcn.0059050c
add esp, 0x18
test eax, eax
je 0x432266
cmp byte [0x695d61], 0
mov dword [0x695d54], eax
je 0x432248
push 0xfffffffffffffff1
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push esi
push 0xffffffffffffffff
push dword [0x695d5c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [0x695d5c]
mov esi, eax
call edi
test esi, esi
pop esi
je 0x43226d
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov byte [0x695d60], 0
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x434510
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5af4b8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x677e70]
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 ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x4346ac
cmp byte [ebx + 0x3d], 0
je 0x4346ac
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x434569
xor al, al
jmp 0x4346ae
push 0
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.004362f0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x4345d6
sub eax, 1
je 0x4345da
mov ecx, dword [ebp - 0x14]
sub eax, 2
je 0x434694
xor bl, bl
jmp 0x434696
mov byte [ebx + 0x3d], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x43460f
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.00586ed5
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp esi, eax
jne 0x4345cf
cmp byte [ebx + 0x3d], 0
je 0x434694
test esi, esi
jne 0x434591
mov edx, dword [ebp - 0x18]
or eax, 0xffffffff
sub eax, edx
cmp eax, 8
jbe 0x43468a
lea esi, [edx + 8]
cmp esi, 0xfffffffe
ja 0x43468a
cmp ecx, esi
jae 0x434671
push edx
push esi
lea ecx, [ebp - 0x28]
call fcn.004364b0
mov ecx, dword [ebp - 0x14]
test esi, esi
je 0x434591
push 0
push 8
push dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
call fcn.00436640
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], esi
cmovae eax, dword [ebp - 0x28]
mov byte [eax + esi], 0
jmp 0x43458e
test esi, esi
jne 0x43464b
cmp ecx, 0x10
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov byte [eax], 0
jmp 0x43458e
push str.string_too_long
call fcn.0053d3b6
mov bl, 1
cmp ecx, 0x10
jb 0x4346a8
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.004366d0
mov al, bl
jmp 0x4346ae
mov al, 1
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.0053e4b1
mov esp, ebp
pop ebp
ret
Function at 0x434a80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5aae06
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x677e70]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0053ea92
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.0053d76b
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x437a80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5aa9f0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x677e70]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [edi + 0x30]
call fcn.00425e30
mov edx, dword [edi + 0x24]
or esi, 0xffffffff
sub edx, 0x10
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x437acb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [edi + 0x14]
mov eax, esi
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x437ae5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [edi + 0x10]
mov eax, esi
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x437aff
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [edi + 0xc]
mov eax, esi
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x437b19
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [edi + 8]
mov eax, esi
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x437b33
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [edi + 4]
sub edx, 0x10
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x437b4b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x437cf0
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 4], 0
mov dword [esi], vtable.CThreadQuitWaitNotify.0
mov byte [esi + 0x10], 1
je 0x437d2f
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x437d2f
push 1
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 4], 0
jmp 0x437d38
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [esi + 0x28]
test eax, eax
je 0x437d4d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x28], 0
mov eax, dword [esi + 0x24]
test eax, eax
je 0x437d62
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x24], 0
mov ecx, esi
pop esi
jmp fcn.00432170
Function at 0x437df0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5af9c6
mov eax, dword fs:[0]
push eax
mov eax, 0x1020
call fcn.0053f090
mov eax, dword [0x677e70]
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, ecx
mov eax, dword [edi + 0x24]
push ecx
mov dword [ebp - 0x1028], eax
mov eax, dword [edi + 0x28]
push 0x6543c8
push 0
mov dword [ebp - 0x1024], eax
call fcn.0043b710
mov ecx, eax
call fcn.0043bad0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x1028]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
je 0x437f1a
mov ebx, dword [sym.imp.KERNEL32.dll_ResetEvent]
nop dword [eax + eax]
cmp eax, 1
jne 0x437f5b
push ecx
push str.6e0R
push 0
call fcn.0043b710
mov ecx, eax
call fcn.0043bad0
mov eax, dword [edi + 0x30]
mov byte [eax + 0x1c], 1
push dword [edi + 0x28]
call ebx
mov esi, dword [0x695a60]
test esi, esi
jne 0x437ecf
push 0x360
call fcn.0053ea92
add esp, 4
mov dword [ebp - 0x102c], eax
mov ecx, eax
mov dword [ebp - 4], esi
call fcn.004090a0
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x695a60], esi
push 5
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [esi + 0x1c]
call fcn.00544f3b
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push ecx
push 0x6543c8
push 0
call fcn.0043b710
mov ecx, eax
call fcn.0043bad0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x1028]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
jne 0x437e70
push ecx
push 0x6543e8
push 0
call fcn.0043b710
mov ecx, eax
call fcn.0043bad0
push 0
push 0
push 0x12
push dword [edi + 0x2c]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
xor eax, eax
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.0053e4b1
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [ebp - 0x814], 0x400
lea eax, [ebp - 0x810]
mov dword [ebp - 0x818], eax
push ebx
lea ecx, [ebp - 0x818]
mov dword [ebp - 4], 1
call fcn.0040c4d0
sub esp, 0x808
mov dword [ebp - 4], 2
mov edi, esp
lea eax, [ebp - 0x1020]
mov ecx, 0x202
lea esi, [ebp - 0x818]
rep movsd dword es:[edi], dword [esi]
push ebx
push 0x654418
push eax
call fcn.0040cfa0
add esp, 0x810
mov byte [ebp - 4], 3
push dword [eax]
push 2
call fcn.0043b710
mov ecx, eax
call fcn.0043bad0
mov eax, dword [ebp - 0x1020]
lea ecx, [ebp - 0x1018]
cmp eax, ecx
je 0x437fed
push eax
call fcn.0053eac5
add esp, 4
mov eax, dword [ebp - 0x818]
lea ecx, [ebp - 0x810]
cmp eax, ecx
je 0x438006
push eax
call fcn.0053eac5
add esp, 4
mov eax, 0x80004005
jmp 0x437f3f