joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002cd90
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x1006a81c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push eax
push esi
xorps xmm0, xmm0
push 0
movlpd qword [ebp - 0x220], xmm0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
test eax, eax
je 0x1002cf5a
push 0x104
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x218]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x1002cf4c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x1002cf4c
push edi
push 0
lea eax, [ebp - 0x20c]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x1002cf27
push edi
call fcn.10034837
mov esi, eax
add esp, 4
test esi, esi
je 0x1002cf4b
push ebx
push esi
push edi
push 0
lea eax, [ebp - 0x20c]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x1002ceea
lea eax, [ebp - 0x210]
mov dword [ebp - 0x214], 0
push eax
lea eax, [ebp - 0x214]
mov dword [ebp - 0x210], 0
push eax
push 0x1005a9d4
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1002cf0e
mov eax, dword [ebp - 0x214]
test eax, eax
je 0x1002cf9c
cmp dword [ebp - 0x210], 0
je 0x1002cfad
mov edi, dword [eax + 8]
mov ecx, edi
mov ebx, dword [eax + 0xc]
xor eax, eax
or eax, ebx
mov dword [ebp - 0x21c], ecx
push 3
mov dword [ebp - 0x220], eax
call fcn.1001c7b0
test al, al
je 0x1002cf0e
movzx eax, bx
push eax
shr ebx, 0x10
push ebx
movzx eax, di
push eax
shr edi, 0x10
push edi
push str.Version:__hu___hu___hu___hu_n
call fcn.1002bb50
add esp, 0x14
push esi
call fcn.10034811
add esp, 4
pop ebx
pop edi
push dword [ebp - 0x218]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1002cf7f
push 3
call fcn.1001c7b0
test al, al
je 0x1002cf0e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.UMFileUtil_GetModuleVersion
push str._s:_GetFileVersionInfo_failed_with_error_code:__u_n
call fcn.1002bb50
add esp, 0xc
push esi
call fcn.10034811
add esp, 4
pop ebx
pop edi
push dword [ebp - 0x218]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1002cf7f
push 3
call fcn.1001c7b0
test al, al
je 0x1002cf4b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.UMFileUtil_GetModuleVersion
push str._s:_GetFileVersionInfoSize_failed_with_error_code:__u_n
call fcn.1002bb50
add esp, 0xc
pop edi
push dword [ebp - 0x218]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1002cf7f
push 3
call fcn.1001c7b0
test al, al
je 0x1002cf7f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.UMFileUtil_GetModuleVersion
push str._s:_GetModuleHandleEx_error_for_module__ls:__u_n
call fcn.1002bb50
add esp, 0x10
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x220]
xor ecx, ebp
mov edx, dword [ebp - 0x21c]
pop esi
call fcn.10030fab
mov esp, ebp
pop ebp
ret 4
push 0x41
push str.d:_buildob_bora_18379147_bora_vmsoft_build_release_svgawddm_srclibumlibumfileutil.c
push str.ASSERT__s:_d_n
call fcn.1002ba30
push 0x42
push str.d:_buildob_bora_18379147_bora_vmsoft_build_release_svgawddm_srclibumlibumfileutil.c
push str.ASSERT__s:_d_n
call fcn.1002ba30
int3
Function at 0x10030820
Capabilities:
Create process memory minidump

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1006a81c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xorps xmm0, xmm0
mov dword [ebp - 8], 0
push edi
mov edi, dword [ebp + 8]
movq qword [ebp - 0x10], xmm0
call fcn.10030ae0
mov esi, eax
cmp esi, 0xffffffff
jne 0x10030864
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10030fab
mov esp, ebp
pop ebp
ret 4
mov dword [ebp - 0x18], 0x10030950
mov dword [ebp - 0x14], 0
test edi, edi
je 0x100308dc
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], edi
push eax
push 0x1a05
push esi
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call sub.dbghelp.dll_MiniDumpWriteDump
mov bl, al
test bl, bl
jne 0x100308c0
push str.WDDMCoreDump:_MiniDumpWriteDump___failed._n
call fcn.1002c100
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, bl
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.10030fab
mov esp, ebp
pop ebp
ret 4
push 0x102
push str.d:_buildob_bora_18379147_bora_vmsoft_build_release_svgawddm_srclibcoredumpcoredump.c
push str.ASSERT__s:_d_n
call fcn.1002ba30
int3
Function at 0x1003d004
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1003cf86
Function at 0x1004df00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
test edx, edx
je 0x1004dff2
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x1004dff2
mov dword [ecx], 0x74
mov dword [ecx + 4], 1
mov eax, dword [edx + 0x58]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], 1
mov eax, dword [edx + 0x5c]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 1
mov dword [ecx + 0x18], 0x20
mov dword [ecx + 0x1c], 1
mov dword [ecx + 0x20], 0x20
mov eax, dword [edx + 0x64]
mov dword [ecx + 0x24], eax
mov eax, dword [edx + 0x68]
mov dword [ecx + 0x28], eax
mov eax, dword [edx + 0x6c]
mov dword [ecx + 0x2c], eax
mov eax, dword [edx + 0x74]
mov dword [ecx + 0x30], eax
mov eax, dword [edx + 0x78]
mov dword [ecx + 0x34], eax
mov eax, dword [edx + 0x7c]
mov dword [ecx + 0x38], eax
mov eax, dword [edx + 0x80]
mov dword [ecx + 0x3c], eax
mov eax, dword [edx + 0x84]
mov dword [ecx + 0x40], eax
mov eax, dword [edx + 0x88]
mov dword [ecx + 0x44], eax
mov eax, dword [edx + 0x8c]
and eax, 0xffefffff
mov dword [ecx + 0x48], eax
mov eax, dword [edx + 0x90]
mov dword [ecx + 0x4c], eax
movzx eax, word [edx + 0x94]
mov word [ecx + 0x50], ax
movzx eax, word [edx + 0x98]
mov word [ecx + 0x52], ax
mov eax, dword [edx + 0xa0]
mov dword [ecx + 0x54], eax
mov eax, dword [edx + 0x70]
mov dword [ecx + 0x58], eax
movzx eax, word [edx + 0xa4]
mov word [ecx + 0x5c], ax
movzx eax, word [edx + 0xa8]
mov word [ecx + 0x5e], ax
mov eax, dword [edx + 0x9c]
or eax, 4
mov dword [ecx + 0x60], eax
pop ebp
ret 8
Function at 0x401575
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40b150]
jne 0x40157f
repz ret
jmp fcn.00401af7

