joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42a4b8
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x465098
call fcn.0045ea44
sub esp, 0x24
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
call ebx
push eax
mov eax, edi
call fcn.0042a4a5
mov eax, dword [edi + 0x50]
sub eax, 0
je 0x42a60e
dec eax
je 0x42a4f0
dec eax
je 0x42a555
dec eax
jne 0x42a621
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
lea eax, [edi + 0xbc]
push 1
push eax
call esi
call ebx
mov ecx, dword [edi + 0x48]
lea edx, [edi + 0x60]
push edx
lea edx, [edi + 0x58]
push edx
lea edx, [edi + 0x98]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov dword [ebp - 0x10], eax
call ebx
sub eax, dword [ebp - 0x14]
push 0
mov dword [edi + 0xb4], eax
lea eax, [edi + 0xbc]
push eax
call esi
mov esi, dword [ebp - 0x10]
mov eax, esi
push 0x64
cdq
pop ecx
idiv ecx
cmp eax, 2
jne 0x42a5aa
mov eax, dword [edi + 0x44]
push edi
push esi
push 0x1401
jmp 0x42a619
lea eax, [edi + 0xbc]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
call ebx
mov esi, dword [edi + 0x4c]
mov dword [ebp - 0x10], eax
lea eax, [edi + 0x58]
push eax
call fcn.004377a4
mov esi, eax
call ebx
sub eax, dword [ebp - 0x10]
push 0
mov dword [edi + 0xb4], eax
lea eax, [edi + 0xbc]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 0x64
mov eax, esi
cdq
pop ecx
idiv ecx
push edi
push esi
cmp eax, 2
mov eax, dword [edi + 0x44]
jne 0x42a614
push 0x1401
jmp 0x42a619
cmp eax, 3
jne 0x42a5f4
lea eax, [ebp - 0x30]
push eax
mov eax, dword [edi + 0x48]
call fcn.0043706e
and dword [ebp - 4], 0
lea esi, [edi + 0x7c]
push eax
mov ecx, esi
call fcn.00409280
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00407d30
lea eax, [edi + 0xc]
push eax
push esi
call fcn.004052f0
pop ecx
pop ecx
push edi
push dword [ebp - 0x10]
test al, al
mov eax, dword [edi + 0x44]
jne 0x42a614
push 0x1403
jmp 0x42a619
push esi
push str.ret:__d_n
push 8
push dword [0x48d1c4]
call fcn.00454eb0
add esp, 0x10
push edi
push esi
jmp 0x42a611
push edi
push 0
mov eax, dword [edi + 0x44]
push 0x1402
push dword [eax]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
call ebx
push eax
mov eax, edi
call fcn.0042a4a5
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x42e035
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
test dword [esi + 0x1690], 0xfffffff8
push ebx
lea ebx, [esi + 0x1674]
push edi
mov ecx, ebx
jne 0x42e09c
push 0
push 0x80
push 4
push 0
push 1
push 0xc0000000
call fcn.00401d50
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 0x1698], eax
cmp eax, 0xffffffff
jne 0x42e0a8
push 0x47cf54
push 8
push dword [0x48d1c4]
call fcn.00454eb0
add esp, 0xc
push 0x28
mov ebx, esi
call fcn.0042e3ec
jmp 0x42e1a7
call fcn.00401d50
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea edi, [esi + 0x1640]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0xff
mov ecx, ebx
call fcn.00401d50
push eax
lea eax, [esi + 0x100]
push eax
call fcn.0043fb0d
fld1
add esp, 0xc
fstp qword [esi + 0x638]
lea eax, [esi + 0x600]
xor ebx, ebx
push eax
mov dword [esi + 0x620], ebx
mov dword [esi + 0x624], ebx
mov dword [esi + 0x630], 1
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esi + 0xf4]
cmp eax, ebx
je 0x42e122
push ebx
push dword [esi + 0xf8]
push 0x2400
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x47cfd0
push 8
push dword [0x48d1c4]
call fcn.00454eb0
lea ebx, [esi + 0x1724]
add esp, 0xc
inc dword [esi + 0x16f8]
mov edi, dword [ebx + 0x10]
sub edi, dword [ebx + 0xc]
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0xc]
sar edi, 2
dec edi
sar eax, 2
cmp edi, eax
jb 0x42e15f
call fcn.0043cc31
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + edi*4]
push 0
push 0
push 0x1410
push dword [eax]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
mov eax, dword [esi + 0xf4]
test eax, eax
je 0x42e1a7
cmp byte [esi + 0xf0], 0
je 0x42e1a7
and dword [ebp - 8], 0
and dword [ebp - 4], 0
lea ecx, [ebp - 8]
push ecx
push dword [esi + 0xf8]
push 0x2410
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop ebx
leave
ret
Function at 0x42e1ab
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
test dword [esi + 0x1690], 0xfffffff8
push edi
jne 0x42e1e4
mov eax, dword [esi + 0x16f4]
push 0
lea ecx, [ebp - 4]
push ecx
push eax
push dword [ebx + 4]
push dword [esi + 0x1698]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x42e21f
jmp 0x42e21b
mov edi, dword [esi + 0x186c]
test edi, edi
je 0x42e23d
cmp dword [esi + 0x1694], 0
je 0x42e202
push dword [ebx]
mov ecx, esi
call fcn.004266b5
jmp 0x42e208
mov eax, dword [esi + 0x16f4]
push dword [esi + 0x188c]
push eax
push dword [ebx + 4]
call edi
add esp, 0xc
test eax, eax
jge 0x42e21f
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 4], 0xffffffff
jne 0x42e23d
push 0x28
push 0
push 0x1441
push dword [esi]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
xor eax, eax
jmp 0x42e2f5
lea eax, [esi + 0x1640]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea edi, [esi + 0x16f4]
mov ecx, dword [edi]
lea eax, [esi + 0x628]
add dword [eax], ecx
adc dword [eax + 4], 0
lea eax, [esi + 0x1640]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [edi]
lea eax, [esi + 0xb8]
add dword [eax], ecx
adc dword [eax + 4], 0
mov eax, dword [esi + 0xf4]
test eax, eax
je 0x42e2ca
cmp byte [esi + 0xf0], 0
je 0x42e2ca
mov ecx, dword [ebx]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
and dword [ebp - 8], 0
mov dword [ebp - 0xc], ecx
lea ecx, [ebp - 0xc]
push ecx
push dword [esi + 0xf8]
push 0x2411
push eax
call edi
mov eax, dword [ebx]
inc eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push dword [esi + 0xf8]
push 0x2410
push dword [esi + 0xf4]
call edi
test dword [esi + 0x1690], 0xfffffff8
je 0x42e2f2
mov eax, dword [esi + 0x1694]
test eax, eax
je 0x42e2f2
mov eax, dword [eax + 0xd8]
dec eax
cmp dword [ebx], eax
jne 0x42e2f2
push 0
jmp 0x42e227
xor eax, eax
inc eax
pop edi
leave
ret
Function at 0x42e2f8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [edi + 0xc], 0x1f3
push ebx
jne 0x42e3d6
mov ecx, dword [edi + 8]
xor ebx, ebx
cmp ecx, ebx
jbe 0x42e3a2
test dword [esi + 0x1690], 0xfffffff8
mov dword [ebp - 4], ebx
jne 0x42e342
push ebx
lea eax, [ebp - 4]
push eax
push ecx
push dword [edi + 4]
push dword [esi + 0x1698]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x42e363
jmp 0x42e35f
mov eax, dword [esi + 0x186c]
cmp eax, ebx
je 0x42e36e
push dword [esi + 0x188c]
push ecx
push dword [edi + 4]
call eax
add esp, 0xc
test eax, eax
jge 0x42e363
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 4], 0xffffffff
jne 0x42e36e
push 0x28
push ebx
jmp 0x42e3da
lea ebx, [esi + 0x1640]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [edi + 8]
lea eax, [esi + 0x628]
add dword [eax], ecx
push ebx
adc dword [eax + 4], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [edi + 8]
lea eax, [esi + 0xb8]
add dword [eax], ecx
adc dword [eax + 4], 0
xor ebx, ebx
mov eax, dword [esi + 0xf4]
cmp eax, ebx
je 0x42e3d3
cmp byte [esi + 0xf0], 0
je 0x42e3d3
mov ecx, dword [edi]
mov dword [ebp - 8], ecx
lea ecx, [ebp - 8]
push ecx
push dword [esi + 0xf8]
mov dword [ebp - 4], ebx
push 0x2411
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push ebx
jmp 0x42e36b
push 0x33
push 0
push 0x1441
push dword [esi]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
xor eax, eax
pop ebx
leave
ret
Function at 0x42e6e6
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x464bbb
call fcn.0045ea44
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push dword [ebp + 0x14]
mov dword [esi], eax
mov al, byte [ebp + 0x10]
lea ecx, [esi + 8]
mov byte [esi + 4], al
call fcn.00406180
push dword [ebp + 0x18]
xor eax, eax
mov dword [ebp - 4], eax
or dword [esi + 0x28], 0xffffffff
lea ecx, [esi + 0x54]
mov dword [esi + 0x24], 0x64
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
call fcn.00406180
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x14

