joyce8/EMBER2024-capa huggingface dataset:
Function at 0x449990
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47e938
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.0047a68c
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00449330
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0047a5ba
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.00476e7b
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.00476e7b
push 1
push 0
push 0
mov ecx, esi
call fcn.00476e23
push 1
push 0
push 1
mov ecx, esi
call fcn.00476e23
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0047a6fe
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x449b10
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47e938
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.0047a68c
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00449330
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0047a5ba
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x449bd4
cmp dword [esp + 0x40], 1
jne 0x449bd2
cmp ecx, eax
jge 0x449bd4
mov eax, ecx
cmp eax, 0xc8
jge 0x449be0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00449990
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0047a6fe
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x44a350
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x480e83
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0047529b
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0047a934
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0047bf4a
test eax, eax
je 0x44a46c
mov ecx, dword [esp + 0x3c]
call fcn.0047a961
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x44a430
push edi
mov ecx, esi
call fcn.00477fc2
mov ecx, esi
call fcn.0044a5d0
cmp dword [esp + 0x38], 1
jne 0x44a465
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.004780fd
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x44ce90
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x44cec3
push esi
call fcn.0044ff80
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44cebc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x44cf49
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x44cf32
mov eax, dword [esi + 8]
test eax, eax
je 0x44cee7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44cf2e
cmp eax, 2
je 0x44cf32
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44ceda
cmp eax, 3
je 0x44cf0d
cmp eax, 1
jne 0x44ceda
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44ceda
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44ceda
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0044cf70
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x44cf58
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0044cf70
add esp, 4
pop esi
ret

Function at 0x4666aa
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a4c3c]
jne 0x4666b4
repz ret
jmp fcn.0046ed30
Function at 0x46dbe0
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.00460c33
and dword [ebp - 4], 0
cmp dword [0x4b886c], 0
mov ebx, eax
jne 0x46dc91
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x46dd42
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x48f200
push edi
call esi
test eax, eax
je 0x46dd42
push eax
call fcn.00460bc1
mov dword [esp], 0x48f1f0
push edi
mov dword [0x4b886c], eax
call esi
push eax
call fcn.00460bc1
mov dword [esp], 0x48f1dc
push edi
mov dword [0x4b8870], eax
call esi
push eax
call fcn.00460bc1
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4b8874], eax
call esi
push eax
call fcn.00460bc1
pop ecx
mov dword [0x4b887c], eax
test eax, eax
je 0x46dc91
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00460bc1
pop ecx
mov dword [0x4b8878], eax
mov eax, dword [0x4b8878]
cmp eax, ebx
je 0x46dce9
cmp dword [0x4b887c], ebx
je 0x46dce9
push eax
call fcn.00460c3c
push dword [0x4b887c]
mov esi, eax
call fcn.00460c3c
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x46dce9
test edi, edi
je 0x46dce9
call esi
test eax, eax
je 0x46dce0
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x46dce0
test byte [ebp - 0xc], 1
jne 0x46dce9
or dword [ebp + 0x10], 0x200000
jmp 0x46dd22
mov eax, dword [0x4b8870]
cmp eax, ebx
je 0x46dd22
push eax
call fcn.00460c3c
pop ecx
test eax, eax
je 0x46dd22
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x46dd22
mov eax, dword [0x4b8874]
cmp eax, ebx
je 0x46dd22
push eax
call fcn.00460c3c
pop ecx
test eax, eax
je 0x46dd22
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4b886c]
call fcn.00460c3c
pop ecx
test eax, eax
je 0x46dd42
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x46dd44
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x476091
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4760c9
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.00474148
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00474120
jmp 0x4760d5
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x47777f
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 0x4777c1
call fcn.0047d336
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4777c1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4777b8
xor eax, eax
jmp 0x4777c9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004777cf
pop edi
pop esi
pop ebx
ret 4
Function at 0x47d866
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 0x47d894
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47d8b2
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047d7cc
jmp 0x47d8b2
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47d8b2
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047d7cc
test edi, edi
mov eax, edi
jne 0x47d89c
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x40600a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor esi, esi
cmp dword [0x7a125c], esi
push edi
jne 0x406044
mov ecx, 0x7a1258
push 8
mov eax, esi
pop edi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec edi
jne 0x406020
mov dword [ecx], eax
add ecx, 4
inc esi
cmp ecx, 0x7a1658
jl 0x40601b
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, ecx
dec ecx
test edx, edx
not eax
jbe 0x406079
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x10]
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x7a1258]
xor eax, esi
inc ecx
dec edx
jne 0x40605c
pop edi
pop esi
not eax
ret 0xc

