joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404000
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x404036
mov dword [0x446040], eax
mov edx, sym.GqqsE_G___xBdLxB_E_E_EEtxBdLxB_EW1qqsEDE_G__W1xBd
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0040cae0
test eax, eax
sete al
movzx eax, al
mov dword [0x43e0d0], eax
leave
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
sete al
movzx eax, al
mov dword [0x43e0d0], eax
leave
ret

Function at 0x404120
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
lea eax, [ebp - 0xc]
sub esp, 0x68
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], esi
mov dword [ebp - 4], edi
mov dword [ebp - 0x28], sym.Ba0uy
mov dword [ebp - 0x24], 0x43cbc4
mov dword [ebp - 0x1c], 0x4041e0
mov dword [ebp - 0x18], esp
mov dword [esp], eax
call fcn.0040d050
cmp dword [0x43e0d0], 0
mov dword [ebp - 0x44], 0x446050
je 0x4041c0
jl 0x404200
mov dword [ebp - 0x3c], 1
mov eax, dword [0x446040]
mov dword [ebp - 0x4c], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x50]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x54]
sub esp, 4
test eax, eax
mov dword [ebp - 0x48], eax
je 0x4042a3
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x44], eax
lea esi, [esi]
lea eax, [ebp - 0x40]
mov dword [esp], eax
call fcn.0040d130
mov eax, dword [ebp - 0x44]
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov edx, dword [0x446660]
mov eax, 0xffffffff
test edx, edx
je 0x40421a
mov eax, dword [0x43e0d4]
test eax, eax
je 0x40425a
xor eax, eax
test eax, eax
jne 0x404250
mov edi, dword [0x43e0d0]
test edi, edi
js 0x404250
mov dword [ebp - 0x44], 0x446050
mov ebx, dword [0x43e0d0]
test ebx, ebx
je 0x4041c0
jmp 0x40416e
xor esi, esi
mov dword [0x43e0d0], esi
jmp 0x404228
mov dword [esp], 0x43e0d8
mov dword [ebp - 0x3c], 1
call sub.KERNEL32.dll_InterlockedIncrement
sub esp, 4
test eax, eax
je 0x4042e1
mov eax, dword [0x43e0d4]
test eax, eax
jne 0x404218
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x3c], 1
call eax
sub esp, 4
mov eax, dword [0x43e0d4]
test eax, eax
je 0x40427d
jmp 0x404218
mov dword [esp], 8
call sub.msvcrt.dll_malloc
mov dword [ebp - 0x48], eax
test eax, eax
je 0x4042d5
mov dword [esp + 4], eax
mov eax, dword [0x446040]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
xor edx, edx
test eax, eax
je 0x40430a
test edx, edx
je 0x4042f5
mov dword [ebp - 0x3c], 1
call sym.EDE_G__W1xBdLxBdLxBdLxB_EkG__9_s_7tYG_
call sym.__xBdLxB_E_E_EEtxBdLxB_EW1qqsEDE_G__W1xBdLxBdLxBdLxB_EkG__
mov eax, 1
mov dword [0x43e0d4], eax
jmp 0x404218
mov eax, dword [ebp - 0x48]
mov dword [eax], 0
mov dword [eax + 4], 0
jmp 0x4041b6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
jmp 0x4042d1
Function at 0x409950
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
lea esi, [esi]
lea edi, [edi]
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym.s_5_qG_s__qG_rlA_qG_
mov dword [esp], eax
mov dword [esp + 8], esi
mov dword [esp + 4], edi
call sub.msvcrt.dll__read
cmp eax, 0xffffffff
mov ebx, eax
jne 0x40999c
call sub.msvcrt.dll__errno
cmp dword [eax], 4
je 0x409970
add esp, 0x1c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x40c980
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov eax, 0x10
mov ebp, esp
push ebx
sub esp, 0x64
and esp, 0xfffffff0
call fcn.0040daa0
call fcn.0040cbe0
call sub.KERNEL32.dll_GetCommandLineA
mov ebx, eax
lea eax, [ebp - 0x58]
mov dword [esp], eax
call sub.KERNEL32.dll_GetStartupInfoA
sub esp, 4
test ebx, ebx
jne 0x40c9b8
jmp 0x40ca56
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x20
sete al
cmp cl, 9
sete dl
or eax, edx
test al, 1
jne 0x40c9b7
cmp cl, 0x22
je 0x40ca10
cmp cl, 0x20
setne al
xor edx, edx
cmp cl, 9
setne dl
test eax, edx
je 0x40ca30
lea esi, [esi]
lea edi, [edi]
test cl, cl
je 0x40ca30
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x20
setne al
xor edx, edx
cmp cl, 9
setne dl
test eax, edx
jne 0x40c9f0
jmp 0x40ca30
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x22
setne al
xor edx, edx
test cl, cl
setne dl
test eax, edx
jne 0x40ca10
cmp cl, 0x22
je 0x40ca92
lea esi, [esi]
cmp cl, 0x20
sete al
cmp cl, 9
sete dl
jmp 0x40ca50
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x20
sete dl
cmp cl, 9
sete al
or eax, edx
test al, 1
jne 0x40ca40
mov dword [esp], 0
call sub.KERNEL32.dll_GetModuleHandleA
sub esp, 4
test byte [ebp - 0x2c], 1
mov edx, 0xa
je 0x40ca74
movzx edx, word [ebp - 0x28]
mov dword [esp + 8], ebx
xor ebx, ebx
mov dword [esp + 4], ebx
mov dword [esp + 0xc], edx
mov dword [esp], eax
call sym._ypvp___xqqts_lz
sub esp, 0x10
mov ebx, dword [ebp - 4]
leave
ret
inc ebx
movzx ecx, byte [ebx]
jmp 0x40ca30

