joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a1edd
Capabilities:
Encode data using add xor sub operations

Disassembly:
add eax, 0xf72e2fbe
neg byte [edx - 0x3f]
lea ebx, [eax + 0x52d5aec6]
invalid
out dx, al
sbb dl, byte [edx + 2]
xchg dword [ebx + 0x50], esi
arpl word [edi - 0x54616a7b], bp
scasd eax, dword es:[edi]
test dword [ebp + 0x6c15ab9e], edx
xor ch, bl
cld
pop ss
rcl dword [ebp - 0x74], cl
invalid
cdq

Function at 0x4a1ee5
Capabilities:
Encode data using add xor sub operations

Disassembly:
add eax, 0xf72e2fbe
neg byte [edx - 0x3f]
lea ebx, [eax + 0x52d5aec6]
invalid
out dx, al
sbb dl, byte [edx + 2]
xchg dword [ebx + 0x50], esi
arpl word [edi - 0x54616a7b], bp
scasd eax, dword es:[edi]
test dword [ebp + 0x6c15ab9e], edx
xor ch, bl
cld
pop ss
rcl dword [ebp - 0x74], cl
invalid
cdq

Function at 0x4a1ef5
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
xchg esp, eax
xchg esp, eax
test byte [edx - 0x4629dcb], ah
adc edx, dword [edi + 0x2a]
inc edx
adc edx, dword [edx]
enter 0xffffffffffffe2ef, 0xffffffffffffffb2