Function at 0x42ec27
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
or dword [ebp + 0xc], 0xffffffff
push edi
push 0
mov dword [ebp - 4], ecx
lea ecx, [ebp - 4]
push ecx
push eax
push dword [esi]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xffffffff
jne 0x42eca7
call edi
test eax, eax
je 0x42eca7
push 0x47d5ec
push 0x80
push dword [0x48d1c4]
call fcn.00454eb0
push dword [ebp - 4]
push dword [ebp - 8]
push str.LowPart:__d_HighPart:__d_n
push 8
push dword [0x48d1c4]
call fcn.00454eb0
add esp, 0x20
call edi
mov ecx, dword [esi + 4]
mov dword [ecx + 0x8c], eax
mov eax, dword [esi + 4]
mov dword [eax + 0x90], 2
jmp 0x42ecf8
push 0
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x42ecfd
push dword [ebp + 0x14]
push dword [ebp - 8]
call edi
push eax
push 0x47d5c0
push 0x80
push dword [0x48d1c4]
call fcn.00454eb0
add esp, 0x18
call edi
mov ecx, dword [esi + 4]
mov dword [ecx + 0x8c], eax
mov eax, dword [esi + 4]
mov dword [eax + 0x90], 1
or eax, 0xffffffff
jmp 0x42ed00
mov eax, dword [ebp + 0xc]
pop edi
leave
ret 0x10
Function at 0x430188
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
mov esi, eax
push edi
lea edi, [esi + 0x178]
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x4301ac
push eax
call ebx
or dword [edi], 0xffffffff
lea ecx, [esi + 0x40]
call fcn.00401d50
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call edi
lea ecx, [esi + 0x24]
call fcn.00401d50
push eax
call edi
cmp byte [ebp + 8], 0
je 0x43028e
mov eax, dword [esi + 0xdc]
test eax, eax
je 0x4301e1
call fcn.00439149
push 0x47d7b0
push 8
push dword [0x48d1c4]
call fcn.00454eb0
add esp, 0xc
push dword [esi]
call ebx
push 0x47d7c4
push 8
push dword [0x48d1c4]
call fcn.00454eb0
or dword [esi], 0xffffffff
mov eax, dword [esi + 4]
add esp, 0xc
add esi, 8
test dword [eax + 0x1690], 0xfffffff8
je 0x43023b
push str.._p4p_
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.004026e0
add esp, 0xc
jmp 0x4302d1
mov ecx, esi
call fcn.00401d50
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x430262
mov ecx, esi
call fcn.00401d50
push eax
call edi
test eax, eax
jne 0x430262
xor al, al
jmp 0x4302e5
push str.._p4p_
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.004026e0
add esp, 0xc
mov ecx, esi
mov edi, eax
call fcn.00401d50
push eax
mov ecx, edi
call fcn.00401d50
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x4302db
push 0x47d7b0
push 8
push dword [0x48d1c4]
call fcn.00454eb0
add esp, 0xc
push dword [esi]
call ebx
push 0x47d7c4
push 8
push dword [0x48d1c4]
call fcn.00454eb0
or dword [esi], 0xffffffff
push str.._p4p_
add esi, 8
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.004026e0
add esp, 0x18
mov ecx, eax
call fcn.00401d50
push eax
call edi
lea ecx, [ebp - 0x1c]
call fcn.004026a0
mov al, 1
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x43066f
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x465079
call fcn.0045ea44
sub esp, 0x58
push ebx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], ebx
mov eax, dword [edi + 0xdc]
push esi
cmp eax, ebx
je 0x430695
call fcn.00439149
cmp dword [edi + 0x174], ebx
je 0x4306cd
push 1
mov ecx, edi
call fcn.00431e3a
mov esi, dword [edi + 0x174]
lea eax, [ebp - 0x30]
push eax
call fcn.0041ff80
pop ecx
push dword [edi + 0x174]
call fcn.0043bc7d
pop ecx
mov dword [edi + 0x174], ebx
jmp 0x4307c3
mov esi, 0x10000
push esi
lea eax, [ebp - 0x48]
push eax
call fcn.004321ef
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x3c]
jne 0x4306f0
call fcn.0043cc31
mov eax, dword [ebp - 0x3c]
push 0x58
mov dword [ebp - 0x14], eax
call fcn.0043c5aa
pop ecx
mov dword [edi + 0x174], eax
call fcn.0041feb0
push ebx
push ebx
push ebx
push dword [edi]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x430781
cmp dword [ebp - 0x10], ebx
je 0x430796
mov eax, dword [edi + 4]
mov eax, dword [eax + 0xf4]
mov dword [ebp - 0x18], eax
cmp eax, ebx
je 0x43075f
fild qword [ebp - 0x28]
fmul qword [0x47dfc0]
fild qword [edi + 0xd0]
fdivp st(1)
call fcn.0045eaf0
push eax
mov eax, dword [edi + 4]
push dword [eax + 0xf8]
push 0x2430
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ecx, dword [edi + 0x174]
call fcn.0041fee0
mov eax, dword [ebp - 0x10]
add dword [ebp - 0x28], eax
pop ecx
push ebx
adc dword [ebp - 0x24], ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
lea eax, [ebp - 0x10]
push eax
push esi
push dword [ebp - 0x14]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
jne 0x43071c
mov esi, dword [edi + 0x174]
lea eax, [ebp - 0x30]
push eax
call fcn.0041ff80
pop ecx
push dword [edi + 0x174]
call fcn.0043bc7d
pop ecx
lea esi, [ebp - 0x48]
mov dword [edi + 0x174], ebx
mov byte [ebp - 4], bl
call fcn.00432259
mov ecx, dword [ebp + 8]
push 0x47b6a4
call fcn.00405b00
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], 1
xor esi, esi
movzx eax, byte [ebp + esi - 0x30]
push eax
lea eax, [ebp - 0x18]
push 0x47d7e0
push eax
call fcn.0043fe3d
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x64]
call fcn.00405b00
mov dword [ebp - 4], 2
mov ecx, dword [ebp + 8]
push eax
call fcn.004092a0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], bl
call fcn.00407d30
inc esi
cmp esi, 0x10
jl 0x4307dc
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x431e3a
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x465038
call fcn.0045ea44
sub esp, 0x2c
push ebx
push esi
push edi
mov edi, ecx
or eax, 0xffffffff
cmp dword [edi + 0x178], eax
je 0x431f8a
mov eax, dword [edi + 0x170]
cmp eax, dword [edi + 0xd8]
jge 0x431f88
xor ebx, ebx
cmp dword [edi + 0x174], ebx
je 0x431f88
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x16f4]
push eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x34]
push eax
call fcn.004321ef
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], ebx
jne 0x431ea4
call fcn.0043cc31
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 0x170]
cmp eax, dword [edi + 0xd8]
mov dword [ebp - 0x18], ebx
jge 0x431f80
lea esi, [edi + 0x158]
mov eax, dword [edi + 0x170]
shr eax, 3
push eax
call fcn.004290d1
mov ecx, dword [edi + 0x170]
movsx eax, byte [eax]
xor edx, edx
and ecx, 7
inc edx
shl edx, cl
test eax, edx
je 0x431f80
push ebx
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
push dword [edi + 0x178]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x431faa
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ecx, dword [edi + 0x174]
call fcn.0041fee0
mov eax, dword [edi + 4]
test dword [eax + 0x1690], 0xfffffff8
pop ecx
je 0x431f4a
mov ecx, dword [eax + 0x186c]
cmp ecx, ebx
je 0x431f4a
push dword [eax + 0x188c]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call ecx
add esp, 0xc
jmp 0x431f4c
xor eax, eax
cmp eax, ebx
jl 0x431f9b
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [edi + 0x170]
inc dword [ebp - 0x18]
cmp byte [ebp + 8], bl
jne 0x431f6e
cmp dword [ebp - 0x18], 0x2800
jge 0x431f80
mov eax, dword [edi + 0x170]
cmp eax, dword [edi + 0xd8]
jl 0x431ec5
lea esi, [ebp - 0x34]
call fcn.00432259
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
push 0xfffffffffffffffe
pop edi
lea esi, [ebp - 0x34]
call fcn.00432259
mov eax, edi
jmp 0x431f8a
push 0xfffffffffffffffd
jmp 0x431f9d
Function at 0x434f29
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x464faa
call fcn.0045ea44
mov eax, dword [edi]
sub esp, 0xc
push ebx
push esi
mov ecx, edi
call dword [eax + 0xc]
lea ecx, [edi + 0x1f0]
call fcn.004015b0
test al, al
jne 0x43503e
mov ecx, dword [edi + 0xe8]
test ecx, ecx
je 0x434f69
mov eax, dword [ecx]
push 1
call dword [eax]
and dword [edi + 0xe8], 0
push 0xc
call fcn.0043c5aa
pop ecx
mov dword [ebp - 0x14], eax
and dword [ebp - 4], 0
test eax, eax
je 0x434f85
mov esi, eax
call fcn.0043b3ff
jmp 0x434f87
xor eax, eax
or dword [ebp - 4], 0xffffffff
cmp byte [edi + 0x1ec], 0
mov dword [edi + 0xe8], eax
mov byte [edi + 0xef], 0
jne 0x435000
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub esp, 0x1c
lea ebx, [edi + 0x104]
mov ecx, esp
mov dword [ebp - 0x14], esp
push ebx
call fcn.00406180
call fcn.00436dec
add esp, 0x1c
push dword [edi + 0x120]
mov byte [ebp - 0xe], al
push ebx
push dword [edi + 0xe8]
call fcn.0043b4a9
cmp byte [edi + 0xef], 0
mov byte [ebp - 0xd], al
jne 0x435016
cmp byte [edi + 0xac], 0
je 0x435016
cmp byte [ebp - 0xe], 0
je 0x435016
call esi
mov ecx, ebx
call fcn.00405c20
jmp 0x435016
push dword [edi + 0x194]
lea ecx, [edi + 0x178]
push ecx
push eax
call fcn.0043b4a9
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x43503e
cmp byte [edi + 0xef], 0
jne 0x43503e
mov byte [edi + 0xec], 0
mov byte [edi + 0xef], 0
mov byte [edi + 0x100], 1
xor eax, eax
jmp 0x435041
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x43761e
Capabilities:
Send data
Send data on socket