Function at 0x434080
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
jmp 0x434098
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jae 0x434176
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00434a50
add esp, 8
sar eax, 0xc
cmp eax, 3
jne 0x434171
mov dword [ebp - 0x10], 0xfff
mov dword [ebp - 0xc], 0x9922c
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.00434a50
add esp, 8
and eax, dword [ebp - 0x10]
add eax, 0x8702
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
cmp dword [ebp - 4], 0
jne 0x43414a
push 0x154b
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
je 0x43414a
xor eax, eax
jmp 0x434176
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
add ecx, dword [eax]
mov edx, dword [ebp - 8]
mov eax, dword [ecx + edx - 0x8702]
add eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x10]
add edx, dword [ecx]
mov ecx, dword [ebp - 8]
mov dword [edx + ecx - 0x8702], eax
jmp 0x43408f
mov esp, ebp
pop ebp
ret

Function at 0x434a50
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0x240be8
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0x240be8
push 0x15b9
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
je 0x434a85
xor eax, eax
jmp 0x434a8f
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
movzx eax, word [eax + edx*2]
mov esp, ebp
pop ebp
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x401a80
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [esp], 0x4011d0
call sub.cygwin1.dll_puts
mov dword [esp], 0x401270
call sub.cygwin1.dll_puts
mov dword [esp], 0x40129e
call sub.cygwin1.dll_puts
mov dword [esp], 0x4012b0
call sub.cygwin1.dll_puts
mov dword [esp], 0x4012f0
call sub.cygwin1.dll_puts
mov dword [esp], 0x401330
call sub.cygwin1.dll_puts
mov dword [esp], 0x401370
call sub.cygwin1.dll_puts
mov dword [esp], 0x4013b0
call sub.cygwin1.dll_puts
mov dword [esp], 0x4013e4
call sub.cygwin1.dll_puts
mov dword [esp], 0x401410
call sub.cygwin1.dll_puts
mov dword [esp], 0x401450
call sub.cygwin1.dll_puts
mov dword [esp], 0x401490
call sub.cygwin1.dll_puts
mov dword [esp], 0x4014c1
call sub.cygwin1.dll_puts
mov dword [esp], 0x4014f0
call sub.cygwin1.dll_puts
mov dword [esp], 0x40151f
call sub.cygwin1.dll_puts
mov dword [esp], 0x401550
call sub.cygwin1.dll_puts
mov dword [esp], 0x401590
call sub.cygwin1.dll_puts
mov dword [esp], 0x4015d0
call sub.cygwin1.dll_puts
mov dword [esp], 0x401610
call sub.cygwin1.dll_puts
mov dword [esp], 0x401650
call sub.cygwin1.dll_puts
mov dword [esp], 0x401690
call sub.cygwin1.dll_puts
mov dword [esp], 0x4016d0
call sub.cygwin1.dll_puts
mov dword [esp], 0x401710
call sub.cygwin1.dll_puts
mov dword [esp], 0x401750
call sub.cygwin1.dll_puts
mov dword [esp], 0x401790
call sub.cygwin1.dll_puts
mov dword [esp], 0x4017c4
call sub.cygwin1.dll_puts
mov dword [esp], 0x4017f0
call sub.cygwin1.dll_puts
mov dword [esp], 0x401830
call sub.cygwin1.dll_puts
mov dword [esp], 0x40185e
call sub.cygwin1.dll_puts
mov dword [esp], 0x401868
call sub.cygwin1.dll_puts
mov dword [esp], 0x401890
call sub.cygwin1.dll_puts
mov dword [esp], 0x4018b3
call sub.cygwin1.dll_puts
mov dword [esp], 0x4018d0
call sub.cygwin1.dll_puts
mov dword [esp], 0x401910
call sub.cygwin1.dll_puts
mov dword [esp], 0x401930
call sub.cygwin1.dll_puts
mov dword [esp], 0x401970
call sub.cygwin1.dll_puts
mov dword [esp], 0x401999
call sub.cygwin1.dll_puts
mov dword [esp], 0x4019b6
call sub.cygwin1.dll_puts
mov dword [esp], 0x4019d2
call sub.cygwin1.dll_puts
mov dword [esp], 0x4019f0
call sub.cygwin1.dll_puts
mov dword [esp], 0x401a10
call sub.cygwin1.dll_puts
mov dword [esp], 0x401a2c
call sub.cygwin1.dll_puts
mov dword [esp], 0x401a32
call sub.cygwin1.dll_puts
mov dword [esp], 0x401a50
call sub.cygwin1.dll_puts
mov dword [esp], 2
call sub.cygwin1.dll_exit
lea esi, [esi]
lea edi, [edi]
Function at 0x404520
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push esi
lea eax, [ebp - 0x3c]
push ebx
sub esp, 0xd0
mov word [ebp - 0x3e], 0
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x58], 2
mov word [ebp - 0x56], 0x8900
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x46], 0x1000
mov word [ebp - 0x44], 0x100
mov word [ebp - 0x42], 0
mov word [ebp - 0x40], 0
mov dword [esp], 0x4043d0
mov dword [esp + 4], eax
mov dword [esp + 8], 0
call fcn.004043e0
lea eax, [ebp - 0xb0]
mov word [ebp - 0x1a], 0x2100
mov word [ebp - 0x18], 0x100
mov dword [esp], eax
mov dword [esp + 4], 0
call sub.cygwin1.dll_gettimeofday
mov ecx, dword [ebp - 0xac]
mov edx, dword [ebp + 0x10]
mov dword [esp + 8], 0x32
mov esi, dword [ebp - 0xb0]
mov eax, ecx
mov dword [esp + 0xc], 0
sar ecx, 0x1f
sub esi, edx
mov dword [esp + 0x14], 0x10
mov edx, 0x10624dd3
imul esi, esi, 0x3e8
imul edx
sar edx, 6
sub edx, ecx
lea eax, [edx + esi]
movzx eax, ax
xchg ah, al
mov word [ebp - 0x48], ax
mov eax, dword [ebp + 8]
mov dword [esp], eax
lea eax, [ebp - 0x48]
mov dword [esp + 4], eax
lea eax, [ebp - 0x58]
mov dword [esp + 0x10], eax
call sub.cygwin1.dll_sendto
cmp eax, 0xffffffff
je 0x404630
add esp, 0xd0
pop ebx
pop esi
pop ebp
ret
mov dword [esp], ebx
lea ebx, [ebp - 0xa8]
call sub.cygwin1.dll_inet_ntoa
mov dword [esp + 0xc], eax
mov dword [esp], ebx
mov dword [esp + 4], 0x50
mov dword [esp + 8], 0x404505
call sub.cygwin1.dll_snprintf
mov eax, dword [0x408010]
test eax, eax
je 0x40466a
mov eax, 0xffffffff
jmp 0x404617
mov dword [esp], ebx
call sub.cygwin1.dll_perror
jmp 0x404663