Function at 0x4ba905
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c33a8
cmp edx, dword [eax]
je 0x4ba927
add eax, 8
inc ecx
cmp eax, 0x4c3438
jl 0x4ba918
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c33a8]
jne 0x4baa55
mov eax, dword [0x4c7d2c]
cmp eax, 1
je 0x4baa2f
test eax, eax
jne 0x4ba958
cmp dword [0x4c32d4], 1
je 0x4baa2f
cmp edx, 0xfc
je 0x4baa55
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4ba98f
lea eax, [ebp - 0x1a4]
push 0x4bfb78
push eax
call fcn.004bb2f0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bb780
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4ba9d2
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bb780
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4bfb74
push edi
call fcn.004bd650
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4bfb58
push eax
call fcn.004bb2f0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bb300
lea eax, [ebp - 0xa0]
push 0x4bfb54
push eax
call fcn.004bb300
push dword [esi + 0x4c33ac]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bb300
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4bfb2c
push eax
call fcn.004bd5c4
add esp, 0x2c
pop edi
jmp 0x4baa55
lea eax, [ebp + 8]
lea esi, [esi + 0x4c33ac]
push 0
push eax
push dword [esi]
call fcn.004bb780
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x4012c9
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
mov eax, 0x478dc8
call fcn.00478530
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
call fcn.004281c1
xor ebx, ebx
lea ecx, [esi + 0xc]
mov dword [ebp - 4], ebx
call fcn.004281c1
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 1
call fcn.004281c1
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 2
call fcn.004281c1
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 3
call fcn.004281c1
lea ecx, [esi + 0x2c]
mov byte [ebp - 4], 4
call fcn.004281c1
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 5
call fcn.004281c1
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 6
call fcn.00426a17
mov al, byte [ebp - 0xd]
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 7
mov byte [ecx], al
mov al, byte [ebp - 0xd]
mov byte [ecx + 1], al
mov byte [ecx + 8], bl
call fcn.00402d6e
or dword [esi + 0x20], 0xffffffff
lea edi, [esi + 0x74]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x47f8b4
mov dword [esi + 0x14], 0x1f40
mov byte [esi + 0x18], 1
mov word [esi + 8], bx
mov dword [esi + 0x1c], ebx
mov word [esi + 0x30], bx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x60], ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4018e5
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push ebx
push esi
mov esi, ecx
push edi
mov edi, str.S:Ammyy_sourcesmainproxyHttpClient.cpp
cmp dword [esi + 0x20], 0xffffffff
jne 0x401913
push 0x117
push edi
lea ecx, [ebp - 0x10]
call fcn.0042328b
mov ecx, eax
call fcn.00423397
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x40191f
cmp dword [ebp + 0xc], ebx
jg 0x401934
push 0x118
push edi
lea ecx, [ebp - 0x10]
call fcn.0042328b
mov ecx, eax
call fcn.00423397
mov eax, dword [esi + 0x14]
xor edx, edx
mov ecx, 0x3e8
mov dword [ebp - 0x114], 1
div ecx
lea ecx, [ebp - 8]
push ecx
push ebx
lea ecx, [ebp - 0x114]
push ebx
push ecx
mov dword [ebp - 8], eax
lea eax, [edx + edx*4]
add eax, eax
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x110], eax
inc eax
push eax
call dword [sym.imp.WS2_32.dll_select]
mov edi, eax
cmp edi, ebx
jle 0x401993
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.WS2_32.dll_recv]
mov edi, eax
cmp edi, ebx
jl 0x4019b5
xor eax, eax
jmp 0x4019bb
jne 0x40198b
push dword [esi + 0x14]
push str.CHttpClient::ReadSocket__:_no_data_received_during__u_ms.
push 0x4a7870
call fcn.0042635b
add esp, 0xc
mov dword [esi + 0x1c], 0x274c
xor eax, eax
jmp 0x4019c0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi + 0x1c], eax
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x403470
Capabilities:
Get client handle via schannel
Get inbound credentials handle via credssp
Get outbound credentials handle via credssp

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
lea eax, [ebp - 4]
push edi
xor ebx, ebx
push eax
push str.NTLM
mov esi, ecx
mov dword [ebp - 4], ebx
call sub.Secur32.dll_QuerySecurityPackageInfoA
cmp eax, ebx
je 0x40349d
push eax
push str.ERROR_in_CHttpNTLMAuthObject::Prepare__:_QuerySecurityPackageInfo___failed__result__0x_x_
jmp 0x403531
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
cmp eax, 0x80000
mov dword [ebp - 8], eax
jbe 0x4034b5
push eax
push str.ERROR_in_CHttpNTLMAuthObject::Prepare__:_invalid_token_size__size___u_
jmp 0x403531
push 0xa
xor eax, eax
pop ecx
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x3c], 0x200
mov dword [ebp - 0x38], 0x2c
mov dword [ebp - 0x1c], 1
call fcn.00428c5a
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x34], eax
call fcn.00428c38
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
call fcn.00428c5a
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
call fcn.00428c38
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 4]
push eax
push ebx
lea eax, [ebp - 0x3c]
push ebx
push eax
mov eax, dword [ebp - 4]
push ebx
push 2
push dword [eax + 0xc]
push ebx
call sub.Secur32.dll_AcquireCredentialsHandleA
push dword [ebp - 4]
mov edi, eax
call sub.Secur32.dll_FreeContextBuffer
cmp edi, ebx
je 0x403542
push edi
push str.ERROR_in_CHttpNTLMAuthObject::Prepare__:_AcquireCredentialsHandle___failed__result__0x_x_
push 0x4a7870
call fcn.00426343
add esp, 0xc
xor al, al
jmp 0x40354a
mov eax, dword [ebp - 8]
mov dword [esi + 0x14], eax
mov al, 1
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4073b2
Capabilities:
Initialize winsock library