Function at 0x404555
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00401c6f
and dword [ebp - 4], 0
cmp dword [0x40c75c], 0
mov ebx, eax
jne 0x404606
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4046b7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x409260
push edi
call esi
test eax, eax
je 0x4046b7
push eax
call fcn.00401bfd
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40c75c], eax
call esi
push eax
call fcn.00401bfd
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40c760], eax
call esi
push eax
call fcn.00401bfd
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x40c764], eax
call esi
push eax
call fcn.00401bfd
pop ecx
mov dword [0x40c76c], eax
test eax, eax
je 0x404606
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00401bfd
pop ecx
mov dword [0x40c768], eax
mov eax, dword [0x40c768]
cmp eax, ebx
je 0x40465e
cmp dword [0x40c76c], ebx
je 0x40465e
push eax
call fcn.00401c78
push dword [0x40c76c]
mov esi, eax
call fcn.00401c78
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40465e
test edi, edi
je 0x40465e
call esi
test eax, eax
je 0x404655
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x404655
test byte [ebp - 0xc], 1
jne 0x40465e
or dword [ebp + 0x10], 0x200000
jmp 0x404697
mov eax, dword [0x40c760]
cmp eax, ebx
je 0x404697
push eax
call fcn.00401c78
pop ecx
test eax, eax
je 0x404697
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x404697
mov eax, dword [0x40c764]
cmp eax, ebx
je 0x404697
push eax
call fcn.00401c78
pop ecx
test eax, eax
je 0x404697
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40c75c]
call fcn.00401c78
pop ecx
test eax, eax
je 0x4046b7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4046b9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x14d0fa28
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
xor ebx, ebx
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x20000013
push dword [ebp + 8]
mov dword [ebp - 8], 4
mov dword [ebp - 0xc], ebx
call dword [0x14d12300]
test eax, eax
je 0x14d0fb16
cmp dword [ebp - 0xc], 0xc8
jne 0x14d0fb16
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp + 0xc]
call dword [0x14d12158]
mov esi, eax
cmp esi, 0xffffffff
je 0x14d0fb16
mov byte [ebp - 1], bl
push ebx
push dword [ebp + 0x10]
call dword [0x14d12150]
test eax, eax
je 0x14d0fabc
lea eax, [ebp - 8]
push eax
push 0x200
lea eax, [ebp - 0x210]
push eax
push dword [ebp + 8]
call dword [0x14d122ec]
test eax, eax
jne 0x14d0fac0
mov byte [ebp - 1], 1
cmp dword [ebp - 8], ebx
je 0x14d0faf0
push ebx
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 8]
lea eax, [ebp - 0x210]
push eax
push esi
call dword [0x14d12190]
test eax, eax
je 0x14d0fae7
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 8]
je 0x14d0faeb
mov byte [ebp - 1], 1
cmp byte [ebp - 1], bl
je 0x14d0fa91
push esi
call dword [0x14d121a0]
push esi
call dword [0x14d12140]
cmp byte [ebp - 1], bl
je 0x14d0fb0c
push dword [ebp + 0xc]
call fcn.14d0eab6
pop ecx
xor eax, eax
cmp byte [ebp - 1], bl
sete al
jmp 0x14d0fb18
xor al, al
pop esi
pop ebx
leave
ret

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..reloc
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x431072
mov ebx, 0x40915c
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x41eb295d
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x431060
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
je 0x4310d2
nop
nop
nop
nop
nop
mov ebx, 0x42f3f8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x27932192
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x466db0
Capabilities:
Resume thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
push edi
jne 0x466dd0
push 0xa2
push str.F:CB11X_MainQImportsOpen_boost_boost_smart_ptr_intrusive_ptr.hpp
push 0x4d8134
call main
add esp, 0xc
mov eax, dword [esi]
lea ecx, [eax + 0x20]
push ecx
push 4
push eax
push 0x466d30
push 0
push 0
call main
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x466df5
pop edi
xor al, al
pop esi
ret
mov edx, dword [esi]
add edx, 4
mov eax, 1
lock xadd dword [edx], eax
cmp dword [esi], 0
jne 0x466e1f
push 0xa2
push str.F:CB11X_MainQImportsOpen_boost_boost_smart_ptr_intrusive_ptr.hpp
push 0x4d8134
call main
add esp, 0xc
mov ecx, dword [esi]
push edi
add ecx, 8
call main
cmp dword [esi], 0
jne 0x466e46
push 0xa2
push str.F:CB11X_MainQImportsOpen_boost_boost_smart_ptr_intrusive_ptr.hpp
push 0x4d8134
call main
add esp, 0xc
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.kernel32.dll_ResumeThread]
pop edi
mov al, 1
pop esi
ret