Function at 0x40cf40
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov ebx, dword [0x4466c0]
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x40cf80
mov dword [ebx + 0x2c], eax
xor eax, eax
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x2c]
mov dword [esp], eax
call fcn.0040cae0
test eax, eax
sete al
movzx eax, al
mov dword [ebx + 0x30], eax
add esp, 0x14
pop ebx
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
sete al
movzx eax, al
mov dword [ebx + 0x30], eax
add esp, 0x14
pop ebx
pop ebp
ret
Function at 0x402ed5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x402ee4
pop dword [ebp - 0x48]
mov eax, 0x402ee4
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0x49318f8b
sub dword [ebp - 0x58], 0xfadf4a40
mov dword [ebp - 0x54], 0x2bb55656
add dword [ebp - 0x54], 0x67df5ef
mov dword [ebp - 0x50], 0xc6532711
add dword [ebp - 0x50], 0x85f91d1d
mov dword [ebp - 0x4c], 0x639c1c14
sub dword [ebp - 0x4c], 0x639c1c14
lea eax, [ebp - 0x58]
push eax
mov eax, 0x32b3f3ff
sub eax, 0x327372fb
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0x716ef143
sub dword [ebp - 0x58], 0xfcfc87ed
mov dword [ebp - 0x54], 0x63e341e5
sub dword [ebp - 0x54], 0x2276e070
mov dword [ebp - 0x50], 0x74435e4
add dword [ebp - 0x50], 0x5c2b3688
mov dword [ebp - 0x4c], 0xcd242249
add dword [ebp - 0x4c], 0x32dbddb7
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x388ab
push 0
call eax
mov ecx, 0x79d8a56b
add ecx, 0x8627a89b
xor esi, esi
add esi, eax
mov edi, 0x436c10e2
add edi, 0xbcdad31e
add edi, dword [ebp - 0x48]
mov edx, 0x25915e36
sub dword [ebp - 0x44], 0x2ebbbe02
mov ebx, dword [edi]
sub dword [ebp - 0x20], 0x346a2eb1
xor ebx, edx
sub dword [ebp - 0x34], edx
mov dword [esi], ebx
add dword [ebp - 0x34], edx
add esi, 0x156c541c
sub esi, 0x156c5418
add edi, 0x5d282439
add edi, 0xa2d7dbcb
loop 0x402ff8
add eax, 0x12aeb
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x32aed9d2
sub ecx, 0x326ed9d2
add ecx, dword [ebp - 0x48]
call ebx
leave
ret