Disassembly:
mov eax, 0x479294
call fcn.00478530
sub esp, 0x238
push ebx
push esi
mov esi, ecx
xor ebx, ebx
inc ebx
push edi
cmp byte [esi + 4], 0
jne 0x4073df
cmp byte [esi + 9], 0
jne 0x4073df
and dword [0x4a7870], 0
jmp 0x4073e5
mov dword [0x4a7870], ebx
cmp byte [esi + 4], 0
je 0x407454
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.0040b2bf
and dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0040a73f
push 0x492adc
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], bl
push eax
call fcn.00429d5c
add esp, 0x1c
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.00429a78
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.00429a78
lea ecx, [ebp - 0x18]
call fcn.00428c5a
mov edi, 0x4a7870
push eax
mov ecx, edi
call fcn.004260d3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00429a78
jmp 0x407463
push dword [esi + 0x44]
mov edi, 0x4a7870
mov ecx, edi
call fcn.004260fb
mov ecx, esi
call fcn.004068d6
cmp dword [0x4a7870], 0
push ebx
sete al
mov byte [0x4a7ae4], al
call fcn.004233c8
pop ecx
mov ebx, 0x4927d0
push ebx
mov ecx, 0x4a7ae0
call fcn.00428687
push ebx
mov ecx, 0x4a745c
call fcn.00428687
push 0x492ad8
mov ecx, 0x4a7454
call fcn.00428687
call fcn.0041fb05
push eax
mov ecx, 0x4a7458
call fcn.00428687
push 0
push 0x100
call dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
lea eax, [ebp - 0xb4]
mov dword [ebp - 0xb4], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
movzx eax, word [ebp - 0xb0]
movzx ecx, word [ebp - 0xac]
shl eax, 0x10
or eax, ecx
push eax
push str.OS_version__X
push edi
mov dword [esi + 0x34], eax
call fcn.0042635b
add esp, 0xc
mov ecx, esi
call fcn.004072a4
cmp byte [esi + 4], 0
jne 0x4075f5
lea eax, [ebp - 0x244]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x40754d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x14]
push str.Error_d_WSAStartup__
push eax
call fcn.004253a6
add esp, 0xc
lea eax, [ebp - 0x14]
push 0x483c5c
push eax
call sub.MSVCRT.dll__CxxThrowException
mov edi, 0x4a7798
mov ecx, edi
call fcn.0041ee30
cmp dword [esi + 0x20], 0
jbe 0x4075f5
add esi, 0x14
mov ecx, esi
call fcn.00426d8f
mov word [0x4a7afa], ax
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
call fcn.00426e4c
push eax
mov ecx, 0x4a7af4
mov dword [ebp - 4], 5
call fcn.004285f2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004284bd
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.00426e4c
push eax
mov ecx, 0x4a7aec
mov dword [ebp - 4], 6
call fcn.004285f2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004284bd
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.00426e4c
push eax
mov ecx, 0x4a7ae8
mov dword [ebp - 4], 7
call fcn.004285f2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004284bd
mov ecx, edi
call fcn.0041f6aa
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40776a
Capabilities:
Create directory
Set current directory

