joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a510
Capabilities:
Connect pipe
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x44d034]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
mov dword [edi + 4], 0
test eax, eax
je 0x40a57a
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov eax, dword [edi + 8]
mov ecx, dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
je 0x40a564
push eax
call ecx
push dword [edi + 8]
call esi
mov ecx, dword [sym.imp.KERNEL32.dll_SetEvent]
mov dword [edi + 8], 0
mov eax, dword [edi + 0xc]
test eax, eax
je 0x40a57a
push eax
call ecx
push dword [edi + 0xc]
call esi
mov dword [edi + 0xc], 0
call fcn.004095c0
mov esi, eax
test esi, esi
je 0x40a6a4
push 0x230
lea eax, [ebp - 0x234]
push 0
push eax
call fcn.004181b0
lea ecx, [ebp - 0x234]
add esp, 0xc
sub ecx, esi
nop word [eax + eax]
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x40a5b0
test ebx, ebx
je 0x40a5d9
push 0x104
lea eax, [ebp - 0x234]
push ebx
push eax
call fcn.0041a22c
add esp, 0xc
call fcn.00403330
push eax
push 0
push 0x8000
push 0x8000
push 1
push 0
push 0x40000003
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov dword [edi + 4], eax
cmp eax, 0xffffffff
jne 0x40a615
mov dword [edi + 4], 0
jmp 0x40a6a4
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 1
push 0
mov dword [edi + 0x18], 0
call esi
push 0
push 0
push 1
push 0
mov dword [edi + 8], eax
call esi
cmp dword [edi + 8], 0
mov dword [edi + 0xc], eax
je 0x40a69d
test eax, eax
je 0x40a69d
lea ecx, [edi + 0x1c]
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov eax, dword [edi + 8]
push ecx
push dword [edi + 4]
mov dword [edi + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x40a67e
cmp eax, 0x3e5
je 0x40a67e
cmp eax, 0x217
jne 0x40a6a4
mov dword [edi + 0x10], 1
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041494e
mov esp, ebp
pop ebp
ret 8
mov ecx, edi
call fcn.0040a6c0
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041494e
mov esp, ebp
pop ebp
ret 8
Function at 0x40a7f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x44d034]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x24], eax
mov esi, dword [edi + 4]
test esi, esi
je 0x40a940
cmp dword [edi + 8], 0
je 0x40a940
push ecx
call fcn.0040a720
test eax, eax
je 0x40a947
push ebx
push dword [edi + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_ResetEvent]
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
movups xmmword [ebp - 0x1c], xmm0
call ebx
mov eax, dword [edi + 8]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push dword [ebp + 0xc]
push dword [ebp - 0x24]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x40a891
cmp dword [ebp - 8], 0
je 0x40a891
push dword [edi + 8]
call ebx
mov eax, dword [ebp - 8]
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041494e
mov esp, ebp
pop ebp
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x24], 0
jne 0x40a8cb
test eax, eax
je 0x40a8cb
cmp eax, 0x3e5
je 0x40a8cb
cmp eax, 0x217
je 0x40a8cb
mov dword [edi + 0x14], 0xf0000001
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041494e
mov esp, ebp
pop ebp
ret 0xc
push dword [ebp + 0x10]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, eax
test ebx, ebx
je 0x40a8fb
push esi
call dword [sym.imp.KERNEL32.dll_CancelIo]
xor ecx, ecx
cmp ebx, 0x102
sete cl
lea ecx, [ecx*2 - 0xfffffff]
mov dword [edi + 0x14], ecx
jmp 0x40a8b6
push 0
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
push dword [edi + 8]
mov esi, eax
mov dword [edi + 0x14], 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
xor eax, eax
test esi, esi
pop ebx
cmovne eax, dword [ebp - 0xc]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041494e
mov esp, ebp
pop ebp
ret 0xc
mov dword [edi + 0x14], 0xf0000001
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0041494e
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40a960
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x44d034]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x24], eax
mov esi, dword [edi + 4]
test esi, esi
je 0x40aab0
cmp dword [edi + 0xc], 0
je 0x40aab0
push ecx
call fcn.0040a720
test eax, eax
je 0x40aab7
push ebx
push dword [edi + 0xc]
mov ebx, dword [sym.imp.KERNEL32.dll_ResetEvent]
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
movups xmmword [ebp - 0x1c], xmm0
call ebx
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push dword [ebp + 0xc]
push dword [ebp - 0x24]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x40aa01
cmp dword [ebp - 8], 0
jbe 0x40aa01
push dword [edi + 0xc]
call ebx
mov eax, dword [ebp - 8]
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041494e
mov esp, ebp
pop ebp
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x24], 0
jne 0x40aa3b
test eax, eax
je 0x40aa3b
cmp eax, 0x3e5
je 0x40aa3b
cmp eax, 0x217
je 0x40aa3b
mov dword [edi + 0x14], 0xf0000001
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041494e
mov esp, ebp
pop ebp
ret 0xc
push dword [ebp + 0x10]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, eax
test ebx, ebx
je 0x40aa6b
push esi
call dword [sym.imp.KERNEL32.dll_CancelIo]
xor ecx, ecx
cmp ebx, 0x102
sete cl
lea ecx, [ecx*2 - 0xfffffff]
mov dword [edi + 0x14], ecx
jmp 0x40aa26
push 0
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
push dword [edi + 0xc]
mov esi, eax
mov dword [edi + 0x14], 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
xor eax, eax
test esi, esi
pop ebx
cmovne eax, dword [ebp - 0xc]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041494e
mov esp, ebp
pop ebp
ret 0xc
mov dword [edi + 0x14], 0xf0000001
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0041494e
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40e7a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42cf5c
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x44d034]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
xor edi, edi
test esi, esi
je 0x40e98e
cmp dword [ebp + 0x10], 4
jbe 0x40e98e
cmp dword [esi], 1
jne 0x40e98e
cmp dword [0x451280], edi
je 0x40e80f
lea eax, [esi + 8]
push eax
push str.CSCDTSecurityDomain::DealSciterCallback_1___s_
push str.SCDT
push 0xffffffffffffffff
push 0x4511f4
call fcn.00406390
add esp, 0x14
push ecx
push dword [esi + 4]
lea edx, [esi + 8]
lea ecx, [ebp - 0x24]
call fcn.0040d660
add esp, 8
push str.func
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x24]
call fcn.0040d8f0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.0040e0d0
mov edi, 1
mov byte [ebp - 4], 2
mov eax, dword fs:[0x2c]
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [eax]
mov eax, dword [0x451dbc]
mov dword [ebp - 0x38], ecx
cmp eax, dword [ecx + 4]
jle 0x40e8e0
push 0x451dbc
call fcn.00414f6c
add esp, 4
cmp dword [0x451dbc], 0xffffffff
jne 0x40e8e0
mov eax, dword [0x451db8]
test eax, eax
jne 0x40e8ce
push 0x43433c
call esi
mov esi, eax
test esi, esi
je 0x40e8b8
push str.SciterAPI
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40e8b1
call eax
mov dword [0x451db8], eax
jmp 0x40e8bd
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x451db8]
test eax, eax
jne 0x40e8c8
push 0xffffffffffffffff
call fcn.0041a4c3
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0x451dbc
mov dword [0x451dc0], eax
call fcn.00414f2d
add esp, 4
lea eax, [ebp - 0x34]
push eax
mov eax, dword [0x451dc0]
mov eax, dword [eax + 0x208]
call eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 4], 3
mov eax, dword [0x451dbc]
cmp eax, dword [ecx + 4]
jle 0x40e976
push 0x451dbc
call fcn.00414f6c
add esp, 4
cmp dword [0x451dbc], 0xffffffff
jne 0x40e976
mov eax, dword [0x451db8]
test eax, eax
jne 0x40e964
push 0x43433c
call esi
mov esi, eax
test esi, esi
je 0x40e954
push str.SciterAPI
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40e94d
call eax
mov dword [0x451db8], eax
jmp 0x40e959
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x451db8]
test eax, eax
jne 0x40e964
push 0xffffffffffffffff
call fcn.0041a4c3
push 0x451dbc
mov dword [0x451dc0], eax
call fcn.00414f2d
add esp, 4
lea eax, [ebp - 0x24]
push eax
mov eax, dword [0x451dc0]
mov eax, dword [eax + 0x208]
call eax
mov dword [ebp - 4], 0xffffffff
cmp dword [0x451280], 0
je 0x40e9b1
push edi
push str.CSCDTSecurityDomain::DealSciterCallback____d_
push str.SCDT
push 0xffffffffffffffff
push 0x4511f4
call fcn.00406390
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041494e
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40fed0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42d168
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x44d034]
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 fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x451dd8]
cmp eax, dword [ecx + 4]
jle 0x40ff3d
push 0x451dd8
call fcn.00414f6c
add esp, 4
cmp dword [0x451dd8], 0xffffffff
jne 0x40ff3d
push 0x42d820
call fcn.00414bb2
push 0x451dd8
call fcn.00414f2d
add esp, 8
mov ecx, dword [0x451de0]
mov eax, 0x2aaaaaab
sub ecx, dword [0x451ddc]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x40fff1
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
test edi, edi
je 0x40fff1
xor esi, esi
cmp dword [ebp - 0x14], esi
jle 0x40ffea
mov edx, dword [edi + esi*4]
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
cmp word [edx], ax
je 0x40ffb1
mov eax, edx
lea ebx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40ffa2
sub eax, ebx
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x2c]
call fcn.0040f520
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
call fcn.00410050
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x40ffe4
inc eax
push eax
push dword [ebp - 0x2c]
call fcn.0040f620
inc esi
cmp esi, dword [ebp - 0x14]
jl 0x40ff81
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, 0x451ddc
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.0041494e
mov esp, ebp
pop ebp
ret
Function at 0x410770
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42d1f5
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x44d034]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], 0
call fcn.004106b0
mov dword [ebp - 4], 0
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x18], esi
cmp edi, esi
je 0x41088f
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
nop dword [eax]
mov eax, dword [0x451dbc]
cmp eax, dword [ecx + 4]
jle 0x410866
push 0x451dbc
call fcn.00414f6c
add esp, 4
cmp dword [0x451dbc], 0xffffffff
jne 0x410866
mov dword [ebp - 4], 1
mov eax, dword [0x451db8]
test eax, eax
jne 0x410850
push 0x43433c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x410844
push str.SciterAPI
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41083d
call eax
mov dword [0x451db8], eax
jmp 0x410849
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x451db8]
test eax, eax
je 0x410888
mov esi, dword [ebp - 0x18]
push 0x451dbc
mov dword [0x451dc0], eax
mov byte [ebp - 4], 0
call fcn.00414f2d
add esp, 4
lea eax, [edi + 0x10]
push eax
mov eax, dword [0x451dc0]
push edi
push ebx
mov eax, dword [eax + 0x258]
call eax
add edi, 0x20
cmp edi, esi
je 0x41088f
mov ecx, dword [ebp - 0x10]
jmp 0x4107e0
push 0xffffffffffffffff
call fcn.0041a4c3
mov eax, ebx
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 0x411440
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x44d034]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, edx
mov dword [ebp - 0x214], eax
push edi
mov edi, ecx
test esi, esi
je 0x41156d
cmp word [esi], 0
je 0x41156d
push 4
push 0x434f20
push esi
call fcn.0041a05d
add esp, 0xc
test eax, eax
jne 0x41148f
add esi, 8
push 2
push 0x434f2c
push esi
call fcn.0041a05d
add esp, 0xc
test eax, eax
jne 0x4114a6
add esi, 4
push 0x20a
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.004181b0
push 0x104
push esi
lea eax, [ebp - 0x210]
push 0x105
push eax
call fcn.0041a7d0
lea eax, [ebp - 0x210]
push 0x2e
push eax
call fcn.00416b73
mov esi, eax
add esp, 0x24
test esi, esi
je 0x411518
xor eax, eax
mov word [esi], ax
add esi, 2
je 0x411518
push str.HTML
push esi
call fcn.0041a0b7
add esp, 8
test eax, eax
je 0x411518
push 0x434f40
push esi
call fcn.0041a0b7
add esp, 8
test eax, eax
je 0x411518
push esi
jmp 0x41151a
push 0x17
lea eax, [ebp - 0x210]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x41156d
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41156d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebx], eax
test eax, eax
je 0x41156d
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 0x214]
test eax, eax
pop edi
pop esi
pop ebx
mov dword [ecx], eax
setne al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041494e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041494e
mov esp, ebp
pop ebp
ret
Function at 0x413bb0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
mov eax, dword [0x44d034]
xor eax, esp
mov dword [esp + 0x74], eax
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
test edi, edi
je 0x413daf
test esi, esi
je 0x413daf
mov edx, dword [0x451280]
test edx, edx
je 0x413c27
push dword [esi + 0x1c]
push eax
push dword [esi + 0x18]
movzx eax, word [esi + 6]
push dword [esi + 0x14]
push dword [esi + 0x10]
push eax
movzx eax, word [esi + 4]
push eax
push str.CUITcpHelper::TcpDispose_1__0x_x____lu____lu____lu____lu____p____lu_
push 0x4481a8
push 0xffffffffffffffff
push 0x4511f4
call fcn.00406390
mov edx, dword [0x451280]
add esp, 0x2c
movups xmm1, xmmword [esi]
mov ecx, dword [edi + 0xb8]
movups xmm0, xmmword [esi + 0x10]
mov dword [esp + 0x1c], ecx
movd eax, xmm1
movups xmmword [esp + 0x30], xmm0
shr eax, 0x10
mov edi, eax
not edi
and edi, 1
mov dword [esp + 0x4c], edi
test edx, edx
je 0x413c7c
and eax, 1
push eax
push edi
push ecx
push str.CUITcpHelper::TcpDispose_2___d____d____d_
push 0x4481a8
push 0xffffffffffffffff
push 0x4511f4
call fcn.00406390
mov edi, dword [esp + 0x68]
add esp, 0x1c
mov edx, dword [0x451280]
movzx eax, word [esi + 6]
xorps xmm0, xmm0
movzx ecx, word [esi + 4]
movaps xmmword [esp + 0x50], xmm0
mov word [esp + 0x56], ax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x5c], eax
mov eax, 0xf0e9
movaps xmmword [esp + 0x60], xmm0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0xf004
mov dword [esp + 0x6c], 0
mov word [esp + 0x54], cx
mov dword [esp + 0x50], 0x4d4f
cmp cx, ax
je 0x413cde
test edi, edi
mov edi, dword [esp + 0x14]
je 0x413d35
mov dword [esp + 0x48], 0xf001
jmp 0x413d35
test edx, edx
je 0x413d07
mov eax, dword [esp + 0x18]
push dword [eax + 8]
movzx eax, word [esi + 6]
push eax
push str.CUITcpHelper::TcpDispose__OT_A_UIHELPER_NOTIFY____d____p_
push 0x4481a8
push 0xffffffffffffffff
push 0x4511f4
call fcn.00406390
add esp, 0x18
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x413d35
lea edx, [esp + 0x4c]
push edx
lea edx, [esp + 0x4c]
push edx
lea edx, [esp + 0x4c]
push edx
lea edx, [esp + 0x5c]
push edx
push edi
push esi
push dword [esp + 0x34]
push dword [eax + 0xc]
call ecx
push 0x20
push esi
call fcn.00414bc7
add esp, 8
test edi, edi
je 0x413d4f
push 0
push edi
call fcn.00414bc7
add esp, 8
mov eax, dword [esp + 0x48]
test eax, eax
je 0x413d69
or word [esp + 0x52], 2
mov dword [esp + 0x58], eax
mov dword [esp + 0x68], 0
cmp dword [esp + 0x4c], 0
je 0x413d84
push dword [esp + 0x44]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x54]
call fcn.0040c7e0
add esp, 4
mov eax, dword [esp + 0x44]
test eax, eax
je 0x413d97
push 0
push eax
call fcn.00414bc7
add esp, 8
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.0041494e
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [esp + 0x7c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.0041494e
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4013a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
test eax, eax
je 0x401410
cmp byte [esi + eax - 1], 0xa
mov ebx, eax
je 0x401408
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x4060c4], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp], esi
mov dword [esp + 0xc], eax
mov eax, 1
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
xor eax, eax
jmp 0x4013cd
lea esp, [ebp - 8]
xor eax, eax
pop ebx
pop esi
pop ebp
ret
Function at 0x401df0
Capabilities:
Get process heap force flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov dword [esp], 1
call sym.__configure_narrow_argv
call sym.__initialize_narrow_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___argv
mov edi, dword [eax]
call sym.__get_initial_narrow_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete dl
movzx edx, dl
inc edx
mov dword [esp], edx
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._main
mov dword [esp], eax
call sym._exit
nop
nop
Function at 0x4026e4
Capabilities:
Inspect section memory permissions

