joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45dd15
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x45de2d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45de2d
mov eax, dword [esi + 0x3c]
push eax
call fcn.0047500f
mov esi, eax
test esi, esi
je 0x45de2d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x45de2d
mov ecx, esi
call fcn.0045dc80
cmp edi, eax
jge 0x45de2d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x45ddb3
mov dword [esp + 0x34], 1
jmp 0x45de0e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x45de2d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0045c480
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x4759b3
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4759eb
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00473a40
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00473a18
jmp 0x4759f7
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4770a9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4770eb
call fcn.0047cb5d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4770eb
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4770e2
xor eax, eax
jmp 0x4770f3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004770f9
pop edi
pop esi
pop ebx
ret 4
Function at 0x47d08d
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x47d0bb
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47d0d9
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047cff3
jmp 0x47d0d9
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47d0d9
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047cff3
test edi, edi
mov eax, edi
jne 0x47d0c3
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.004082e9
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.004082e9
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.004082e9
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.004082e9
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.004082e9
mov dword [0x41203c], eax
call fcn.004082e9
test eax, eax
jge 0x402550
push 8
call fcn.004082e9
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.004082e9
pop ecx
push 1
call fcn.004082e9
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.004082e9
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.004082e9
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.004082e9
jmp 0x402495

Function at 0x4082e9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x4082f8
pop dword [ebp - 0x4c]
mov eax, 0x723c17f3
add eax, 0x8e046b05
sub dword [ebp - 0x4c], eax
push 0x40
push 0x1000
push 0x3c08e
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x4c]
call dword [eax]
mov ecx, 0x85ee1ebc
sub ecx, 0x85edcb85
mov esi, eax
mov edx, 0x13ee01d9
sub edx, 0x13acc615
add edx, dword [ebp - 0x4c]
mov edi, 0xa9974c97
sub edi, 0xbde87bee
mov ebx, dword [edx]
mov dword [ebp - 0x34], 0x3227f087
xor ebx, edi
xor dword [ebp - 0x44], 0x770024b5
mov dword [esi], ebx
xor dword [ebp - 0x2c], 0xdd766ea4
add esi, 4
add edx, 0x5f121e95
add edx, 0xa0ede16f
loop 0x408352
add eax, 0x13faf
xor ebx, ebx
add ebx, eax
add eax, 0x1b461d8c
add eax, 0xe4b9e279
mov ecx, 0x5731ac6d
add ecx, 0xa90e5393
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x4031a4
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404d44
test esi, esi
jne 0x4031db
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.00404e34
jmp 0x4031fc
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00403040
mov dword [esp], eax
test esi, esi
je 0x4031fc
cmp dword [ebx], 0
je 0x4031fc
dec esi
jmp 0x4031e3
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x403700
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x456008], 0x8088405
inc edx
mov dword [ebx + 0x456008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x403dc4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x456024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403e5c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403e3c
xor eax, eax
push ebp
push 0x403e35
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 0x403e78
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 0x403e3c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x456024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x456024], ax
mov esp, ebp
pop ebp
ret

Function at 0x404b1c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x45a044], 0
je 0x404b7d
cmp word [0x45a218], 0xd7b2
jne 0x404b45
cmp dword [0x45a220], 0
jbe 0x404b45
mov eax, 0x45a214
call dword [0x45a230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x45607c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404ba4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x456034], 0
jne 0x404b99
push 0
push 0x456074
push 0x45607c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404cf8
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.00402da4
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x45a045], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404cc0
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x406d64
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x406dca
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404fb4
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.0040371c
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406db4
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406dd1
lea eax, [ebp - 0x10]
call fcn.00404d44
ret
Function at 0x4098c0
Capabilities:
Read file via mapping