Function at 0x40317b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
cmp eax, esi
jl 0x4031a6
mov ecx, dword [0x42a298]
push esi
add eax, ecx
push esi
push eax
mov dword [0x418ed4], eax
push dword [0x40a01c]
call dword [sym.imp.kernel32.dll_SetFilePointer]
push 4
call fcn.00403283
cmp eax, esi
jl 0x40327d
lea eax, [ebp + 8]
push 4
push eax
push dword [0x40a01c]
call fcn.00402ed5
test eax, eax
je 0x40326d
push dword [ebp + 8]
add dword [0x418ed4], 4
call fcn.00403283
mov ebx, eax
cmp ebx, esi
jl 0x40327b
cmp dword [ebp + 0x10], esi
jne 0x403249
cmp dword [ebp + 8], esi
jle 0x40327b
mov esi, 0x414ed0
cmp dword [ebp + 8], 0x4000
mov eax, dword [ebp + 8]
jl 0x40320b
mov eax, 0x4000
push eax
push esi
push dword [0x40a01c]
mov dword [ebp - 4], eax
call fcn.00402ed5
test eax, eax
je 0x40326d
push dword [ebp - 4]
push esi
push dword [ebp + 0xc]
call fcn.00402ed5
test eax, eax
je 0x403245
mov eax, dword [ebp - 4]
sub dword [ebp + 8], eax
add dword [0x418ed4], eax
add ebx, eax
cmp dword [ebp + 8], 0
jg 0x4031fa
jmp 0x40327b
push 0xfffffffffffffffe
jmp 0x40326f
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x14]
jl 0x403254
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 4]
push esi
push ecx
push eax
push dword [ebp + 0x10]
push dword [0x40a01c]
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
jne 0x403272
push 0xfffffffffffffffd
pop eax
jmp 0x40327d
mov ebx, dword [ebp - 4]
add dword [0x418ed4], ebx
mov eax, ebx
pop esi
pop ebx
leave
ret 0x10
Function at 0x1001cf50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x100df320]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x1001cf80
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a7270
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
mov eax, dword [eax]
test eax, eax
je 0x1001cfb0
mov edx, dword [esi + 0x30]
mov edx, dword [edx]
add edx, eax
cmp eax, edx
jae 0x1001cfb0
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void_]
pop esi
mov byte [eax], bl
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a7270
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
push edi
je 0x1001d0ab
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x1001cfd9
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x1001d00d
push dword [esi + 0x4c]
movsx eax, bl
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a7270
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x28], bl
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
sub eax, 0
je 0x1001d06c
sub eax, 1
je 0x1001d06c
sub eax, 2
jne 0x1001d0ab
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.10035de0
add esp, 8
or ecx, 0xffffffff
test al, al
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a7270
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x1001d08a
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x1001d0ab
lea eax, [ebp - 0x28]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
je 0x1001d0ab
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a7270
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100a7270
mov esp, ebp
pop ebp
ret 4
Function at 0x10035de0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x10035def
pop dword [ebp - 8]
mov eax, 0x46144908
add eax, 0xc9ef14e7
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0xc7e97ffd
add dword [ebp - 0x18], 0x8668c54e
mov dword [ebp - 0x14], 0xbfa7a57a
add dword [ebp - 0x14], 0x728ba6cb
mov dword [ebp - 0x10], 0x541a41fd
sub dword [ebp - 0x10], 0x7cdfdcf
mov dword [ebp - 0xc], 0xedf07978
add dword [ebp - 0xc], 0x120f8688
lea eax, [ebp - 0x18]
push eax
mov eax, 0xd1b03937
add eax, 0x3e5b37a9
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0xe151fd3f
add dword [ebp - 0x18], 0x93206c17
mov dword [ebp - 0x14], 0xc4c27dcd
add dword [ebp - 0x14], 0x7ca9e3a8
mov dword [ebp - 0x10], 0x71469e6
sub dword [ebp - 0x10], 0xa3a4fd7a
mov dword [ebp - 0xc], 0x3c84492b
add dword [ebp - 0xc], 0xc37bb6d5
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, 0xc9e463c
sub eax, 0xfc92d5a0
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x5d199
push 0
call eax
mov ecx, 0xd6b6d998
sub ecx, 0xd6b69441
mov edx, eax
mov ebx, 0x873e2bc6
sub ebx, 0x772ef7c6
add ebx, dword [ebp - 8]
mov esi, 0xb544bf0f
xor dword [ebp - 4], 0x7ff958df
mov edi, dword [ebx]
add dword [ebp - 4], edx
xor edi, esi
add dword [ebp - 4], 0x910e1159
mov dword [edx], edi
xor dword [ebp - 4], ecx
add edx, 4
add ebx, 4
loop 0x10035f0b
add eax, 0x74fdb5e6
sub eax, 0x74fcadb7
xor ebx, ebx
add ebx, eax
add eax, 0x992f4637
add eax, 0x66d0b9ce
mov ecx, 0x10000000
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x405d7e
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x7a1244], 0
push esi
jne 0x405db5
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405d8f
mov dword [ecx*4 + 0x7a1240], eax
inc ecx
cmp ecx, 0x100
jl 0x405d8a
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405de6
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x7a1240]
xor eax, esi
inc ecx
dec edx
jne 0x405dc8
pop edi
not eax
pop esi
ret 0xc

