joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002933a
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push esi
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1002936a
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
test eax, eax
je 0x10029365
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
jmp 0x100294c7
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x100293c6
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x100293c6
and dword [ebp - 0x14], 0
jmp 0x100293cd
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x14], eax
jl 0x100293e0
mov dword [ebp - 0x4c], 1
jmp 0x100293e4
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
cmp dword [eax], ecx
je 0x10029401
mov dword [ebp - 0x18], 1
jmp 0x10029405
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 4]
mov esi, dword [eax]
mov eax, dword [ebp - 4]
imul esi, dword [eax]
imul esi, dword [ebp - 0x18]
push 1
mov ecx, dword [ebp - 0xc]
call fcn.10016fc6
cmp esi, dword [eax]
jg 0x10029431
mov eax, 0x9a13
test eax, eax
jne 0x10029431
and dword [ebp - 0x1c], 0
jmp 0x10029438
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 8
jae 0x10029447
mov dword [ebp - 0x20], 1
jmp 0x1002944b
and dword [ebp - 0x20], 0
push 1
mov ecx, dword [ebp - 0xc]
call fcn.10016fc6
mov ecx, dword [ebp - 0x20]
add ecx, dword [eax]
cmp ecx, 1
jne 0x10029468
mov dword [ebp - 0x24], 1
jmp 0x1002946c
and dword [ebp - 0x24], 0
push 0
mov ecx, dword [ebp - 0xc]
call fcn.10016fc6
mov ecx, dword [ebp - 0x24]
imul ecx, dword [eax]
cmp ecx, 0x14b1
jl 0x1002948d
mov dword [ebp - 0x28], 1
jmp 0x10029491
and dword [ebp - 0x28], 0
cmp dword [ebp - 0x28], 0xfffffffe
jl 0x100294a0
mov dword [ebp - 0x2c], 1
jmp 0x100294a4
and dword [ebp - 0x2c], 0
cmp dword [ebp - 0x2c], 0xffffffff
je 0x100294b3
mov dword [ebp - 0x10], 1
jmp 0x100294b7
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10031198
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 1
call fcn.10030fc5
add esp, 0xc
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x100311c8
xor eax, eax
jmp 0x10031303
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x100311e6
xor eax, eax
jmp 0x10031303
push dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
push 1
call fcn.10030bcb
add esp, 0xc
cmp dword [ebp - 0xc], 0
jne 0x10031204
xor eax, eax
jmp 0x10031303
push 0x5265
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 1
call fcn.10031011
add esp, 0x1c
push dword [ebp + 8]
push 0
push 0x6675
push dword [ebp - 4]
push 0xf36
push dword [ebp - 8]
call fcn.1002b696
add esp, 0x18
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x71cd
push 1
push 0x5875
call fcn.1003109a
add esp, 0x18
cmp dword [ebp - 0x14], 0
je 0x10031281
push 1
push 0x5239
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.1003112f
add esp, 0x10
push dword [ebp - 4]
call fcn.100309fa
pop ecx
test eax, eax
jne 0x10031292
xor eax, eax
jmp 0x10031303
push 0x3ff5
push 0
push dword [ebp - 4]
push 0x2de4
call fcn.1002d8f9
add esp, 0x10
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x100312eb
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x18], ecx
jne 0x100312c8
xor eax, eax
jmp 0x10031303
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x100312e1
xor eax, eax
jmp 0x10031303
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x100312fc
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
jmp 0x10031300
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x10049aeb
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10049b46
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x10049b27
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 3
jge 0x10049b44
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x10]
call fcn.10016fc6
mov dword [eax], 0x947e29ac
jmp 0x10049b1c
jmp 0x10049b75
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x10049b75
push 0xbbb
push 0x152
push 0
push 0x1a8e
push 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov esp, ebp
pop ebp
ret