Disassembly:
push ebx
push ecx
cmp byte [0x45c800], 0
jne 0x409b33
call sub.kernel32.dll_GetCurrentProcessId
mov ebx, eax
xor eax, eax
mov ecx, eax
shl ecx, 2
mov edx, ebx
shr edx, cl
and edx, 0xf
mov dl, byte [edx + 0x4560cc]
mov ecx, 0x18
sub ecx, eax
mov byte [ecx + 0x4566ac], dl
mov ecx, 8
sub ecx, eax
mov byte [ecx + 0x4566c7], dl
mov byte [ecx + 0x4566db], dl
inc eax
cmp eax, 8
jne 0x4098d8
push 0x4566c8
push 0x409b38
call sub.user32.dll_FindWindowA
mov dword [0x45c7f4], eax
push 0x4566dc
push 0x409b38
call sub.user32.dll_FindWindowA
mov dword [0x45c7f8], eax
push 0x4566ac
push 0
push 4
call sub.kernel32.dll_OpenFileMappingA
mov dword [0x45c7fc], eax
mov eax, dword [0x45c7f4]
or eax, dword [0x45c7f8]
or eax, dword [0x45c7fc]
jne 0x409a5d
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [0x45a660]
push eax
push 0
mov edx, 0x4566c8
mov eax, 0x409b38
mov ecx, 0x80000000
call fcn.004073b0
mov dword [0x45c7f4], eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [0x45a660]
push eax
push 0
mov edx, 0x4566dc
mov eax, 0x409b38
mov ecx, 0x80000000
call fcn.004073b0
mov dword [0x45c7f8], eax
cmp dword [0x45c7f4], 0
je 0x4099d7
push 0x45c7e8
push 0xffffffffffffffeb
mov eax, dword [0x45c7f4]
push eax
call sub.user32.dll_SetWindowLongA
cmp dword [0x45c7f8], 0
je 0x4099f2
push 0x45c7e8
push 0xffffffffffffffeb
mov eax, dword [0x45c7f8]
push eax
call sub.user32.dll_SetWindowLongA
push 0x4566ac
push 4
push 0
push 4
push 0
push 0xffffffffffffffff
call sub.kernel32.dll_CreateFileMappingA
mov dword [0x45c7fc], eax
push 0
push 0
push 0
push 2
mov eax, dword [0x45c7fc]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [esp], eax
mov eax, dword [esp]
mov dword [eax], 0x45c7e8
mov eax, dword [esp]
push eax
call sub.kernel32.dll_UnmapViewOfFile
mov dword [0x45c7e8], 0x407e88
mov dword [0x45c7ec], 0x408184
mov dword [0x45c7f0], 0x408320
mov byte [0x45c801], 1
jmp 0x409b18
cmp dword [0x45c7fc], 0
je 0x409aa6
push 0
push 0
push 0
push 4
mov eax, dword [0x45c7fc]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [esp], eax
mov eax, dword [esp]
mov eax, dword [eax]
mov edx, dword [eax]
mov dword [0x45c7e8], edx
mov edx, dword [eax + 4]
mov dword [0x45c7ec], edx
mov edx, dword [eax + 8]
mov dword [0x45c7f0], edx
mov eax, dword [esp]
push eax
call sub.kernel32.dll_UnmapViewOfFile
jmp 0x409aff
cmp dword [0x45c7f4], 0
je 0x409ad8
push 0xffffffffffffffeb
mov eax, dword [0x45c7f4]
push eax
call sub.user32.dll_GetWindowLongA
mov edx, dword [eax]
mov dword [0x45c7e8], edx
mov edx, dword [eax + 4]
mov dword [0x45c7ec], edx
mov edx, dword [eax + 8]
mov dword [0x45c7f0], edx
jmp 0x409aff
push 0xffffffffffffffeb
mov eax, dword [0x45c7f8]
push eax
call sub.user32.dll_GetWindowLongA
mov edx, dword [eax]
mov dword [0x45c7e8], edx
mov edx, dword [eax + 4]
mov dword [0x45c7ec], edx
mov edx, dword [eax + 8]
mov dword [0x45c7f0], edx
mov eax, dword [0x45c7fc]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
mov dword [0x45c7fc], eax
mov byte [0x45c801], 0
mov eax, 0x45c7dc
call fcn.00402e44
mov eax, 0x45c7e8
call fcn.00402e60
mov byte [0x45c800], 1
pop edx
pop ebx
ret
Function at 0x40e744
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40e77d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404e34
jmp 0x40e786
mov eax, ebx
mov edx, esi
call fcn.00404d98
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40e790
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40e7b1
mov al, byte [esp]
jmp 0x40e7b3
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40ee48
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40ecb0
mov eax, dword [0x459008]
cmp byte [eax], 0
je 0x40eec4
mov eax, dword [0x458d98]
call fcn.004035a8
call fcn.00402f6c
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.0040b69c
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40ef0c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40eefa
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x458d4c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x45a660]
call fcn.004061dc
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret

Function at 0x40fc80
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40fce4
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404fb4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040b1a4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40fceb
lea eax, [ebp - 0xc]
call fcn.00404d44
ret

Function at 0x410a94
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffc00
mov esi, edx
mov edi, eax
mov eax, esi
call fcn.00404d44
push 0x400
lea eax, [esp + 4]
push eax
mov eax, edi
call fcn.00405204
mov ebp, eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableA
mov ebx, eax
cmp ebx, 0x400
jge 0x410ad9
mov edx, esp
mov eax, esi
mov ecx, ebx
call fcn.00404e34
jmp 0x410af2
mov edx, ebx
dec edx
mov eax, esi
call fcn.00405334
push ebx
mov eax, dword [esi]
call fcn.00405204
push eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableA
add esp, 0x400
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x41c390
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov al, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x41c3dd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.0041c1a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41c3f5
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x41c3fc
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0041c1a4
dec esi
jne 0x41c41e
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x41d44c
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x58
call fcn.004036e0
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret
Function at 0x42b8dc
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov eax, esi
call fcn.00404d44
cmp byte [ebx + 0x205c], 0
je 0x42b90e
mov eax, esi
lea edx, [ebx + 0x205c]
call fcn.00404fa8
jmp 0x42b9b5
cmp dword [ebx + 8], 0
jbe 0x42b9b5
xor edx, edx
push ebp
push 0x42b9ab
push dword fs:[edx]
mov dword fs:[edx], esp
mov dword [ebp - 4], 0x10
lea eax, [ebp - 0x14]
xor ecx, ecx
mov edx, dword [ebp - 4]
call fcn.004036e0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebx + 8]
push eax
call sub.ws2_32.dll_getsockname
test eax, eax
je 0x42b958
mov eax, esi
call fcn.00404d44
jmp 0x42b9a1
push dword [ebp - 0x10]
call sub.ws2_32.dll_inet_ntoa
mov edx, eax
mov eax, esi
call fcn.00404f3c
lea eax, [ebp - 0x114]
mov edx, dword [esi]
mov ecx, 0xff
call fcn.00404fe0
lea edx, [ebp - 0x114]
lea eax, [ebx + 0x205c]
mov cl, 0x18
call fcn.00403654
mov ax, word [ebp - 0x12]
push eax
call sub.ws2_32.dll_ntohs
movzx eax, ax
mov dword [ebx + 0x2090], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x42b9b5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42bb58
Capabilities:
Send data
Send data on socket