Disassembly:
push esi
mov eax, ebx
push edi
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x437625
sub eax, esi
mov edi, eax
xor esi, esi
test edi, edi
jle 0x437652
push 0
push edi
lea eax, [esi + ebx]
push eax
push dword [esp + 0x18]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x437657
add esi, eax
cmp esi, edi
jl 0x437636
mov eax, esi
pop edi
pop esi
ret
or eax, 0xffffffff
jmp 0x437654

Function at 0x437723
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
or dword [esi], 0xffffffff
or dword [esi + 4], 0xffffffff
sub esp, 0x194
push edi
xor eax, eax
push 0x3c
push eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
lea eax, [esi + 0x10]
push eax
call fcn.0043c260
mov edi, 0x1000
push edi
call fcn.0043b860
push edi
mov dword [esi + 0x20], eax
call fcn.0043b860
push edi
mov dword [esi + 0x2c], eax
call fcn.0043b860
push edi
mov dword [esi + 0x34], eax
call fcn.0043b860
add esp, 0x1c
mov dword [esi + 0x3c], eax
lea eax, [esp + 8]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x43779d
push str.An_error_occured_at_WSAStartup___function__n
push 8
push dword [0x48d1c4]
call fcn.00454eb0
add esp, 0xc
mov eax, esi
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x437fc3
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Parse url
Resolve dns

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.0044e520
push ebx
push esi
push 0xfff
xor esi, esi
lea eax, [ebp - 0x100f]
push esi
push eax
mov byte [ebp - 0x1010], 0
call fcn.0043c260
mov ebx, dword [ebp + 8]
add esp, 0xc
mov eax, ebx
call fcn.00437f63
lea ecx, [ebx + 0x10]
push ecx
push esi
mov eax, 0x1000
push esi
push dword [ebp + 0xc]
mov dword [ecx], 0x3c
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x40], eax
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
jne 0x43802c
or eax, 0xffffffff
jmp 0x43816b
push edi
cmp dword [ebx + 0x30], esi
jne 0x43804b
mov edi, dword [ebx + 0x2c]
mov esi, str.anonymous
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov edi, dword [ebx + 0x34]
mov esi, str.you_youraddr.com
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
push 6
push 1
push 2
pop esi
push esi
call dword [sym.imp.WS2_32.dll_socket]
or edi, 0xffffffff
mov dword [ebx], eax
cmp eax, edi
jne 0x438069
mov eax, edi
jmp 0x43816a
push dword [ebx + 0x20]
mov eax, esi
mov word [ebp - 0x10], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0xc], eax
cmp eax, edi
jne 0x43809a
push dword [ebx + 0x20]
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x43815d
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
movzx eax, word [ebx + 0x28]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0xe], ax
push 0x10
lea eax, [ebp - 0x10]
push eax
push dword [ebx]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, edi
je 0x43815d
push dword [ebx]
lea edi, [ebp - 0x1010]
call fcn.004376d4
pop ecx
cmp eax, 0xdc
jne 0x43815d
push dword [ebx + 0x2c]
mov eax, edi
push str.USER__s_r_n
push eax
call fcn.0043fe3d
push dword [ebx]
mov ebx, edi
call fcn.0043761e
mov eax, dword [ebp + 8]
push dword [eax]
call fcn.004376d4
add esp, 0x14
push 0x64
cdq
pop ecx
idiv ecx
cmp eax, esi
je 0x43813d
cmp eax, 3
jne 0x43815a
mov edi, dword [ebp + 8]
push dword [edi + 0x34]
mov eax, ebx
push str.PASS__s_r_n
push eax
call fcn.0043fe3d
push dword [edi]
call fcn.0043761e
push dword [edi]
mov edi, ebx
call fcn.004376d4
add esp, 0x14
push 0x64
cdq
pop ecx
idiv ecx
cmp eax, esi
jne 0x43815a
mov eax, dword [ebp + 8]
push 0xfff
push dword [ebp + 0xc]
add eax, 0x104c
push eax
call fcn.0043fb60
add esp, 0xc
xor eax, eax
jmp 0x43816a
mov ebx, dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.WS2_32.dll_closesocket]
or eax, 0xffffffff
mov dword [ebx], eax
pop edi
pop esi
pop ebx
leave
ret 8