Function at 0x404f20
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov edi, dword [ebp + 0x10]
movzx eax, byte [ebp + 8]
mov dword [esp], 0x64
mov byte [ebp - 0xd], al
call sub.cygwin1.dll_malloc
mov dword [ebp - 0x14], eax
test eax, eax
je 0x404fc3
xor esi, esi
xor ebx, ebx
lea esi, [esi]
mov dword [esp], edi
lea eax, [ebx + str.__MSBROWSE__]
mov dword [esp + 4], eax
call sub.cygwin1.dll_strstr
test eax, eax
je 0x404f72
movzx eax, byte [ebp - 0xd]
cmp al, byte [ebx + 0x408030]
je 0x404fb0
inc esi
add ebx, 0x1c
cmp esi, 0x22
jle 0x404f50
mov dword [esp + 4], 0x64
mov eax, dword [ebp - 0x14]
mov dword [esp + 8], 0x404ef3
mov dword [esp], eax
movzx eax, byte [ebp - 0xd]
mov dword [esp + 0xc], eax
call sub.cygwin1.dll_snprintf
mov eax, dword [ebp - 0x14]
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebx + 0x408034]
jne 0x404f72
mov eax, dword [ebx + 0x408038]
jmp 0x404fa1
mov dword [esp], 0x404f0d
call sub.cygwin1.dll_perror
mov dword [esp], 1
call sub.cygwin1.dll_exit
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x4051f0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 8], esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], edi
mov edi, dword [ebp + 0xc]
mov dword [esp], esi
call sub.cygwin1.dll_strlen
inc eax
mov dword [esp], eax
call sub.cygwin1.dll_malloc
test eax, eax
mov ebx, eax
je 0x4052b0
mov dword [esp], ebx
mov dword [esp + 4], esi
call sub.cygwin1.dll_strcpy
mov dword [esp], ebx
mov dword [esp + 4], 0x2d
call sub.cygwin1.dll_strchr
test eax, eax
je 0x4052a0
mov byte [eax], 0
inc eax
mov dword [esp], eax
call sub.cygwin1.dll_atoi
cmp eax, 0xff
mov esi, eax
ja 0x4052a0
mov dword [esp], ebx
call sub.cygwin1.dll_inet_addr
cmp eax, 0xffffffff
je 0x4052a0
mov edx, eax
xchg dh, dl
ror edx, 0x10
xchg dh, dl
mov dword [edi], edx
mov eax, edx
and eax, 0xffffff00
or eax, esi
cmp eax, edx
mov dword [edi + 4], eax
jb 0x4052a0
mov dword [esp], ebx
call fcn.004078e0
mov eax, 1
lea esi, [esi]
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov dword [esp], ebx
call fcn.004078e0
xor eax, eax
jmp 0x405290
mov eax, dword [0x408010]
test eax, eax
jne 0x405220
mov dword [esp], 0x405034
call sub.cygwin1.dll_perror
mov dword [esp], 1
call sub.cygwin1.dll_exit
nop
lea esi, [esi]
lea edi, [edi]
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], 4
call sub.cygwin1.dll_malloc
test eax, eax
mov ebx, eax
je 0x405354
mov dword [esp], esi
mov dword [esp + 4], 0
mov dword [esp + 8], ebx
call fcn.004051a0
jmp 0x405320
mov eax, dword [ebx]
mov dword [esp], eax
call sub.cygwin1.dll_inet_ntoa
mov dword [esp], eax
call sub.cygwin1.dll_puts
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], ebx
call fcn.004051a0
test eax, eax
jne 0x405320
mov dword [ebp + 8], ebx
add esp, 0x10
pop ebx
pop esi
pop ebp
jmp fcn.004078e0
mov eax, dword [0x408010]
test eax, eax
jne 0x4052fd
mov dword [esp], 0x405034
call sub.cygwin1.dll_perror
mov dword [esp], 1
call sub.cygwin1.dll_exit
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
dec ebp
popal
insb byte es:[edi], dx
insb byte es:[edi], dx
outsd dx, dword [esi]
arpl word [eax], sp
popaw
imul ebp, dword [ebp + 0x64], 0x55f68900
push ebp
mov ebp, esp
sub esp, 8
mov dword [esp], 4
call sub.cygwin1.dll_malloc
test eax, eax
je 0x4053b0
mov dword [eax], 0
mov esp, ebp
pop ebp
ret
mov edx, dword [0x408010]
test edx, edx
jne 0x4053a6
mov dword [esp], 0x405380
call sub.cygwin1.dll_perror
mov dword [esp], 1
call sub.cygwin1.dll_exit
lea esi, [esi]
lea edi, [edi]