joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1009f8bd
Capabilities:
Check for software breakpoints

Disassembly:
push edi
mov edi, ecx
cmp dword [edi + 0xc], 0
jne 0x1009f8ca
xor al, al
pop edi
ret
push ebx
mov ebx, dword [0x10a1f7a4]
push esi
mov esi, 0x4c6
push esi
mov ecx, ebx
call fcn.100951ef
cmp al, 1
jne 0x1009f8f1
push esi
mov ecx, ebx
call fcn.1009c3b0
mov ebx, dword [0x10a1f7a4]
mov edi, dword [edi + 8]
mov esi, dword [edi]
jmp 0x1009fa18
mov eax, dword [esi + 8]
mov eax, dword [eax + 0xec]
cmp eax, 0xca
je 0x1009fa16
cmp eax, 0xcb
je 0x1009fa16
cmp eax, 0xce
je 0x1009fa16
cmp eax, 0xdb
je 0x1009fa16
cmp eax, 0xdc
je 0x1009fa16
cmp eax, 0x13c
je 0x1009fa16
cmp eax, 0x13b
je 0x1009fa16
cmp eax, 0x13e
je 0x1009fa16
cmp eax, 0x13d
je 0x1009fa16
cmp eax, 0xdd
je 0x1009fa16
cmp eax, 0xe5
je 0x1009fa16
cmp eax, 0xf3
je 0x1009fa16
cmp eax, 0xe4
je 0x1009fa16
cmp eax, 0xe0
je 0x1009fa16
cmp eax, 0xdf
je 0x1009fa16
cmp eax, 0xf7
je 0x1009fa16
cmp eax, 0xf8
je 0x1009fa16
cmp eax, 0xfa
je 0x1009fa16
cmp eax, 0xe8
je 0x1009fa16
cmp eax, 0x11a
je 0x1009fa16
cmp eax, 0x11d
je 0x1009fa16
cmp eax, 0x122
je 0x1009fa16
cmp eax, 0x123
je 0x1009fa16
cmp eax, 0xe9
je 0x1009fa16
cmp eax, 0xe1
je 0x1009fa16
cmp eax, 0x135
je 0x1009fa16
cmp eax, 0x148
je 0x1009fa16
cmp eax, 0x14f
je 0x1009fa16
cmp eax, 0x158
je 0x1009fa16
cmp eax, 0x3e7
jae 0x1009fa16
push eax
mov ecx, ebx
call fcn.100951ef
cmp al, 1
je 0x1009fa26
mov esi, dword [esi]
cmp esi, edi
jne 0x1009f8fb
xor al, al
pop esi
pop ebx
pop edi
ret
mov eax, dword [esi + 8]
mov eax, dword [eax + 0xec]
cmp eax, 0xf4
je 0x1009fb73
cmp eax, 0xf5
je 0x1009fb73
cmp eax, 0xee
jne 0x1009fa5c
mov ecx, dword [0x10a1f7d4]
call fcn.100cfc12
jmp 0x1009fb7e
cmp eax, 0xcc
je 0x1009fb66
cmp eax, 0xf2
je 0x1009fb66
cmp eax, 0xd4
jne 0x1009fa89
mov ecx, dword [0x10a1f7ec]
call fcn.1005db5d
jmp 0x1009fb7e
cmp eax, 0xed
jne 0x1009faa2
mov ecx, dword [0x10a1f6e8]
push 0
call fcn.100f63ba
jmp 0x1009fb7e
cmp eax, 0xeb
jne 0x1009fab9
mov ecx, dword [0x10a1f754]
call fcn.100ed87a
jmp 0x1009fb7e
cmp eax, 0x12b
jne 0x1009fad0
mov ecx, dword [0x10a1f738]
call fcn.10058c9f
jmp 0x1009fb7e
cmp eax, 0x12c
jne 0x1009fafb
mov ecx, dword [0x10a1f738]
call fcn.10059341
mov eax, dword [esi + 8]
push dword [eax + 0xec]
mov ecx, dword [0x10a1f7a4]
call fcn.1009c3d3
jmp 0x1009fb7e
cmp eax, 0x12d
jne 0x1009fb0f
mov ecx, dword [0x10a1f738]
call fcn.10059d18
jmp 0x1009fb7e
cmp eax, 0xec
jne 0x1009fb23
mov ecx, dword [0x10a1f704]
call fcn.1009e3ae
jmp 0x1009fb7e
mov esi, 0x14e
cmp eax, esi
jne 0x1009fb3c
mov ecx, dword [0x10a1f724]
push 4
call fcn.1007a5fb
push esi
jmp 0x1009faeb
cmp eax, 0xef
jne 0x1009fb50
mov ecx, dword [0x10a1f6f8]
call fcn.1009d442
jmp 0x1009fb7e
push eax
mov ecx, ebx
call fcn.1009c3d3
mov eax, dword [0x10a1f710]
mov byte [eax + 0x71d], 0
jmp 0x1009fb7e
mov ecx, dword [0x10a1f6ec]
call fcn.10062aec
jmp 0x1009fb7e
mov ecx, dword [0x10a1f750]
call fcn.100c77bc
mov al, 1
jmp 0x1009fa22
Function at 0x100a1e8c
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
fld1
push ebx
fstp dword [ebp - 0x20]
push esi
fld dword [0x1018f9e4]
push edi
fst dword [ebp - 0x1c]
mov dword [ebp - 0xc], ecx
fld dword [0x1019051c]
mov dword [ebp - 4], 1
fst dword [ebp - 0x18]
mov dword [ebp - 0x14], 0x3f666666
fld1
mov dword [ebp - 0x24], 0x3f666666
fstp dword [ebp - 0x30]
mov dword [ebp - 8], 0x14
fld st(1)
mov ebx, 0xee
fstp dword [ebp - 0x2c]
fst dword [ebp - 0x28]
fstp st(0)
fstp st(0)
mov esi, dword [ebp - 4]
mov ecx, dword [0x10a1f7a4]
lea eax, [esi + 2]
push eax
push ebx
call fcn.10096972
mov ecx, dword [0x10a1f7a4]
push esi
push ebx
call fcn.10096d97
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 8]
push 0x13
push 0x13b
lea eax, [eax + ecx - 0x14]
push eax
push 8
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0
sub esp, 0x100
movsd dword es:[edi], dword [esi]
mov ecx, esp
mov dword [ebp - 0x10], esp
push 0x1018dc66
movsd dword es:[edi], dword [esi]
call fcn.101521f0
mov eax, dword [ebp - 4]
mov ecx, dword [0x10a1f7a4]
add eax, 2
push eax
push ebx
call fcn.1009f414
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 8]
push 0x13
push 0x13b
push 0x5dc
push 9
push 9
lea eax, [eax + ecx - 0x14]
mov ecx, dword [0x10a1f7a4]
push eax
push 8
push 0
push dword [ebp - 4]
push ebx
call fcn.100a1550
push dword [ebp - 4]
mov ecx, dword [0x10a1f7a4]
push ebx
call fcn.10096e07
add dword [ebp - 8], 0x14
inc dword [ebp - 4]
cmp dword [ebp - 8], 0xc8
jle 0x100a1ee1
push 3
pop esi
mov ecx, dword [0x10a1f7a4]
push 1
lea eax, [esi - 3]
push eax
push ebx
call fcn.10096db2
inc esi
cmp esi, 0xd
jl 0x100a1fb1
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100b7e16
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 4]
mov ebx, dword [eax + 0x53c]
push edi
mov dword [ebp - 8], esi
jmp 0x100b7ed8
mov eax, dword [ebx + 0x424]
cmp eax, dword [ebp + 8]
je 0x100b7ef1
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jge 0x100b7ed2
mov ecx, dword [0x10a139cc]
lea esi, [ebx + 0x42c]
lea edi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
fld dword [ebp - 0x18]
fadd dword [0x10190474]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
fstp dword [ebp - 0x18]
push eax
call fcn.10018ab4
mov ecx, dword [ebp + 0xc]
lea eax, [ecx - 0x32]
mov dword [ebp - 4], eax
fild dword [ebp - 4]
fcomp dword [ebp - 0x10]
fnstsw ax
test ah, 5
jp 0x100b7ecf
add ecx, 0x32
mov dword [ebp - 4], ecx
fild dword [ebp - 4]
fcomp dword [ebp - 0x10]
fnstsw ax
test ah, 0x41
jne 0x100b7ecf
mov ecx, dword [ebp + 0x10]
lea eax, [ecx - 0xf]
mov dword [ebp - 4], eax
fild dword [ebp - 4]
fcomp dword [ebp - 0xc]
fnstsw ax
test ah, 5
jp 0x100b7ecf
add ecx, 0xf
mov dword [ebp - 4], ecx
fild dword [ebp - 4]
fcomp dword [ebp - 0xc]
fnstsw ax
test ah, 0x41
je 0x100b7eea
mov esi, dword [ebp - 8]
mov ebx, dword [ebx + 0x53c]
cmp ebx, dword [esi + 8]
jne 0x100b7e32
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
mov byte [ebx + 0x439], 1
sub esp, 0x100
lea eax, [ebx + 0x43a]
mov ecx, esp
mov dword [ebp + 8], esp
push eax
mov byte [ebx + 0x53a], 1
call fcn.101521f0
mov ecx, dword [0x10a1f7a0]
call fcn.100c391c
mov eax, dword [ebx + 0x424]
jmp 0x100b7ee3
Function at 0x100dbbf0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x101836e2
call fcn.10166ba4
push ecx
push esi
mov esi, ecx
lea ecx, [esi + 0x30]
mov dword [ebp - 0x10], esi
call fcn.1009b965
xor ecx, ecx
lea eax, [esi + 0x3b0]
mov dword [ebp - 4], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
lea eax, [esi + 0x3c4]
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
lea ecx, [esi + 0x3d4]
mov byte [ebp - 4], 2
call fcn.1009b965
lea ecx, [esi + 0x754]
mov byte [ebp - 4], 3
call fcn.101521d0
lea ecx, [esi + 0x854]
mov byte [ebp - 4], 4
call fcn.101521d0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x1011440e
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, ecx
cmp byte [esi + 0x2404], 0
je 0x10114561
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call ebx
lea edi, [esi + 0x21a8]
mov ecx, dword [edi]
add ecx, 0x44c
cmp eax, ecx
jb 0x1011455f
call ebx
mov ecx, dword [esi + 0x2420]
mov dword [edi], eax
call fcn.101173ab
mov ecx, dword [0x10a1f7a4]
push 0xd6
call fcn.1009c3d3
xor ebx, ebx
inc ebx
cmp byte [esi + 0x13d], bl
jne 0x101144c1
xor eax, eax
fld1
push eax
push eax
push ecx
fstp dword [esp]
push ebx
push eax
mov ecx, esi
mov byte [esi + 0x13d], 0
mov dword [esi + 0x23cc], 7
call fcn.1011122f
mov ecx, dword [esi + 0x2420]
lea eax, [ebp - 8]
push eax
call fcn.10117412
push dword [ebp - 4]
mov ecx, esi
push dword [ebp - 8]
push ebx
call fcn.10112baf
push 0x10
call fcn.101656a0
mov esi, eax
mov byte [esi + 0xc], 2
jmp 0x1011454b
mov ecx, esi
call fcn.10112485
mov ecx, dword [esi + 0x2420]
lea eax, [ebp - 8]
push eax
call fcn.10117412
fld1
mov ax, word [ebp - 8]
xor edi, edi
push edi
push edi
push ecx
fstp dword [esp]
mov word [esi + 0x21ae], ax
mov ax, word [ebp - 4]
push ebx
push edi
mov ecx, esi
mov word [esi + 0x21b0], ax
mov byte [esi + 0x13d], bl
mov dword [esi + 0x23cc], 4
call fcn.1011122f
mov ecx, dword [0x10a139cc]
push edi
push ebx
push 0x792d
call fcn.10013ac8
mov ecx, dword [esi + 0x2420]
lea eax, [ebp - 0x10]
push eax
call fcn.10117412
push dword [ebp - 0xc]
mov ecx, esi
push dword [ebp - 0x10]
push edi
call fcn.10112baf
push 0x10
call fcn.101656a0
mov esi, eax
mov byte [esi + 0xc], bl
pop ecx
mov ecx, dword [0x10a1f590]
push esi
call fcn.1014289b
push esi
call fcn.10166fb4
pop ecx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x1011b3d4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
push esi
mov esi, ecx
inc ebx
cmp dword [esi + 0x90], ebx
jne 0x1011b4f6
mov eax, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 8]
test edi, edi
push ebx
push dword [esi + 4]
mov dword [esi + 0x11c], eax
mov ecx, dword [0x10a139cc]
push dword [ebp + 0x10]
jne 0x1011b410
push dword [ebp + 0xc]
jmp 0x1011b411
push edi
call fcn.1001fba6
fld1
fstp dword [ebp - 0x10]
push ecx
mov ecx, dword [0x10a139cc]
fldz
fstp dword [ebp - 8]
lea eax, [ebp - 0x10]
fld1
mov dword [ebp - 0xc], 0x3dcccccd
fstp dword [ebp - 4]
fld dword [0x1018f1d8]
fstp dword [esp]
push eax
push dword [esi + 4]
call fcn.10013c18
mov ecx, dword [0x10a139cc]
push 0
push dword [esi + 4]
lea eax, [ebp + 0x14]
push 0x10cccf
push eax
call fcn.1001f5cd
test edi, edi
mov byte [ebp + 0x13], 0
je 0x1011b480
mov ecx, dword [0x10a1f6c0]
lea eax, [ebp + 0x13]
push eax
push ebx
push edi
call fcn.10004c64
cmp byte [ebp + 0x13], 0
jne 0x1011b4e9
mov eax, dword [esi + 0x18]
test eax, eax
je 0x1011b4ab
cmp eax, 3
je 0x1011b4ab
cmp eax, 9
je 0x1011b4ab
mov eax, dword [esi]
movsx eax, word [eax + 0x8a]
push dword [esi + 4]
mov ecx, dword [0x10a139cc]
push eax
call fcn.10019e71
jmp 0x1011b4e9
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
cmp eax, ebx
jl 0x1011b4c4
cmp eax, 0x3e7
jg 0x1011b4c4
mov dword [esi + 0x18], 5
jmp 0x1011b4cb
mov dword [esi + 0x18], 0xa
push 0
fldz
push ecx
fstp dword [esp]
push ebx
mov ecx, esi
call fcn.1011a81f
mov ecx, dword [esi + 0x10]
mov byte [esi + 0x228], bl
call fcn.1011e45a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x98], eax
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x1011d4ef
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 0x90]
push 2
pop edi
cmp eax, edi
je 0x1011d679
cmp eax, 3
je 0x1011d679
mov ecx, dword [0x10a139cc]
push ebx
push dword [esi + 4]
call fcn.10013c9c
mov ecx, dword [esi + 0x18]
xor ebx, ebx
inc ebx
cmp ecx, 0x14
je 0x1011d52c
cmp ecx, 0x18
jne 0x1011d549
cmp eax, edi
jne 0x1011d549
cmp byte [esi + 0x2dc], bl
jne 0x1011d549
pop ebx
pop edi
mov byte [esi + 0x2d0], 0
mov ecx, esi
pop esi
jmp fcn.1011b24e
xor edx, edx
cmp ecx, 0x15
jne 0x1011d5cb
cmp eax, edx
jne 0x1011d5cb
push dword [esi + 0xa4]
fldz
mov dword [esi + 0x18], 0x16
push ecx
fstp dword [esp]
push 0xffffffffffffffff
mov ecx, esi
call fcn.1011a81f
lea edi, [esi + 0xac]
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x1011d589
mov ecx, dword [0x10a139cc]
push eax
call fcn.100186b9
mov ecx, dword [0x10a139cc]
push ebx
push ebx
push dword [esi + 4]
push ebx
push dword [esi + 0xa4]
push edi
call fcn.1001ef1a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xb4], eax
mov ecx, dword [0x10a1f6c0]
lea eax, [esi + 0xb8]
push eax
push ebx
push dword [esi + 0xa4]
call fcn.10004ce4
jmp 0x1011d678
cmp ecx, 6
jne 0x1011d5eb
cmp eax, edx
jne 0x1011d5eb
mov dword [esi + 0x90], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x94], eax
jmp 0x1011d678
cmp ecx, 4
jne 0x1011d611
cmp eax, edx
jne 0x1011d678
push edx
fldz
push ecx
fstp dword [esp]
push 0xffffffffffffffff
mov ecx, esi
mov dword [esi + 0x18], 9
call fcn.1011a81f
jmp 0x1011d678
cmp eax, edx
jne 0x1011d678
cmp ecx, ebx
je 0x1011d645
cmp ecx, edi
je 0x1011d645
cmp ecx, 3
je 0x1011d645
cmp ecx, 5
je 0x1011d645
cmp ecx, 7
je 0x1011d645
cmp ecx, 8
je 0x1011d645
cmp ecx, 0xa
je 0x1011d645
cmp ecx, 0x14
je 0x1011d645
cmp ecx, 0x17
je 0x1011d645
cmp ecx, 0x18
jne 0x1011d678
mov eax, dword [esi]
cmp byte [eax + 0x81], dl
je 0x1011d659
mov eax, dword [0x10a1f760]
cmp byte [eax + 0x43], dl
jne 0x1011d678
push edx
fldz
push ecx
fstp dword [esp]
push 0xffffffffffffffff
mov ecx, esi
mov dword [esi + 0x18], edx
call fcn.1011a81f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x98], eax
pop ebx
pop edi
pop esi
ret
Function at 0x10126c9a
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
push 0x10189448
push dword [ebp + 8]
mov dword [ebp - 8], ecx
call fcn.101662db
mov esi, eax
xor edi, edi
cmp esi, edi
pop ecx
pop ecx
jne 0x10126cbf
xor eax, eax
jmp 0x10126d28
push ebx
push 2
push edi
push esi
call fcn.10166605
push esi
call fcn.1016b05b
push eax
mov dword [ebp + 8], eax
call fcn.10165988
mov ebx, eax
add esp, 0x14
cmp ebx, edi
jne 0x10126ce5
xor eax, eax
jmp 0x10126d27
push edi
push edi
push esi
call fcn.10166605
push esi
push dword [ebp + 8]
push 1
push ebx
call fcn.1016652a
add esp, 0x1c
mov dword [ebp - 4], eax
test byte [esi + 0xc], 0x20
jne 0x10126ce1
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push ebx
push edi
push 1
push edi
push dword [eax + 0x34]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
je 0x10126ce1
push esi
call fcn.10166174
pop ecx
mov eax, ebx
pop ebx
pop edi
pop esi
leave
ret 4
Function at 0x101299fc
Capabilities:
Create directory

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x94
mov eax, dword [0x101cb280]
push ebx
push esi
mov dword [ebp + 0x74], eax
push edi
lea eax, [ebp - 0x1c]
push eax
mov edi, ecx
call fcn.10168b52
lea eax, [ebp - 0x1c]
push eax
call fcn.10168944
pop ecx
pop ecx
mov esi, eax
add dword [esi + 0x14], 0x76c
inc dword [esi + 0x10]
xor ebx, ebx
push ebx
push str.ScreenShot
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x40
lea eax, [ebp - 0xc]
push ebx
push eax
call fcn.10165d70
push dword [esi + 0xc]
lea eax, [ebp - 0xc]
push dword [esi + 0x10]
push dword [esi + 0x14]
push str.ScreenShotChatLog__d__d__d
push eax
call fcn.10165eb9
push 0x40
lea eax, [ebp + 0x34]
push ebx
push eax
call fcn.10165d70
add esp, 0x2c
xor esi, esi
push esi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 0x34]
push str._s__d.txt
push eax
call fcn.10165eb9
lea eax, [ebp + 0x34]
push 0x10191738
push eax
call fcn.101662db
add esp, 0x18
cmp eax, ebx
je 0x10129aa8
push eax
call fcn.10166174
pop ecx
inc esi
jmp 0x10129a76
lea eax, [ebp + 0x34]
push 0x1019bad4
push eax
call fcn.101662db
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
je 0x10129b8e
push str._ChatLog__n
push esi
call fcn.10167714
pop ecx
lea eax, [edi + 0x24188]
mov dword [ebp - 0x14], ebx
pop ecx
mov dword [ebp - 0x10], eax
mov ebx, 0x10189564
mov eax, dword [ebp - 0x10]
add eax, 0xffffff70
push eax
push esi
call fcn.10167714
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
call fcn.10152000
push eax
push esi
call fcn.10167714
push ebx
push esi
call fcn.10167714
mov eax, dword [ebp - 0x14]
add esp, 0x10
cmp eax, dword [edi + 0x86b14]
jge 0x10129b28
inc dword [ebp - 0x14]
add dword [ebp - 0x10], 0x194
cmp dword [ebp - 0x14], 0x3e8
jl 0x10129ae0
push 0x1019babc
push esi
call fcn.10167714
and dword [ebp - 0x14], 0
pop ecx
lea eax, [edi + 0x24188]
pop ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
add eax, 0x6299c
push eax
push esi
call fcn.10167714
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
call fcn.10152000
push eax
push esi
call fcn.10167714
push ebx
push esi
call fcn.10167714
mov eax, dword [ebp - 0x14]
add esp, 0x10
cmp eax, dword [edi + 0x908f0]
jge 0x10129b87
inc dword [ebp - 0x14]
add dword [ebp - 0x10], 0x194
cmp dword [ebp - 0x14], 0x64
jl 0x10129b42
push esi
call fcn.10166174
pop ecx
mov ecx, dword [ebp + 0x74]
pop edi
pop esi
pop ebx
call fcn.10165cbe
add ebp, 0x78
leave
ret
Function at 0x101355ab
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x10186bb6
call fcn.10166ba4
sub esp, 0x304
cmp byte [0x10a1f6ac], 0
mov eax, dword [0x101cb280]
mov dword [ebp - 0x10], eax
jne 0x101357a6
mov eax, dword [0x10a1f6d8]
cmp byte [eax + 1], 0
jne 0x101357a6
push 0x1018dc66
lea ecx, [ebp - 0x310]
call fcn.101521f0
and dword [ebp - 4], 0
mov ecx, eax
call fcn.10152000
push eax
lea ecx, [ebp - 0x110]
call fcn.101521f0
lea ecx, [ebp - 0x310]
mov byte [ebp - 4], 2
call fcn.101521c0
cmp dword [0x10a1f7d0], 1
mov ecx, dword [0x10a1f6c4]
je 0x10135636
test ecx, ecx
je 0x1013564b
lea eax, [ebp - 0x110]
push eax
push 0x3f0
jmp 0x10135646
test ecx, ecx
je 0x1013564b
lea eax, [ebp - 0x110]
push eax
push 0x3ef
call fcn.10043240
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov eax, dword [0x10a1f588]
sub edi, eax
cmp edi, 0x7a120
jbe 0x10135796
test eax, eax
push ebx
mov ebx, 0x3e8
je 0x10135764
push esi
lea ecx, [ebp - 0x110]
call fcn.10152020
lea ecx, [ebp - 0x210]
call fcn.101521d0
mov ecx, dword [0x10a1f6c4]
test ecx, ecx
mov byte [ebp - 4], 3
mov esi, 0x3f1
je 0x101356d9
lea eax, [ebp - 0x210]
push eax
push esi
call fcn.10043240
cmp al, 1
jne 0x101356d9
mov eax, 0x7c830
sub eax, edi
xor edx, edx
mov ecx, ebx
div ecx
lea ecx, [ebp - 0x210]
push eax
call fcn.10152000
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.10152030
add esp, 0xc
cmp dword [0x10a1f7d0], 5
jge 0x10135710
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x10a1f6c4]
test ecx, ecx
mov dword [0x10a1f588], eax
je 0x10135708
lea eax, [ebp - 0x110]
push eax
push 0x3f0
call fcn.10043240
inc dword [0x10a1f7d0]
jmp 0x10135754
mov ecx, dword [0x10a1f6c4]
test ecx, ecx
je 0x10135754
lea eax, [ebp - 0x210]
push eax
push esi
call fcn.10043240
cmp al, 1
jne 0x10135754
mov eax, 0x7c830
sub eax, edi
xor edx, edx
mov ecx, ebx
div ecx
lea ecx, [ebp - 0x210]
push eax
call fcn.10152000
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.10152030
add esp, 0xc
lea ecx, [ebp - 0x210]
mov byte [ebp - 4], 2
call fcn.101521c0
pop esi
mov eax, 0x7c830
sub eax, edi
xor edx, edx
div ebx
pop ebx
test eax, eax
ja 0x10135796
cmp dword [0x10a1f588], 0
je 0x10135796
mov ecx, dword [0x10a1f590]
and dword [0x10a1f588], 0
mov byte [0x10a19d40], 0x50
call fcn.1014268d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x110]
call fcn.101521c0
pop edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.10165cbe
leave
ret
Function at 0x10135df4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x101cb280]
push esi
mov esi, ecx
cmp byte [esi + 0x7c], 0
mov dword [ebp - 4], eax
je 0x10135e29
cmp byte [0x10a19d40], 0xa
jne 0x10135e73
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x6c], eax
mov byte [0x10a19d41], 3
jmp 0x10135e73
mov ecx, dword [0x10a1f590]
call fcn.10142654
cmp ax, 2
jne 0x10135e73
mov al, byte [0x10a19d40]
cmp al, 0x50
je 0x10135e17
cmp al, 0x51
jne 0x10135e59
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x6c], eax
mov byte [0x10a19d41], 2
jmp 0x10135e73
lea ecx, [ebp - 0x104]
mov byte [esi + 0x7c], 1
call fcn.101521d0
lea ecx, [ebp - 0x104]
call fcn.101521c0
mov ecx, dword [ebp - 4]
pop esi
call fcn.10165cbe
leave
ret
Function at 0x1013de6c
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x194
mov eax, dword [0x101cb280]
mov dword [esp + 0x190], eax
lea eax, [esp]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov ecx, dword [esp + 0x190]
neg eax
sbb eax, eax
inc eax
call fcn.10165cbe
add esp, 0x194
ret