Disassembly:
push ebx
push esi
add esp, 0xffffffec
xor edx, edx
mov dword [esp], edx
xor edx, edx
xor ebx, ebx
push 0
lea ecx, [eax + 0x1030]
push ecx
push edx
lea edx, [esp + 0xc]
push edx
push 1
lea edx, [eax + 0x1044]
push edx
mov eax, dword [eax + 0x1050]
push eax
call sub.ws2_32.dll_WSASend
inc eax
jne 0x42bbdc
xor ebx, ebx
call sub.ws2_32.dll_WSAGetLastError
mov esi, eax
cmp esi, 0x3e5
je 0x42bbe5
or ebx, 0xffffffff
mov dword [esp + 4], 0x2746
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], 0x4d4
mov dword [esp + 0x10], 0x2745
lea edx, [esp + 4]
mov ecx, 3
mov eax, esi
call fcn.0042b590
test al, al
je 0x42bbe5
mov ebx, 0xffffd8f1
jmp 0x42bbe5
cmp dword [esp], 0
jbe 0x42bbe5
mov ebx, dword [esp]
mov eax, ebx
add esp, 0x14
pop esi
pop ebx
ret
Function at 0x42bbf0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x42bcbd
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebx + 0xc]
call fcn.0042b4f0
mov dword [ebx + 0x28], 2
mov eax, dword [ebx + 8]
mov dword [ebx + 0x2c], eax
push 0
lea eax, [ebx + 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebx + 0x2058]
push eax
push 1
lea eax, [ebx + 0x20]
push eax
mov eax, dword [ebx + 8]
push eax
call sub.ws2_32.dll_WSARecv
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x42bc52
call sub.ws2_32.dll_WSAGetLastError
mov ebx, eax
mov eax, ebx
sub eax, 0xffffffff
je 0x42bc67
dec eax
je 0x42bc63
sub eax, 0x3e5
jne 0x42bc6b
mov al, 1
jmp 0x42bc6d
xor eax, eax
jmp 0x42bc6d
xor eax, eax
test al, al
jne 0x42bca2
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.0040affc
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 8]
mov edx, 0x42bcd4
call fcn.00405050
mov edx, dword [ebp - 8]
mov eax, dword [0x458d98]
call fcn.004053c4
call fcn.00403904
call fcn.00402f6c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42bcc4
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404d68
ret
Function at 0x434b6c
Capabilities:
Link many functions at runtime

Disassembly:
mov byte [0x45747c], 0
mov eax, dword [0x459134]
cmp dword [eax], 2
jne 0x434d45
mov eax, dword [0x458dd0]
cmp dword [eax], 5
jl 0x434d45
call fcn.00431c9c
test al, al
jne 0x434b9d
call fcn.00431ca8
call fcn.00431c94
mov dword [0x457484], eax
push 0x434d48
mov eax, dword [0x457484]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457448], eax
cmp dword [0x457448], 0
jne 0x434bf8
mov edx, 0x8000
mov eax, 0x434d5c
call fcn.00410a10
mov dword [0x457480], eax
mov eax, dword [0x457480]
mov dword [0x457484], eax
push 0x434d48
mov eax, dword [0x457484]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457448], eax
cmp dword [0x457448], 0
je 0x434d40
push 0x434d68
mov eax, dword [0x457484]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45744c], eax
cmp dword [0x45744c], 0
je 0x434d40
push 0x434d74
mov eax, dword [0x457484]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457450], eax
cmp dword [0x457450], 0
je 0x434d40
mov byte [0x45747c], 1
push 0x434d84
mov eax, dword [0x457484]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457454], eax
push 0x434d90
mov eax, dword [0x457484]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457458], eax
push 0x434d9c
mov eax, dword [0x457484]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45745c], eax
push 0x434dac
mov eax, dword [0x457484]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457460], eax
push 0x434dbc
mov eax, dword [0x457484]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457464], eax
mov edx, 0x8000
mov eax, 0x434dd4
call fcn.00410a10
mov dword [0x457488], eax
cmp dword [0x457488], 0
je 0x434d45
push 0x434de4
mov eax, dword [0x457488]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457468], eax
push 0x434e00
mov eax, dword [0x457488]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45746c], eax
push 0x434e20
mov eax, dword [0x457488]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457470], eax
push 0x434e3c
mov eax, dword [0x457488]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457474], eax
push 0x434e54
mov eax, dword [0x457488]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457478], eax
ret
call fcn.00434aec
ret