joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c5d0
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 0x40c634
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.004046f4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00407ff4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c63b
lea eax, [ebp - 0xc]
call fcn.00404484
ret

Function at 0x418a48
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.00418874
dec esi
jne 0x418a6a
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x41feb8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404934
xor eax, eax
push ebp
push 0x41ff6b
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
cmp esi, 0xffffffff
je 0x41ff55
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [0x4dcaf0]
push eax
call sub.kernel32.dll_ResetEvent
push 0x4dcae0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00404744
push eax
mov eax, dword [ebp - 4]
call fcn.00404944
push eax
push esi
call sub.kernel32.dll_WriteFile_1
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x41ff55
call sub.kernel32.dll_GetLastError_1
cmp eax, 0x3e5
jne 0x41ff55
push 0xffffffffffffffff
mov eax, dword [0x4dcaf0]
push eax
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
jne 0x41ff53
push 0
lea eax, [ebp - 8]
push eax
push 0x4dcae0
push esi
call sub.kernel32.dll_GetOverlappedResult
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x41ff55
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41ff72
lea eax, [ebp - 4]
call fcn.00404484
ret
Function at 0x41ff7c
Capabilities:
Check for time delay via queryperformancecounter
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff24
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xcc], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x24], ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x42017b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00404484
lea eax, [ebp - 8]
call fcn.00404484
lea eax, [ebp - 0x18]
push eax
call sub.kernel32.dll_QueryPerformanceCounter
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
jmp 0x420102
push 1
call sub.kernel32.dll_Sleep
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_ClearCommError
mov ebx, dword [ebp - 0xc4]
test ebx, ebx
jbe 0x4200f9
push 0x4dcae0
lea eax, [ebp - 0xc]
push eax
push ebx
lea eax, [ebp - 0xbb]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_ReadFile_1
cmp eax, 1
sbb eax, eax
inc eax
mov ebx, eax
test bl, bl
jne 0x420031
test bl, bl
jne 0x420060
call sub.kernel32.dll_GetLastError_1
cmp eax, 0x3e5
jne 0x420060
push 0xffffffffffffffff
mov eax, dword [0x4dcaf0]
push eax
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
jne 0x42005e
push 0
lea eax, [ebp - 0xc]
push eax
push 0x4dcae0
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetOverlappedResult
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x420060
mov bl, 1
cmp bl, 1
jne 0x42009c
cmp dword [ebp - 0xc], 0
jbe 0x42009c
mov edi, dword [ebp - 0xc4]
dec edi
test edi, edi
jl 0x42009c
inc edi
lea ebx, [ebp - 0xbb]
lea eax, [ebp - 0xcc]
mov dl, byte [ebx]
call fcn.0040466c
mov edx, dword [ebp - 0xcc]
lea eax, [ebp - 8]
call fcn.0040474c
inc ebx
dec edi
jne 0x42007d
mov eax, esi
mov edx, dword [ebp - 8]
call fcn.004044d8
mov eax, dword [esi]
call fcn.00404744
cmp eax, 5
jne 0x4200c6
mov edx, dword [esi]
mov eax, 0x420194
call fcn.00404a88
test eax, eax
jg 0x420152
mov eax, dword [esi]
call fcn.00404744
cmp eax, 6
jne 0x4200e2
mov edx, dword [esi]
mov eax, 0x4201a4
call fcn.00404a88
test eax, eax
jg 0x420152
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 8]
call fcn.0041f86c
mov eax, dword [ebp - 0x24]
call fcn.0042020c
test al, al
jne 0x420152
lea eax, [ebp - 0x20]
push eax
call sub.kernel32.dll_QueryPerformanceCounter
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x18]
sbb edx, dword [ebp - 0x14]
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xd0], edx
fild qword [ebp - 0xd4]
fild qword [0x45aa4c]
fdivp st(1)
fmul dword [0x4201a8]
mov eax, dword [0x45aa28]
mov dword [ebp - 0xdc], eax
xor eax, eax
mov dword [ebp - 0xd8], eax
fild qword [ebp - 0xdc]
fcompp
fnstsw ax
sahf
ja 0x41ffd2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x420182
lea eax, [ebp - 0xcc]
call fcn.00404484
lea eax, [ebp - 0x24]
call fcn.00404484
lea eax, [ebp - 8]
call fcn.00404484
ret
Function at 0x4202dc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov si, 0xa1ec
dec edx
test edx, edx
jl 0x42030b
inc edx
xor edi, edi
mov cl, byte [eax + edi]
movzx ebx, si
shr ebx, 8
xor cl, bl
shl esi, 8
and ecx, 0xff
xor si, word [ecx*2 + 0x45aa78]
inc edi
dec edx
jne 0x4202eb
mov eax, esi
pop edi
pop esi
pop ebx
ret