Disassembly:
mov eax, 0x479300
call fcn.00478530
sub esp, 0x24
cmp byte [0x4a7400], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], ecx
je 0x4077d8
lea eax, [ebp - 0x1c]
push 0
push eax
call fcn.0040b2bf
and dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040a73f
add esp, 0x10
mov ecx, dword [ebp - 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.00429bb9
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00429a78
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00429a78
push dword [ebp - 0x18]
call fcn.0040aaed
pop ecx
jmp 0x4078c1
xor esi, esi
push 2
inc esi
pop ebx
cmp esi, ebx
jg 0x4078c1
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.0040af76
add esp, 4
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
mov dword [ebp - 4], ebx
call fcn.00429782
call fcn.0040a7ee
test al, al
pop ecx
jne 0x4078eb
push 0
lea ecx, [ebp - 0x14]
call fcn.00428c5a
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x40786f
lea ecx, [ebp - 0x14]
call fcn.00428c5a
push eax
lea ecx, [ebp - 0x1c]
call fcn.00428575
mov edi, eax
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, edi
call fcn.00428c5a
push eax
push str.CreateDirectoryW__s__error_u
push 0x4a7870
call fcn.00426343
add esp, 0x10
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.004284bd
jmp 0x4078fe
cmp esi, 1
jne 0x4078a6
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.00428c5a
push eax
call fcn.0040ad84
pop ecx
jmp 0x4078a6
mov dword [ebp - 4], ebx
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push eax
call fcn.00429bb9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00429a78
mov ecx, dword [ebp - 0x18]
call fcn.0042a15c
test eax, eax
je 0x407910
lea eax, [ebp - 0x28]
push str.Cant_find_any_writtable_folder
push eax
call fcn.004253a6
pop ecx
lea eax, [ebp - 0x28]
pop ecx
push 0x483c5c
push eax
call sub.MSVCRT.dll__CxxThrowException
cmp esi, 1
jne 0x4078a9
lea eax, [ebp - 0x14]
push eax
call fcn.0040a9b1
test al, al
pop ecx
jne 0x4078a9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00429a78
inc esi
jmp 0x4077de
mov ecx, dword [ebp - 0x18]
call fcn.00428c5a
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne 0x40796b
mov ecx, dword [ebp - 0x18]
call fcn.00428c5a
push eax
lea ecx, [ebp - 0x20]
call fcn.00428575
mov esi, eax
mov dword [ebp - 4], 6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.00428c5a
push eax
lea eax, [ebp - 0x30]
push str.SetCurrentDirectoryW__s__error_u
push eax
call fcn.004253a6
add esp, 0x10
lea eax, [ebp - 0x30]
push 0x483c5c
push eax
call sub.MSVCRT.dll__CxxThrowException
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x40807f
Capabilities:
Identify system language via api

Disassembly:
mov eax, 0x47937c
call fcn.00478530
push ecx
push esi
push edi
lea ecx, [ebp - 0x10]
call fcn.004281c1
and dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx esi, ax
call fcn.00407f1f
mov edi, eax
call fcn.00407f51
push eax
push edi
push esi
lea eax, [ebp - 0x10]
push str._u._u._d
push eax
call fcn.004296c6
mov ecx, dword [ebp + 8]
add esp, 0x14
lea eax, [ebp - 0x10]
push eax
call fcn.00426c94
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004284bd
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x409f61
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4797d4
call fcn.00478530
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, edi
call fcn.00426d7b
mov byte [esi + 0xc], al
lea eax, [ebp + 8]
push eax
mov ecx, edi
call fcn.00426e4c
and dword [ebp - 4], 0
push eax
lea ecx, [esi + 0x10]
call fcn.004285f2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004284bd
mov ecx, edi
call fcn.00426da4
mov ecx, edi
mov dword [ebp + 8], eax
call fcn.00426d8f
push eax
push dword [ebp + 8]
call fcn.0044efe8
pop ecx
mov dword [esi + 0x18], eax
pop ecx
mov dword [esi + 0x1c], edx
mov ecx, edi
call fcn.00426da4
mov ecx, edi
call fcn.00426da4
mov ecx, edi
mov dword [esi + 0x20], eax
call fcn.00426da4
mov dword [esi + 0x24], eax
lea eax, [ebp + 8]
push eax
mov ecx, edi
call fcn.00426e4c
push eax
lea ecx, [esi + 0x28]
mov dword [ebp - 4], 1
call fcn.004285f2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004284bd
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
call fcn.00426e4c
push eax
lea ecx, [esi + 0x2c]
mov dword [ebp - 4], 2
call fcn.004285f2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004284bd
mov ecx, edi
call fcn.00426db8
and dword [esi + 0x3c], 0
mov ecx, edi
mov dword [esi + 0x38], eax
call fcn.00426db8
and dword [esi + 0x34], 0
mov ecx, edi
mov dword [esi + 0x30], eax
call fcn.00426db8
mov ecx, dword [ebp - 0xc]
and dword [esi + 0x44], 0
mov dword [esi + 0x40], eax
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x40a88f
Capabilities:
Create directory

Disassembly:
mov eax, 0x479954
call fcn.00478530
sub esp, 0xc
push esi
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push dword [ebp + 8]
call fcn.00429782
call fcn.0040a7ee
test al, al
pop ecx
jne 0x40a90f
mov ecx, dword [ebp + 8]
push 0
call fcn.00428c5a
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x40a90f
mov ecx, dword [ebp + 8]
call fcn.00428c5a
push eax
lea ecx, [ebp + 8]
call fcn.00428575
mov esi, eax
and dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.00428c5a
push eax
lea eax, [ebp - 0x18]
push str.cant_create_folder__s_error__d
push eax
call fcn.004253a6
add esp, 0x10
lea eax, [ebp - 0x18]
push 0x483c5c
push eax
call sub.MSVCRT.dll__CxxThrowException
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x40ab93
Capabilities:
Delete file

Disassembly:
mov eax, 0x479a08
call fcn.00478530
push ecx
push ecx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x40abed
push esi
lea ecx, [ebp + 8]
push dword [ebp + 8]
call fcn.00428575
mov esi, eax
and dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.00428c5a
push eax
lea eax, [ebp - 0x14]
push str.Cant_delete_file__s_error_d
push eax
call fcn.004253a6
add esp, 0x10
lea eax, [ebp - 0x14]
push 0x483c5c
push eax
call sub.MSVCRT.dll__CxxThrowException
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret
Function at 0x40ac20
Capabilities:
Move file

Disassembly:
mov eax, 0x479a24
call fcn.00478530
sub esp, 0xc
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x40ac99
push esi
push edi
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00428575
mov esi, eax
push dword [ebp + 8]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00428575
mov edi, eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00428c5a
push eax
mov ecx, edi
call fcn.00428c5a
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x18]
push str.error_d_while_renaming__s_to__s
push eax
call fcn.004253a6
add esp, 0x14
lea eax, [ebp - 0x18]
push 0x483c5c
push eax
call sub.MSVCRT.dll__CxxThrowException
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret

Function at 0x40af76
Capabilities:
Get common file path

Disassembly:
mov eax, 0x479a8f
call fcn.00478530
sub esp, 0x10
push ebx
push esi
xor ebx, ebx
push edi
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], ebx
call fcn.00429776
mov esi, dword [ebp + 0xc]
xor edi, edi
inc edi
dec esi
neg esi
sbb esi, esi
push 0x104
and esi, 0xfffffff9
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], edi
add esi, 0x23
call fcn.00429f77
push eax
push ebx
push ebx
push esi
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp eax, ebx
jge 0x40afe3
push eax
lea eax, [ebp - 0x1c]
push str.SHGetFolderPathW___Error_X
push eax
call fcn.004253a6
add esp, 0xc
lea eax, [ebp - 0x1c]
push 0x483c5c
push eax
call sub.MSVCRT.dll__CxxThrowException
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.0042a04d
lea eax, [ebp - 0x10]
push eax
call fcn.0040aaed
lea ecx, [ebp - 0x10]
mov dword [esp], str.AMMYY_
call fcn.00429f26
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.00429782
mov dword [ebp - 0x14], edi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.00429a78
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x40b06b
Capabilities:
Get hostname

Disassembly:
mov eax, 0x479abb
call fcn.00478530
sub esp, 0x14
and dword [ebp - 0x18], 0
push esi
lea ecx, [ebp - 0x10]
call fcn.004281c1
xor esi, esi
lea ecx, [ebp - 0x14]
mov eax, 0x400
inc esi
push ecx
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], eax
call fcn.004289aa
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
jne 0x40b0d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x20]
push str.GetComputerName___error_d
push eax
call fcn.004253a6
add esp, 0xc
lea eax, [ebp - 0x20]
push 0x483c5c
push eax
call sub.MSVCRT.dll__CxxThrowException
push dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
call fcn.00428a80
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.004281cd
mov dword [ebp - 0x18], esi
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004284bd
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x40b623
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
mov eax, 0x479bb2
call fcn.00478530
push ecx
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00427a90
mov dword [esi], 0x47fbec
mov dword [ebp - 4], edi
mov dword [esi + 0x10], edi
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 1
call fcn.00420c36
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.00420c36
push edi
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 3
call fcn.00427a90
push edi
lea ecx, [esi + 0x58]
mov byte [ebp - 4], 4
call fcn.00427a90
push edi
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 5
call fcn.00427a90
push edi
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 6
call fcn.00427a90
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x84], edi
mov dword [esi], 0x47fbd8
mov dword [esi + 0xc], 0x64
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x40e5ab
Capabilities:
Get common file path