Function at 0x49269f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4f2d80]
jne 0x4926a9
repz ret
jmp fcn.0049db2c

Function at 0x494159
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x494168
pop dword [ebp - 0x40]
mov eax, 0xc77db17a
sub eax, 0xc7347012
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0xba812a4b
add dword [ebp - 0x50], 0x93d11b00
mov dword [ebp - 0x4c], 0x5d970c7
add dword [ebp - 0x4c], 0x2c59db7e
mov dword [ebp - 0x48], 0x58a9fd9e
add dword [ebp - 0x48], 0xf3a24690
mov dword [ebp - 0x44], 0x36537d07
sub dword [ebp - 0x44], 0x36537d07
lea eax, [ebp - 0x50]
push eax
mov eax, 0x8baa576e
add eax, 0x74a1a906
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0x4a1b3ccf
sub dword [ebp - 0x50], 0xd5a8d379
mov dword [ebp - 0x4c], 0xafafdcea
add dword [ebp - 0x4c], 0x91bc848b
mov dword [ebp - 0x48], 0x701bbd05
add dword [ebp - 0x48], 0xf353af67
mov dword [ebp - 0x44], 0xd96aa677
sub dword [ebp - 0x44], 0xd96aa677
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0x7917087a
add eax, 0x8734f7f6
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x6f370
push 0
call eax
mov ecx, 0x47e7
mov edi, eax
mov ebx, 0x50ac00
add ebx, dword [ebp - 0x40]
mov esi, 0xb18d83b4
add esi, 0x911fb9cd
add dword [ebp - 0x18], 0xbd5dd217
mov edx, dword [ebx]
add dword [ebp - 0x20], edi
xor edx, esi
xor dword [ebp - 0x10], ecx
mov dword [edi], edx
sub dword [ebp - 0x10], ecx
add edi, 4
add ebx, 0x2cd0cdef
sub ebx, 0x2cd0cdeb
loop 0x49427e
add eax, 0x11bb4d6f
sub eax, 0x11ba3b00
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x401933
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
mov eax, 0x42683f
call fcn.004256c0
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x14]
mov byte [esi], bl
mov byte [esi + 1], bl
mov byte [esi + 2], bl
mov byte [esi + 3], bl
mov byte [esi + 4], bl
mov byte [esi + 5], bl
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
call fcn.004032ae
lea ecx, [esi + 0x20]
mov dword [ebp - 4], ebx
call fcn.0040198c
lea ecx, [esi + 0x30]
call fcn.004032ae
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x405386
Capabilities:
Set file attributes