Function at 0x10002b71
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x10002b80
pop dword [ebp - 0x28]
mov eax, 0x10002b80
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0x15bc4100
sub dword [ebp - 0x38], 0xc769fbb5
mov dword [ebp - 0x34], 0x8322ed09
add dword [ebp - 0x34], 0xaf105f3c
mov dword [ebp - 0x30], 0xdbe3072d
sub dword [ebp - 0x30], 0x8f96c2ff
mov dword [ebp - 0x2c], 0x9646e7d6
add dword [ebp - 0x2c], 0x69b9182a
lea eax, [ebp - 0x38]
push eax
mov eax, 0xdc01e4e7
add eax, 0x33fe6b7d
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0xd09f1d08
sub dword [ebp - 0x38], 0x5c2cb3b2
mov dword [ebp - 0x34], 0x897fc504
sub dword [ebp - 0x34], 0x4813638f
mov dword [ebp - 0x30], 0xe804a790
add dword [ebp - 0x30], 0x7b6ac4dc
mov dword [ebp - 0x2c], 0x5c25f801
sub dword [ebp - 0x2c], 0x5c25f801
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0x5e758356
add eax, 0xb18acd06
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x38b15
push 0
call eax
mov ecx, 0x4f23cd8b
sub ecx, 0x4f237de7
xor edx, edx
add edx, eax
mov ebx, 0x150831a8
sub ebx, 0x5042ba8
add ebx, dword [ebp - 0x28]
mov edi, 0xce2df05e
sub edi, 0x80da1849
xor dword [ebp - 0x18], ebx
mov esi, dword [ebx]
xor dword [ebp - 0x24], 0x89b9037d
sub esi, edi
add dword [ebp - 0xc], ebx
mov dword [edx], esi
add dword [ebp - 0x14], 0x78f79c0
add edx, 0xeb087fb1
add edx, 0x14f78053
add ebx, 0xc6d1cc19
add ebx, 0x392e33eb
loop 0x10002c9f
add eax, 0xb566c965
sub eax, 0xb5659802
mov ebx, eax
add eax, 0xd53fb260
add eax, 0x2ac04da5
mov ecx, 0x6fb8457e
add ecx, 0xa047ba82
add ecx, dword [ebp - 0x28]
call ebx
leave
ret

Function at 0x1108f871
Capabilities:
Encode data using xor