Function at 0x4203e4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404934
xor eax, eax
push ebp
push 0x420438
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.00404744
test eax, eax
jle 0x420422
mov edx, 1
mov ecx, dword [ebp - 4]
mov cl, byte [ecx + edx - 1]
xor bl, cl
inc edx
dec eax
jne 0x420415
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42043f
lea eax, [ebp - 4]
call fcn.00404484
ret

Function at 0x420448
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, eax
xor eax, eax
test esi, esi
je 0x420460
dec edx
test edx, edx
jl 0x420460
inc edx
xor ecx, ecx
xor al, byte [esi + ecx]
inc ecx
dec edx
jne 0x420459
pop esi
ret

Function at 0x420464
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404934
xor eax, eax
push ebp
push 0x420522
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404744
test al, 1
jne 0x4204ff
xor edi, edi
mov ebx, eax
sar ebx, 1
jns 0x4204a8
adc ebx, 0
test ebx, ebx
jle 0x4204e5
mov esi, 1
lea eax, [ebp - 0x10]
push eax
mov edx, esi
add edx, edx
dec edx
mov ecx, 2
mov eax, dword [ebp - 4]
call fcn.004049a4
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
mov edx, 0x420538
call fcn.00404790
mov eax, dword [ebp - 0xc]
call fcn.00407fb8
xor edi, eax
inc esi
dec ebx
jne 0x4204b1
mov eax, dword [ebp - 8]
push eax
mov dword [ebp - 0x18], edi
mov byte [ebp - 0x14], 0
lea edx, [ebp - 0x18]
xor ecx, ecx
mov eax, 0x420544
call fcn.00408bd4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x420529
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004044a8
lea eax, [ebp - 4]
call fcn.00404484
ret

Function at 0x420c4c
Capabilities:
Encrypt data using des