Disassembly:
push edx
push ecx
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
test eax, eax
setne al
ret

Function at 0x405512
Capabilities:
Create directory

Disassembly:
mov eax, 0x426bd0
call fcn.004256c0
sub esp, 0x38
push ebx
push esi
xor ebx, ebx
mov esi, ecx
push ebx
push esi
call dword [sym.imp.kernel32.dll_CreateDirectoryW]
test eax, eax
je 0x405535
mov al, 1
jmp 0x40557b
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0xb7
je 0x405546
xor al, al
jmp 0x40557b
lea ecx, [ebp - 0x44]
call fcn.0040573f
lea ecx, [ebp - 0x1c]
call fcn.004032ae
push ebx
push esi
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], ebx
call fcn.0040598d
test al, al
je 0x405570
mov ebx, dword [ebp - 0x24]
shr ebx, 4
and bl, 1
push dword [ebp - 0x1c]
call fcn.00403a73
pop ecx
mov al, bl
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x40597e
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ecx
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x40598c
or eax, eax
ret

Function at 0x406d48
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x406d57
pop dword [ebp - 0x18]
mov eax, 0x406d57
sub dword [ebp - 0x18], eax
push 0x40
push 0x1000
push 0x353f2
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x18]
call dword [eax]
mov ecx, 0x38ea
mov edi, eax
mov ebx, 0xbf91ae8c
add ebx, 0x40b1bf74
add ebx, dword [ebp - 0x18]
mov edx, 0x758bb40d
add edx, 0xb5041c4c
mov esi, dword [ebx]
xor dword [ebp - 0x14], 0xb450f1a6
add esi, edx
mov dword [edi], esi
add edi, 0x93a48422
add edi, 0x6c5b7be2
add ebx, 0xb1ebc6f0
add ebx, 0x4e143914
loop 0x406da6
add eax, 0xd67b
mov ebx, eax
add eax, 0x3c0a555b
add eax, 0xc3f5aaaa
mov ecx, 0x400000
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x10001b30
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov edx, 0x80
xor ecx, ecx
mov dword [ebp - 4], ecx
xor eax, eax
test cl, 1
cmovne eax, edx
shr ecx, 1
test cl, 1
je 0x10001b56
bts eax, 6
shr ecx, 1
test cl, 1
je 0x10001b61
bts eax, 5
shr ecx, 1
test cl, 1
je 0x10001b6c
bts eax, 4
shr ecx, 1
test cl, 1
je 0x10001b77
bts eax, 3
shr ecx, 1
test cl, 1
je 0x10001b82
bts eax, 2
shr ecx, 1
test cl, 1
je 0x10001b8d
bts eax, 1
test cl, 2
je 0x10001b96
bts eax, 0
shl eax, 0x18
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
add eax, eax
and ecx, 0x4c11db7
xor ecx, eax
mov edx, ecx
and edx, 0x80000000
neg edx
lea eax, [ecx + ecx]
sbb edx, edx
and edx, 0x4c11db7
xor edx, eax
mov ecx, edx
and ecx, 0x80000000
neg ecx
lea eax, [edx + edx]
sbb ecx, ecx
and ecx, 0x4c11db7
xor ecx, eax
mov edx, ecx
and edx, 0x80000000
neg edx
lea eax, [ecx + ecx]
sbb edx, edx
and edx, 0x4c11db7
xor edx, eax
mov ecx, edx
and ecx, 0x80000000
neg ecx
lea eax, [edx + edx]
sbb ecx, ecx
and ecx, 0x4c11db7
xor ecx, eax
mov edx, ecx
and edx, 0x80000000
neg edx
lea eax, [ecx + ecx]
sbb edx, edx
and edx, 0x4c11db7
xor edx, eax
mov ecx, edx
and ecx, 0x80000000
neg ecx
lea eax, [edx + edx]
sbb ecx, ecx
and ecx, 0x4c11db7
xor ecx, eax
mov ebx, ecx
and ebx, 0x80000000
neg ebx
lea eax, [ecx + ecx]
sbb ebx, ebx
and ebx, 0x4c11db7
xor ebx, eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [edi + eax*4], ebx
lea esi, [edi + eax*4]
lea ecx, [edx + 1]
nop
test bl, 1
je 0x10001c6f
mov eax, 0x20
sub eax, ecx
bts edx, eax
inc ecx
shr ebx, 1
cmp ecx, 0x21
jl 0x10001c60
mov ecx, dword [ebp - 4]
inc ecx
mov dword [esi], edx
mov dword [ebp - 4], ecx
mov edx, 0x80
cmp ecx, 0xff
jle 0x10001b43
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10001cf0
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x100034], 0
je 0x10001d2a
push 0
mov dword [0x10118e98], 0xffffffff
push dword [esi + 0x100034]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x100034]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x100034], 0
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x10001d40
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 4], 0xffffffff
mov eax, dword [esi + 8]
test eax, eax
je 0x10001d55
push eax
call dword [sym.imp.WS2_32.dll_WSACloseEvent]
mov dword [esi + 8], 0
mov byte [esi + 0x100038], 0
pop esi
ret
Function at 0x10001d60
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x8000c
call fcn.100068c0
mov eax, dword [0x1000e00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0x1010e05c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x1000e044]
cmp ebx, 0xffffffff
je 0x10001e3c
cmp byte [0x1010e078], 0
je 0x10001e3c
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x80008]
push esi
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
mov al, byte [ebp - 0x80008]
add esp, 0xc
cmp al, 0xc1
jne 0x10001dd3
push dword [ebp - 0x80006]
lea edx, [esi - 3]
lea ecx, [ebp - 0x80005]
jmp 0x10001df7
cmp al, 0xc3
jne 0x10001de8
push dword [ebp - 0x80003]
lea edx, [esi - 6]
lea ecx, [ebp - 0x80002]
jmp 0x10001df7
push dword [ebp - 0x80005]
lea edx, [esi - 4]
lea ecx, [ebp - 0x80004]
call fcn.10005250
mov eax, dword [0x1010e050]
add esp, 4
test eax, eax
jle 0x10001e99
lea ecx, [eax + esi]
cmp ecx, 0x80000
jle 0x10001e5c
push ecx
mov ecx, 7
call fcn.100054d0
push eax
push 0
push 0x1010e1d8
call fcn.100030a0
add esp, 0x10
mov ecx, 0x1000e040
call fcn.10001cf0
push 0x1010e05c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100059c8
mov esp, ebp
pop ebp
ret 8
push esi
lea ecx, [ebp - 0x80008]
push ecx
lea eax, [eax + 0x1008e050]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
add dword [0x1010e050], esi
push 0x1010e05c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100059c8
mov esp, ebp
pop ebp
ret 8
xor edi, edi
test esi, esi
jle 0x10001e79
nop
push 0
push esi
lea eax, [ebp - 0x80008]
add eax, edi
push eax
push ebx
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x10001ec8
sub esi, eax
add edi, eax
test esi, esi
jle 0x10001e79
mov ebx, dword [0x1000e044]
jmp 0x10001ea0
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call ebx
cmp eax, 0x2733
jne 0x10001f31
mov ecx, dword [0x1010e050]
lea eax, [ecx + esi]
cmp eax, 0x80000
jle 0x10001ef2
push eax
mov ecx, 8
jmp 0x10001e1d
lea eax, [ebp - 0x80008]
add eax, edi
push esi
push eax
lea eax, [ecx + 0x1008e050]
push eax
call sub.VCRUNTIME140.dll_memcpy
add dword [0x1010e050], esi
add esp, 0xc
push 0x1010e05c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100059c8
mov esp, ebp
pop ebp
ret 8
call ebx
push eax
mov ecx, 9
jmp 0x10001e1d
Function at 0x100030a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x824
mov eax, dword [0x1000e00c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push esi
push edi
test eax, eax
js 0x10003286
cmp eax, dword [ecx + 0x218]
jge 0x10003286
imul edi, eax, 0x214
add edi, ecx
cmp dword [edi + 4], 0
je 0x10003286
lea eax, [ebp - 0x81c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x816]
cmp eax, dword [edi + 0x108]
jne 0x1000311f
movzx eax, word [ebp - 0x81a]
cmp eax, dword [edi + 0x10c]
jne 0x1000311f
movzx eax, word [ebp - 0x81c]
cmp eax, dword [edi + 0x110]
je 0x100031de
push dword [edi + 0x214]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movzx edx, word [ebp - 0x816]
lea esi, [edi + 0x114]
movzx ecx, word [ebp - 0x81a]
movzx eax, word [ebp - 0x81c]
push edx
push ecx
push eax
mov dword [edi + 0x110], eax
lea eax, [edi + 8]
push eax
push str.._s_04d__02d__02d.log
push esi
mov dword [edi + 0x108], edx
mov dword [edi + 0x10c], ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [edi + 0x214], eax
cmp eax, 0xffffffff
jne 0x100031a9
mov dword [edi + 4], 0
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.100059c8
mov esp, ebp
pop ebp
ret
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x100031de
push dword [edi + 0x214]
mov dword [edi + 4], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.100059c8
mov esp, ebp
pop ebp
ret
push 0x400
lea eax, [ebp - 0x80c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp + 0x14]
push eax
push ecx
push dword [ebp + 0x10]
lea ecx, [ebp - 0x80c]
call fcn.100032a0
add esp, 0xc
lea eax, [ebp - 0x40c]
push 0x400
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x80c]
push eax
movzx eax, word [ebp - 0x810]
push eax
movzx eax, word [ebp - 0x812]
push eax
movzx eax, word [ebp - 0x814]
push eax
lea eax, [ebp - 0x40c]
push str._02d:_02d:_02d__s_r_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [ebp - 0x40c]
add esp, 0x18
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10003260
push 0
lea eax, [ebp - 0x820]
sub ecx, edx
push eax
push ecx
lea eax, [ebp - 0x40c]
push eax
push dword [edi + 0x214]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.100059c8
mov esp, ebp
pop ebp
ret