Function at 0x10049db4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10049dd6
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
and dword [eax], 0
jmp 0x10049e28
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x10049df8
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 3
jg 0x10049e28
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10049e26
push 0xc44
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x10049ded
mov esp, ebp
pop ebp
ret
Function at 0x1007bf85
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10086330]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.1006cd94
mov dword [ebp - 0x14], eax
cmp dword [0x1067365c], esi
jne 0x1007c078
push 0x800
push esi
push 0x10007a5c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x1007c005
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1007c158
push esi
push esi
push 0x10007a5c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x1007c158
push 0x10007a74
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1007c158
push eax
call ebx
push 0x10007a80
push edi
mov dword [0x1067365c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007a90
push edi
mov dword [0x10673660], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007aa4
push edi
mov dword [0x10673664], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1067366c], eax
test eax, eax
je 0x1007c075
push 0x10007ac0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10673668], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1007c09d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1007c090
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x1007c0b2
push 4
pop eax
jmp 0x1007c15a
cmp dword [ebp - 0x14], esi
je 0x1007c0b2
push dword [0x1067365c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1007c097
mov eax, dword [0x10673668]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x1007c110
cmp dword [0x1067366c], edi
je 0x1007c110
push eax
call ebx
push dword [0x1067366c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1007c110
test eax, eax
je 0x1007c110
call ecx
test eax, eax
je 0x1007c105
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x1007c105
test byte [ebp - 8], 1
jne 0x1007c110
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x1007c140
mov eax, dword [0x10673660]
cmp eax, edi
je 0x1007c13d
push eax
call ebx
test eax, eax
je 0x1007c13d
call eax
mov esi, eax
test esi, esi
je 0x1007c13d
mov eax, dword [0x10673664]
cmp eax, edi
je 0x1007c13d
push eax
call ebx
test eax, eax
je 0x1007c13d
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x1067365c]
call ebx
test eax, eax
je 0x1007c158
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1007c15a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call main
mov esp, ebp
pop ebp
ret
Function at 0x405860
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call fcn.004065b0
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call fcn.004065b0
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]

Function at 0x4058c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x40a068]
test esi, esi
jle 0x4059e0
mov eax, dword [0x40a06c]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp edx, ebx
ja 0x4058f4
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x405977
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x4058e0
mov dword [esp], ebx
call fcn.00406250
mov edi, eax
test eax, eax
je 0x405a07
mov eax, dword [0x40a06c]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call fcn.00406360
mov edx, dword [0x40a06c]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x4059e7
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x405970
lea edx, [eax - 4]
and edx, 0xfffffffb
jne 0x405980
add dword [0x40a068], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
cmp eax, 2
mov edx, 0x40
mov eax, 4
mov ecx, dword [esp + 0x20]
cmovne eax, edx
mov edx, dword [esp + 0x14]
add ebx, dword [0x40a06c]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x405970
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.00405860
lea esi, [esi]
lea esi, [esi]
xor esi, esi
jmp 0x4058fe
mov eax, dword [0x40a06c]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.00405860
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.00405860
lea esi, [esi]
nop
Function at 0x405ec0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x40a084
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x40a07c]
sub esp, 4
test ebx, ebx
je 0x405f15
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x405f0e
test esi, esi
je 0x405f0e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x405ef0
mov dword [esp], 0x40a084
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x404d90
Capabilities:
Get socket status
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x441288]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4424e4]
push ebx
push esi
push edi
mov ebx, dword [eax]
mov edi, dword [ebp + 8]
cmp ebx, 0xffffffff
je 0x404ebc
mov esi, dword [ebp + 0xc]
test esi, esi
jle 0x404e3a
push 0
push esi
push edi
push ebx
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x404e32
call fcn.0041e289
cmp dword [eax], 0xb
jne 0x404e5d
lea eax, [ebp - 0x118]
mov dword [ebp - 0x10c], ebx
push eax
push 0
lea eax, [ebp - 0x110]
mov dword [ebp - 0x110], 1
push eax
push 0
lea eax, [ebx + 1]
mov dword [ebp - 0x118], 1
push eax
mov dword [ebp - 0x114], 0
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
js 0x404e4f
jne 0x404e36
push str.Close_stalled_TCP_connection.
call fcn.004168e0
add esp, 4
jmp 0x404e71
add edi, eax
sub esi, eax
test esi, esi
jg 0x404dc0
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041e246
mov esp, ebp
pop ebp
ret 8
call fcn.0041e289
push dword [eax]
push str.Close_TCP_connection_while_sending_data._select___failed__errno__d.
jmp 0x404e69
call fcn.0041e289
push dword [eax]
push str.Close_TCP_connection_while_sending_data__errno__d.
call fcn.004168e0
add esp, 8
mov eax, dword [0x4424dc]
cmp eax, 0xffffffff
je 0x404ebc
cmp byte [0x4424e0], 0
push eax
je 0x404eaa
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [0x4424dc], 0xffffffff
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041e246
mov esp, ebp
pop ebp
ret 8
call fcn.0041ef4d
add esp, 4
mov dword [0x4424dc], 0xffffffff
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041e246
mov esp, ebp
pop ebp
ret 8