Disassembly:
push ebx
mov ecx, edx
and cl, 0x20
mov ebx, edx
and bl, 0x1e
and ebx, 0xff
shr ebx, 1
or cl, bl
and dl, 1
shl edx, 4
or cl, dl
mov edx, ecx
and edx, 0xff
and eax, 0xff
shl eax, 3
lea eax, [eax*8 + 0x45add8]
mov al, byte [eax + edx]
and al, 0xf
pop ebx
ret
Function at 0x420c88
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
test ebx, ebx
js 0x420ca0
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x420c99
mov eax, esp
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 7
call fcn.00402f40
xor edx, edx
mov eax, 0x45afd8
mov bl, byte [eax]
mov ecx, ebx
and cl, 7
and ecx, 0xff
push ecx
mov ecx, 7
pop esi
sub ecx, esi
mov esi, 1
shl esi, cl
xor ecx, ecx
mov cl, bl
shr ecx, 3
mov ebx, dword [ebp - 4]
movzx ecx, byte [ebx + ecx]
and esi, ecx
je 0x420d0a
mov ecx, edx
and ecx, 7
push ecx
mov ecx, 7
pop ebx
sub ecx, ebx
mov bl, 1
shl bl, cl
mov ecx, edx
shr ecx, 3
mov esi, dword [ebp - 8]
or byte [esi + ecx], bl
inc edx
inc eax
cmp edx, 0x38
jne 0x420cbe
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x420f48
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov ebx, dword [ebp + 0x10]
test ebx, ebx
js 0x420f61
shr ebx, 2
mov esi, dword [ecx + ebx*4]
dec ebx
push esi
jns 0x420f5a
mov ecx, esp
mov ebx, edx
test ebx, ebx
js 0x420f73
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x420f6c
mov eax, esp
mov dword [ebp - 4], ecx
push 5
lea ecx, [ebp - 0xa]
call fcn.00420b3c
mov ebx, 6
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
xor byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x420f8d
mov al, byte [ebp - 0xa]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0x12], dl
and al, 3
shl eax, 4
mov dl, byte [ebp - 9]
xor ecx, ecx
mov cl, dl
shr ecx, 4
or al, cl
mov byte [ebp - 0x11], al
and dl, 0xf
shl edx, 2
mov al, byte [ebp - 8]
xor ecx, ecx
mov cl, al
shr ecx, 6
or dl, cl
mov byte [ebp - 0x10], dl
and al, 0x3f
mov byte [ebp - 0xf], al
mov al, byte [ebp - 7]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0xe], dl
and al, 3
shl eax, 4
xor edx, edx
mov dl, byte [ebp - 6]
shr edx, 4
or al, dl
mov byte [ebp - 0xd], al
mov al, byte [ebp - 6]
and al, 0xf
shl eax, 2
xor edx, edx
mov dl, byte [ebp - 5]
shr edx, 6
or al, dl
mov byte [ebp - 0xc], al
mov al, byte [ebp - 5]
and al, 0x3f
mov byte [ebp - 0xb], al
xor ebx, ebx
lea esi, [ebp - 0x12]
mov eax, ebx
mov dl, byte [esi]
call fcn.00420c4c
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 8
jne 0x421012
mov ebx, 4
lea eax, [ebp - 0x12]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
shl ecx, 4
or cl, byte [eax + 1]
mov byte [edx], cl
inc edx
add eax, 2
dec ebx
jne 0x42102f
lea eax, [ebp - 0xa]
mov edx, 5
call fcn.00420bcc
mov ebx, 4
lea eax, [ebp - 0xa]
mov edx, dword [ebp + 0xc]
mov cl, byte [eax]
mov byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x421058
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x421070
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov ebx, ecx
test ebx, ebx
js 0x421089
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x421082
mov edx, esp
mov dword [ebp - 4], edx
mov ebx, eax
mov dword [ebp - 8], 8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dl, byte [eax]
mov byte [ecx], dl
inc ecx
inc eax
dec dword [ebp - 8]
jne 0x42109d
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.00420a34
test bl, bl
jne 0x421170
mov dword [ebp - 8], 0x10
mov dword [ebp - 0x14], 0x4dcb08
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x4210d4
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x4210e8
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.00420f48
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov bl, byte [edx]
xor bl, byte [esi]
mov byte [ecx], bl
inc ecx
inc esi
inc edx
dec eax
jne 0x42111a
add dword [ebp - 0x14], 6
dec dword [ebp - 8]
jne 0x4210c9
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ecx, [ebp - 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x42113d
mov eax, 4
mov edx, dword [ebp + 0xc]
mov cl, byte [edx]
mov byte [edx + 4], cl
inc edx
dec eax
jne 0x42114e
mov eax, 4
lea edx, [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x421162
jmp 0x42122b
cmp bl, 1
jne 0x42122b
mov dword [ebp - 8], 0xfffffff0
mov ebx, 0x4dcb62
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x421190
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x4211a4
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov ecx, ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.00420f48
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp - 0x18], ecx
mov cl, byte [edx]
xor cl, byte [esi]
mov edi, dword [ebp - 0x18]
mov byte [edi], cl
inc dword [ebp - 0x18]
inc esi
inc edx
dec eax
jne 0x4211d6
sub ebx, 6
inc dword [ebp - 8]
jne 0x421185
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ebx, [ebp - 0xc]
mov cl, byte [edx]
mov byte [ebx], cl
inc ebx
inc edx
dec eax
jne 0x4211fd
mov eax, 4
mov ebx, dword [ebp + 0xc]
mov dl, byte [ebx]
mov byte [ebx + 4], dl
inc ebx
dec eax
jne 0x42120e
mov eax, 4
lea ebx, [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov cl, byte [ebx]
mov byte [edx], cl
inc edx
inc ebx
dec eax
jne 0x421222
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.00420ab8
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 8
Function at 0x424130
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
lea eax, [ebp + 8]
call fcn.00404fa8
xor eax, eax
push ebp
push 0x4241e3
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp + 8]
call fcn.00404d34
test al, 1
jne 0x4241b8
xor edi, edi
mov ebx, eax
sar ebx, 1
jns 0x42416b
adc ebx, 0
test ebx, ebx
jle 0x4241b3
mov esi, 1
lea eax, [ebp - 0xc]
push eax
mov edx, esi
add edx, edx
dec edx
mov ecx, 2
mov eax, dword [ebp + 8]
call fcn.00404e88
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 8]
mov edx, 0x4241fc
call fcn.00404da0
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
call fcn.0040470c
mov eax, dword [ebp - 4]
call fcn.00407fb8
xor edi, eax
inc esi
dec ebx
jne 0x424174
test edi, edi
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4241ea
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404bd0
lea eax, [ebp - 4]
call fcn.00404484
lea eax, [ebp + 8]
call fcn.00404bb8
ret