Disassembly:
test eax, eax
je 0x4026f2
call dword [0x47501c]
or eax, eax
je 0x4026f3
ret
mov al, 1
jmp fcn.00402770

Function at 0x4026fc
Capabilities:
Inspect section memory permissions

Disassembly:
test eax, eax
je 0x40270a
call dword [0x475020]
or eax, eax
jne 0x40270b
ret
mov al, 2
jmp fcn.00402770

Function at 0x402714
Capabilities:
Inspect section memory permissions

Disassembly:
mov ecx, dword [eax]
test ecx, ecx
je 0x40274c
test edx, edx
je 0x402736
push eax
mov eax, ecx
call dword [0x475024]
pop ecx
or eax, eax
je 0x402745
mov dword [ecx], eax
ret
mov al, 2
jmp fcn.00402770
mov dword [eax], edx
mov eax, ecx
call dword [0x475020]
or eax, eax
jne 0x40272f
ret
mov al, 1
jmp fcn.00402770
test edx, edx
je 0x402760
push eax
mov eax, edx
call dword [0x47501c]
pop ecx
or eax, eax
je 0x402745
mov dword [ecx], eax
ret

Function at 0x4028b4
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x4028e3
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403ad4
jmp 0x402901
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.0040283c
mov edi, eax
test ebx, ebx
je 0x402901
cmp dword [esi], 0
je 0x402901
dec ebx
jmp 0x4028ea
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402c30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [section.DATA]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402cc8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402ca8
xor eax, eax
push ebp
push 0x402ca1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x402ce4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402ca8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [section.DATA]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [section.DATA], ax
mov esp, ebp
pop ebp
ret

Function at 0x402f48
Capabilities:
Inspect section memory permissions

Disassembly:
test eax, eax
je 0x402f62
mov ecx, eax
mov ecx, dword [ecx]
cmp ecx, edx
je 0x402f62
mov ecx, dword [ecx - 0x24]
test ecx, ecx
jne 0x402f4e
mov al, 0xa
jmp fcn.00402770
ret

Function at 0x402f94
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [0x47701c], 0
je 0x402953
call dword [0x47701c]
mov eax, 0xd2
jmp fcn.00403960
push eax
push ecx
mov eax, dword [eax]
call fcn.00402f64
pop ecx
pop eax
je 0x402fa3
jmp ebx
pop ecx
jmp 0x402944

Function at 0x402fac
Capabilities:
Inspect section memory permissions

Disassembly:
push ebx
mov ebx, edx
mov eax, dword [eax]
call fcn.00402f64
mov eax, ebx
pop ebx
jne 0x402fc1
pop ecx
jmp 0x402944
ret
Function at 0x403798
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.004032f9
inc ecx
das
and dword [ecx*4 - 0x837b], 0x1ce850ff
sti
invalid