Disassembly:
mov cl, 0x68
bswap ecx
call fcn.11042a01
sar bl, cl
mov esp, dword [eax - 0x1ef240f5]
pop ebp
xlatb
test al, 0xd9
invalid
mov ebp, dword [esp + 0x10]
mov ecx, 0x40b01d74
setae cl
or ecx, ecx
jne 0x10ec8430
test dword [edi - 0xc40568b], esi
hlt

Function at 0x110c0d8d
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x114
jmp 0x11370739
push ebp
inc ebp
add bp, sp
mov ebp, esp
mov ecx, dword [ebp + 8]
jmp 0x10e912c6
Function at 0x1000131c
Capabilities:
Delete file

Disassembly:
sub esp, 0x670
push ebp
push esi
push edi
push 0x400
lea eax, [esp + 0x27c]
mov edi, ecx
push 0
push eax
call fcn.1000bff0
push 0x73
xor eax, eax
mov word [esp + 0x34], ax
pop eax
push 0x2a
mov word [esp + 0x2a], ax
pop eax
push 0x25
pop ebp
push 0x5c
pop ecx
push 0x2e
mov word [esp + 0x32], ax
mov word [esp + 0x2e], ax
pop eax
mov word [esp + 0x2c], ax
lea eax, [esp + 0x24]
push edi
push eax
lea eax, [esp + 0x28c]
mov word [esp + 0x2c], bp
push eax
mov word [esp + 0x34], cx
call dword [0x100329d4]
add esp, 0x18
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x27c]
push eax
call dword [0x100329d0]
mov esi, eax
cmp esi, 0xffffffff
je 0x1000148e
test byte [esp + 0x28], 0x10
jne 0x10001473
mov ecx, 0x1002e3d0
lea eax, [esp + 0x54]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100013de
test dx, dx
je 0x100013da
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100013de
add eax, 4
add ecx, 4
test dx, dx
jne 0x100013b8
xor eax, eax
jmp 0x100013e3
sbb eax, eax
or eax, 1
test eax, eax
je 0x10001473
mov ecx, 0x1002e3d4
lea eax, [esp + 0x54]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1000141a
test dx, dx
je 0x10001416
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1000141a
add eax, 4
add ecx, 4
test dx, dx
jne 0x100013f4
xor eax, eax
jmp 0x1000141f
sbb eax, eax
or eax, 1
test eax, eax
je 0x10001473
push 0x5c
pop eax
mov word [esp + 0x10], ax
xor eax, eax
push 0x73
mov word [esp + 0x1a], ax
pop eax
mov word [esp + 0xe], ax
mov word [esp + 0x14], ax
lea eax, [esp + 0x54]
push eax
push edi
lea eax, [esp + 0x14]
mov word [esp + 0x14], bp
push eax
lea eax, [esp + 0x284]
mov word [esp + 0x1e], bp
push eax
call dword [0x100329d4]
add esp, 0x10
lea eax, [esp + 0x278]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esp + 0x28]
push eax
push esi
call dword [0x100329cc]
test eax, eax
jne 0x100013a4
push esi
call dword [0x100329c8]
pop edi
pop esi
pop ebp
add esp, 0x670
ret
Function at 0x10001498
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x670
push ebx
push ebp
push esi
push edi
push 0x400
lea eax, [esp + 0x284]
mov edi, ecx
push 0
push eax
call fcn.1000bff0
add esp, 0xc
push 0x2a
pop eax
push 0x73
pop ecx
push 0x25
pop ebp
mov word [esp + 0x2a], ax
mov word [esp + 0x26], ax
xor eax, eax
push 0x5c
mov word [esp + 0x30], ax
pop eax
push 0x2e
pop ebx
mov word [esp + 0x24], ax
lea eax, [esp + 0x20]
push edi
push eax
lea eax, [esp + 0x288]
mov word [esp + 0x2a], cx
push eax
mov word [esp + 0x2c], bp
mov word [esp + 0x34], bx
call dword [0x100329d4]
add esp, 0xc
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x284]
push eax
call dword [0x100329d0]
mov esi, eax
cmp esi, 0xffffffff
je 0x100015b6
test byte [esp + 0x30], 0x10
je 0x1000159b
cmp word [esp + 0x5c], bx
je 0x1000159b
cmp word [esp + 0x5e], bx
je 0x1000159b
xor eax, eax
mov word [esp + 0x1a], bp
push 0x5c
mov word [esp + 0x22], ax
pop eax
push 0x73
mov word [esp + 0x1c], ax
pop eax
mov word [esp + 0x1c], ax
mov word [esp + 0x16], ax
lea eax, [esp + 0x5c]
push eax
push edi
lea eax, [esp + 0x1c]
mov word [esp + 0x1c], bp
push eax
lea eax, [esp + 0x28c]
push eax
call dword [0x100329d4]
add esp, 0x10
lea ecx, [esp + 0x280]
call fcn.1000131c
lea eax, [esp + 0x280]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea eax, [esp + 0x30]
push eax
push esi
call dword [0x100329cc]
test eax, eax
jne 0x1000152a
push esi
call dword [0x100329c8]
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100026bb
Capabilities:
Create tcp socket

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0x78]
call fcn.1000908b
push 6
push 1
push 2
pop ebx
push ebx
call dword [sym.imp.WS2_32.dll_socket]
mov dword [edi + 0x78], eax
lea esi, [edi + 0x40c0]
lea eax, [edi + 0x40c4]
mov word [esi], bx
push eax
push str.127.0.0.1
push ebx
call dword [sym.imp.WS2_32.dll_InetPtonW]
mov ecx, 0xcee
add cx, word [edi + 0x4170]
call fcn.10009043
push 0x10
push esi
push dword [edi + 0x78]
mov word [edi + 0x40c2], ax
call dword [0x100329b8]
cmp eax, 0xffffffff
je 0x10002747
mov ecx, dword [esp + 0x10]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002725
push 0
sub ecx, edx
push ecx
push dword [esp + 0x18]
push dword [edi + 0x78]
call dword [0x100329b4]
cmp eax, 0xffffffff
je 0x10002747
mov al, 1
jmp 0x10002749
xor al, al
pop edi
pop esi
pop ebx
ret 4