Function at 0x424200
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404934
xor eax, eax
push ebp
push 0x424370
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
mov eax, dword [ebp - 4]
call fcn.00404744
sar eax, 1
jns 0x424243
adc eax, 0
test eax, eax
jle 0x42432d
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 1
mov eax, esi
shr eax, 8
and eax, 0xff
mov ebx, eax
shr ebx, 4
and bl, 0xff
shl esi, 4
and esi, 0xffff
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0xc]
dec eax
mov edx, eax
add edx, edx
inc edx
mov ecx, 2
mov eax, dword [ebp - 4]
call fcn.004049a4
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 0x424388
call fcn.00404790
mov eax, dword [ebp - 0x14]
call fcn.00407fb8
shr eax, 4
and eax, 0xff
xor edx, edx
mov dl, bl
xor eax, edx
and eax, 0xff
xor esi, dword [eax*4 + 0x45b0a0]
and esi, 0xffff
mov eax, esi
shr eax, 8
and eax, 0xff
shr eax, 4
and eax, 0xff
mov ebx, eax
shl esi, 4
and esi, 0xffff
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0xc]
dec eax
mov edx, eax
add edx, edx
inc edx
mov ecx, 2
mov eax, dword [ebp - 4]
call fcn.004049a4
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x424388
call fcn.00404790
mov eax, dword [ebp - 0x1c]
call fcn.00407fb8
and eax, 0xf
xor edx, edx
mov dl, bl
xor eax, edx
xor esi, dword [eax*4 + 0x45b0a0]
inc dword [ebp - 0xc]
dec dword [ebp - 0x10]
jne 0x424255
mov eax, dword [ebp - 8]
push eax
and esi, 0xffff
mov dword [ebp - 0x28], esi
mov byte [ebp - 0x24], 0
lea edx, [ebp - 0x28]
xor ecx, ecx
mov eax, 0x424394
call fcn.00408bd4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x424377
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.004044a8
lea eax, [ebp - 4]
call fcn.00404484
ret
Function at 0x427bd8
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov esi, eax
mov eax, dword [0x45b098]
sub eax, 1
jb 0x427bf4
je 0x427c4d
jmp 0x427ca5
xor eax, eax
push ebp
push 0x427c3e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 4]
push eax
push esi
call sub.kernel32.dll_ClearCommError
test eax, eax
je 0x427c19
mov ebx, dword [ebp - 0x10]
jmp 0x427c34
mov eax, esi
call fcn.00424700
imul eax, eax, 0x422
mov dword [eax*8 + 0x4dd3d0], 2
or ebx, 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x427ca5
xor eax, eax
push ebp
push 0x427c98
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
push 0x4004667f
push esi
call sub.wsock32.dll_ioctlsocket
test eax, eax
jne 0x427c73
mov ebx, dword [ebp - 8]
jmp 0x427c8e
mov eax, esi
call fcn.00424700
imul eax, eax, 0x422
mov dword [eax*8 + 0x4dd3d0], 2
or ebx, 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x427ca5
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x427cb0
Capabilities:
Set socket configuration

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov dword [esp], ecx
mov ebp, edx
mov edi, eax
mov bl, 1
call sub.kernel32.dll_GetTickCount
mov esi, eax
xor eax, eax
mov dword [esp + 4], eax
mov eax, dword [0x45b098]
sub eax, 1
jb 0x427cfe
je 0x427d0b
jmp 0x427d43
call sub.kernel32.dll_GetTickCount
mov edx, dword [esp]
add edx, esi
cmp eax, edx
jbe 0x427cf7
mov eax, edi
call fcn.00427bd8
cmp ebp, eax
setle bl
jmp 0x427d43
push 1
call sub.kernel32.dll_Sleep
mov eax, edi
call fcn.00427bd8
cmp ebp, eax
jg 0x427cdb
jmp 0x427d43
cmp ebp, dword [esp + 4]
jle 0x427d43
lea eax, [esp + 4]
push eax
push 0x4004667f
push edi
call sub.wsock32.dll_ioctlsocket
call sub.kernel32.dll_GetTickCount
mov edx, dword [esp]
add edx, esi
cmp eax, edx
jbe 0x427d36
cmp ebp, dword [esp + 4]
setle bl
push 1
call sub.kernel32.dll_Sleep
cmp ebp, dword [esp + 4]
jg 0x427d11
test bl, bl
jne 0x427d52
mov eax, dword [0x45b218]
mov dword [eax], 1
mov eax, ebx
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x429ab4
Capabilities:
Check for time delay via gettickcount
Send data
Send data on socket
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, dword [0x45b218]
xor edx, edx
mov dword [eax], edx
call sub.kernel32.dll_GetTickCount
mov edx, dword [0x45b1d8]
sub eax, dword [edx]
mov dword [ebp - 8], eax
mov eax, dword [0x45b1dc]
cmp dword [eax], 0
je 0x429b1a
mov eax, dword [0x45b34c]
cmp ebx, dword [eax]
jne 0x429b1a
mov eax, dword [0x45b1dc]
mov eax, dword [eax]
cmp eax, dword [ebp - 8]
jb 0x429b1a
mov eax, dword [0x45b1dc]
mov eax, dword [eax]
cmp eax, dword [ebp - 8]
jb 0x429b1a
mov eax, dword [0x45b1dc]
mov eax, dword [eax]
sub eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_Sleep
test edi, edi
jne 0x429b2a
mov eax, esi
call fcn.00408574
mov dword [ebp - 8], eax
jmp 0x429b2d
mov dword [ebp - 8], edi
mov eax, dword [0x45b098]
dec eax
jne 0x429b49
push 0
mov eax, dword [ebp - 8]
push eax
push esi
push ebx
call sub.wsock32.dll_send
inc eax
setne byte [ebp - 1]
jmp 0x429bbe
mov eax, dword [0x45b388]
cmp dword [eax + 0x10], 0
jne 0x429b6a
push 0
push 0
push 0xffffffffffffffff
push 0
call sub.kernel32.dll_CreateEventA
mov edx, dword [0x45b388]
mov dword [edx + 0x10], eax
mov eax, dword [0x45b388]
mov eax, dword [eax + 0x10]
push eax
call sub.kernel32.dll_ResetEvent
mov eax, dword [0x45b388]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 8]
push eax
push esi
push ebx
call sub.kernel32.dll_WriteFile_1
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
call sub.kernel32.dll_GetLastError_1
cmp eax, 0x3e5
jne 0x429bbe
mov eax, dword [0x45b51c]
mov eax, dword [eax]
push eax
mov eax, dword [0x45b388]
mov eax, dword [eax + 0x10]
push eax
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
sete byte [ebp - 1]
mov eax, dword [0x45b34c]
mov dword [eax], ebx
call sub.kernel32.dll_GetTickCount
mov edx, dword [0x45b1d8]
mov dword [edx], eax
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc
Function at 0x429cf4
Capabilities:
Read file on windows
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, dword [0x45b098]
dec eax
jne 0x429d37
push 0
push 1
push edi
push ebx
call sub.wsock32.dll_recv
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
xor edx, edx
cmp edx, 0xffffffff
jne 0x429d27
cmp eax, 0xffffffff
je 0x429d2f
cmp dword [ebp - 4], 1
je 0x429d33
xor ebx, ebx
jmp 0x429d90
mov bl, 1
jmp 0x429d90
test esi, esi
jne 0x429d43
mov esi, dword [0x45b51c]
mov esi, dword [esi]
mov eax, dword [0x45b388]
mov eax, dword [eax + 0x10]
push eax
call sub.kernel32.dll_ResetEvent
mov eax, dword [0x45b388]
push eax
lea eax, [ebp - 4]
push eax
push 1
push edi
push ebx
call sub.kernel32.dll_ReadFile_1
cmp eax, 1
sbb eax, eax
inc eax
mov ebx, eax
test bl, bl
jne 0x429d90
call sub.kernel32.dll_GetLastError_1
cmp eax, 0x3e5
jne 0x429d90
push esi
mov eax, dword [0x45b388]
mov eax, dword [eax + 0x10]
push eax
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
sete bl
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc
Function at 0x42a018
Capabilities:
Read file on windows
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
mov eax, dword [0x45b098]
dec eax
jne 0x42a06a
push 0
push edi
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
call sub.wsock32.dll_recv
mov dword [esi], eax
cmp dword [esi], 0
jne 0x42a050
mov eax, dword [0x45b218]
mov dword [eax], 1
jmp 0x42a0be
mov eax, dword [esi]
xor edx, edx
cmp edx, 0xffffffff
jne 0x42a05c
cmp eax, 0xffffffff
je 0x42a062
cmp edi, dword [esi]
jae 0x42a066
xor ebx, ebx
jmp 0x42a0be
mov bl, 1
jmp 0x42a0be
xor eax, eax
mov dword [esi], eax
mov eax, dword [0x45b388]
mov eax, dword [eax + 0x10]
push eax
call sub.kernel32.dll_ResetEvent
mov eax, dword [0x45b388]
push eax
push esi
push edi
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
call sub.kernel32.dll_ReadFile_1
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x42a0be
call sub.kernel32.dll_GetLastError_1
cmp eax, 0x3e5
jne 0x42a0be
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [0x45b388]
mov eax, dword [eax + 0x10]
push eax
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
sete bl
test bl, bl
jne 0x42a0cd
mov eax, dword [0x45b218]
mov dword [eax], 2
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret 0x14