Function at 0x404ee0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp ecx, 0xffffffff
je 0x404f30
push 4
lea eax, [ebp - 4]
mov dword [ebp - 4], 1
push eax
push 1
push 6
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x404f0d
mov al, 1
mov esp, ebp
pop ebp
ret
call fcn.0041e289
push dword [eax]
push str.INTERNAL_ERROR___d_._Please__contact_WTware_tech_support.
push 0x477
push str.....common_fstream.cpp
push str.ERROR
call fcn.00416980
add esp, 0x14
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x418b90
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x448
mov eax, dword [0x441288]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [sym.imp.WS2_32.dll_htons]
mov ebx, edx
push edi
push 3
mov edi, ecx
mov dword [ebp - 0x448], eax
call esi
push 0
mov word [ebp - 0x434], ax
call esi
mov word [ebp - 0x432], ax
xor ecx, ecx
cmp ecx, 0x3ff
je 0x418bfa
mov al, byte [ecx + str.WTware_TFTP_v.6.2.28.]
mov byte [ebp + ecx - 0x430], al
inc ecx
cmp byte [ecx + str.WTware_TFTP_v.6.2.28.], 0
jne 0x418bd1
mov byte [ebp + ecx - 0x430], 0
jmp 0x418bfe
mov byte [ebp - 0x31], 0
lea ecx, [ebp - 0x430]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x418c07
sub ecx, edx
movzx edx, bl
lea esi, [ecx + 4]
lea ecx, [ebp - 0x444]
call fcn.004015f0
xor ecx, ecx
cmp byte [ebp + ecx - 0x444], 0
je 0x418c60
cmp byte [ebp + ecx - 0x443], 0
je 0x418c5f
cmp byte [ebp + ecx - 0x442], 0
je 0x418c5a
cmp byte [ebp + ecx - 0x441], 0
je 0x418c55
add ecx, 4
cmp ecx, 0x10
jb 0x418c23
jmp 0x418c60
add ecx, 3
jmp 0x418c60
add ecx, 2
jmp 0x418c60
inc ecx
lea eax, [ecx + 2]
cmp eax, 0x10
ja 0x418c72
mov word [ebp + ecx - 0x444], 0x2e
mov edx, ebx
lea ecx, [ebp - 0x28]
shr edx, 8
and edx, 0xff
call fcn.004015f0
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x444]
call fcn.004016c0
xor ecx, ecx
cmp byte [ebp + ecx - 0x444], 0
je 0x418cd2
cmp byte [ebp + ecx - 0x443], 0
je 0x418cd1
cmp byte [ebp + ecx - 0x442], 0
je 0x418ccc
cmp byte [ebp + ecx - 0x441], 0
je 0x418cc7
add ecx, 4
cmp ecx, 0x10
jb 0x418c95
jmp 0x418cd2
add ecx, 3
jmp 0x418cd2
add ecx, 2
jmp 0x418cd2
inc ecx
lea eax, [ecx + 2]
cmp eax, 0x10
ja 0x418ce4
mov word [ebp + ecx - 0x444], 0x2e
mov edx, ebx
lea ecx, [ebp - 0x28]
shr edx, 0x10
and edx, 0xff
call fcn.004015f0
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x444]
call fcn.004016c0
xor ecx, ecx
jmp 0x418d10
cmp byte [ebp + ecx - 0x444], 0
je 0x418d4d
cmp byte [ebp + ecx - 0x443], 0
je 0x418d4c
cmp byte [ebp + ecx - 0x442], 0
je 0x418d47
cmp byte [ebp + ecx - 0x441], 0
je 0x418d42
add ecx, 4
cmp ecx, 0x10
jb 0x418d10
jmp 0x418d4d
add ecx, 3
jmp 0x418d4d
add ecx, 2
jmp 0x418d4d
inc ecx
lea eax, [ecx + 2]
cmp eax, 0x10
ja 0x418d5f
mov word [ebp + ecx - 0x444], 0x2e
shr ebx, 0x18
lea ecx, [ebp - 0x28]
mov edx, ebx
call fcn.004015f0
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x444]
call fcn.004016c0
lea eax, [ebp - 0x444]
push eax
push str.__s__Sending_WTware_TFTP_version.
call fcn.00416930
add esp, 8
lea eax, [ebp - 0x434]
push 0x10
push dword [ebp - 0x448]
push 0
push esi
push eax
push edi
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, esi
je 0x418dbf
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.sendto___failed:__d
call fcn.004168e0
add esp, 8
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041e246
mov esp, ebp
pop ebp
ret
Function at 0x10003000
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.10002cab
cld
sub edx, dword [0xe8458d44]
mov byte [ebp - 0x18], bl
push eax
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.10002cbb
push eax
push esi
push dword [ebp + 8]
call fcn.10002c70
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.10002cbb
push eax
push esi
push dword [ebp + 8]
call fcn.10002c70
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.10002cbb
push eax
push esi
push dword [ebp + 8]
call fcn.10002c70
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.10002cab
fimul word [eax - 0x6277ed87]
jl 0x10003130
invalid
invalid

Function at 0x100034f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [ebx + 0x75fffffc], esi
mov byte [ebp - 0x34c], 0x57
mov byte [ebp - 0x34b], 0x4a
mov byte [ebp - 0x34a], 0x46
mov byte [ebp - 0x349], 0x40
mov byte [ebp - 0x348], 0x56
mov byte [ebp - 0x347], 0x56
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.10002cbb
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10002c70
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
inc dword [eax]