Disassembly:
mov eax, 0x47a0ef
call fcn.00478530
sub esp, 0x10
push ebx
xor ebx, ebx
push esi
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], ebx
call fcn.00429776
xor esi, esi
push 0x104
inc esi
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], esi
call fcn.00429f77
push eax
push ebx
push ebx
push 5
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp eax, ebx
jge 0x40e60a
push eax
lea eax, [ebp - 0x1c]
push str.SHGetFolderPathW___Error_X
push eax
call fcn.004253a6
add esp, 0xc
lea eax, [ebp - 0x1c]
push 0x483c5c
push eax
call sub.MSVCRT.dll__CxxThrowException
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.0042a04d
lea eax, [ebp - 0x10]
push eax
call fcn.0040aaed
pop ecx
lea eax, [ebp - 0x10]
mov ecx, dword [ebp + 8]
push eax
call fcn.00429782
mov dword [ebp - 0x14], esi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.00429a78
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4128bc
Capabilities:
Create process on windows
Create process suspended

Disassembly:
mov eax, 0x47a96b
call fcn.00478530
sub esp, 0xf0
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
jmp 0x4128dc
xor ebx, ebx
lea ecx, [esi + 0x10]
mov dword [ebp - 4], ebx
call fcn.0041cad0
cmp byte [esi + 0x18], bl
je 0x4129eb
push str.___NEED_UPDATE___
lea ecx, [esi + 0xb8]
call fcn.00427b8a
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.0040b2bf
pop ecx
pop ecx
lea eax, [ebp - 0xfc]
mov byte [ebp - 4], 1
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0040a73f
pop ecx
pop ecx
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0040b207
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00429bb9
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.00429a78
lea ecx, [ebp - 0x20]
call fcn.00428c5a
push ebx
lea ecx, [ebp - 0x14]
mov edi, eax
call fcn.00429f77
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0xfc]
push ecx
push edi
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, ebx
jne 0x4129cf
lea ecx, [ebp - 0x14]
call fcn.00428c5a
push eax
lea ecx, [ebp - 0x40]
call fcn.00428575
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00428c5a
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
lea eax, [ebp - 0x38]
push str.Cant_run__s_error_d
push eax
call fcn.004253a6
add esp, 0x10
lea eax, [ebp - 0x38]
push 0x483c5c
push eax
call sub.MSVCRT.dll__CxxThrowException
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.00429a78
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.00429a78
jmp 0x412b77
push 0x493af4
lea eax, [ebp - 0x24]
push dword [0x4a7448]
push eax
call fcn.0040acab
add esp, 0xc
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call fcn.00428c5a
push eax
lea ecx, [esi + 0xb8]
call fcn.00427b8a
mov ecx, esi
call fcn.00412024
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DrawMenuBar]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.004284bd
jmp 0x412b77
or dword [ebp - 4], 0xffffffff
cmp byte [esi + 0x18], bl
push ebx
je 0x412ba3
push ebx
push 0x10
mov byte [0x4a7431], 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
mov ecx, 0x4a74f8
mov dword [ebp - 4], 0xc
call fcn.0040a384
jmp 0x412b94