Function at 0x1013dea5
Capabilities:
Connect socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x101cb280]
push ebx
push esi
xor esi, esi
push esi
push 1
push 2
mov dword [ebp - 4], eax
mov ebx, ecx
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [ebp - 0x28], eax
jne 0x1013dee5
push esi
push str.ERROR
push str.Initialize_socket_fail
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x1013e058
cmp dword [ebx + 4], esi
mov dword [ebx + 0x2000c], esi
mov dword [ebx + 0x20008], esi
mov dword [ebx + 0x20010], esi
mov byte [ebx + 0x2013c], 0
mov byte [ebx + 0x2013d], 0
mov byte [ebx + 0x2013f], 0
mov byte [ebx + 0x2013e], 0
je 0x1013df1f
mov ecx, ebx
call fcn.1013de0a
push edi
push 0x10
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.10165d70
mov eax, dword [ebp + 0x10]
add esp, 0xc
mov dword [ebp - 0x10], eax
push 0x10
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x28]
mov word [ebp - 0x12], si
mov esi, dword [sym.imp.WS2_32.dll_bind]
mov word [ebp - 0x14], 2
call esi
cmp eax, 0xffffffff
mov edi, dword [sym.imp.WS2_32.dll_htons]
jne 0x1013dfcf
add dword [0x10a624d8], 0xa
mov eax, dword [0x10a624d8]
add eax, 0x1388
push eax
call edi
mov word [ebp - 0x12], ax
push 0x10
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x28]
call esi
cmp eax, 0xffffffff
jne 0x1013dfcf
add dword [0x10a624d8], 0xa
mov eax, dword [0x10a624d8]
add eax, 0x1388
push eax
call edi
mov word [ebp - 0x12], ax
push 0x10
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x28]
call esi
cmp eax, 0xffffffff
jne 0x1013dfcf
push 0
push str.ERROR
push str.Binding_fail
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push dword [ebp - 0x28]
call dword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
jmp 0x1013e057
push 0x10
xor esi, esi
lea eax, [ebp - 0x24]
push esi
push eax
call fcn.10165d70
add esp, 0xc
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_inet_addr]
push dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov word [ebp - 0x24], 2
call edi
mov edi, dword [ebp - 0x28]
mov word [ebp - 0x22], ax
push 0x10
lea eax, [ebp - 0x24]
push eax
push edi
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jl 0x1013e022
push 0x21
push dword [ebp + 0x14]
push dword [ebp + 0x18]
push edi
call dword [sym.imp.WS2_32.dll_WSAAsyncSelect]
test eax, eax
jle 0x1013e02e
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [ebx + 4], esi
jmp 0x1013dfc8
cmp dword [ebp + 0x1c], esi
mov dword [ebx + 4], edi
je 0x1013e04b
push esi
push 4
lea eax, [ebp + 0x10]
push eax
push edi
mov dword [ebp + 0x10], 0x1f44f321
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebx + 0x20018], 1
mov eax, edi
pop edi
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.10165cbe
leave
ret 0x18