Function at 0x10002f3c
Capabilities:
Create tcp socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x194
lea eax, [esp + 4]
push ebx
push esi
push edi
push eax
push 0x101
mov edi, ecx
call dword [0x100329ac]
push 6
push 1
push 2
pop ebx
push ebx
call dword [sym.imp.WS2_32.dll_socket]
mov dword [edi + 0x78], eax
cmp eax, 0xffffffff
jne 0x10002f7d
call dword [0x100329a8]
xor al, al
jmp 0x10002fe1
lea eax, [edi + 0x40c4]
push eax
push str.127.0.0.1
lea esi, [edi + 0x40c0]
push ebx
mov word [esi], bx
call dword [sym.imp.WS2_32.dll_InetPtonW]
mov ecx, 0xcee
add cx, word [edi + 0x4170]
call fcn.10009043
push 0x10
push esi
push dword [edi + 0x78]
mov word [edi + 0x40c2], ax
call dword [0x100329b8]
cmp eax, 0xffffffff
jne 0x10002fcc
mov ecx, dword [edi + 0x78]
call fcn.1000908b
jmp 0x10002f73
push str.PING
mov ecx, edi
call fcn.100026bb
mov ecx, edi
call fcn.1000274f
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10002fe8
Capabilities:
Enumerate process modules

Disassembly:
mov eax, 0x100261ea
call fcn.10025fe0
sub esp, 0x448
push esi
push edi
push dword [ebp + 8]
mov edi, ecx
push 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x454], 0x428
lea eax, [ebp - 0x454]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
jmp 0x10003063
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10006489
and dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [edi + 0x40d0]
call fcn.10007842
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.10006877
lea eax, [ebp - 0x454]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x10003023
mov ecx, esi
call fcn.10008bd8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4