Function at 0x100227b0
Capabilities:
Check if file exists
Print debug messages
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010cfc0
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x10163164]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov eax, str.A
mov ecx, str.AAAA
mov dword [ebp - 0x70], esi
mov dl, byte [esi]
test dl, dl
cmove eax, ecx
mov dword [ebp - 0x7c], eax
je 0x100227fd
mov eax, dword [edi + 0x1c]
jmp 0x10022800
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x6c], eax
mov ecx, edi
mov eax, dword [edi]
push esi
call dword [eax]
lea eax, [esi + 0x24]
push eax
mov dword [ebp - 0x5c], eax
lea ecx, [esi + 0x18]
movzx eax, byte [esi]
push eax
movzx eax, word [ecx]
push eax
push 1
lea eax, [ebp - 0x28]
mov dword [ebp - 0x78], ecx
push eax
call fcn.100236d0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x18]
inc eax
push eax
call fcn.100b88be
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
mov esi, eax
cmovae edx, dword [ebp - 0x28]
inc ecx
push ecx
push edx
push esi
call fcn.100c29f0
push 8
call fcn.100b88be
add esp, 0x14
mov dword [eax], edi
push 0
push eax
push 0x10023540
push 0
push 0xbb8
mov dword [eax + 4], esi
call dword [sym.imp.WINMM.dll_timeSetEvent]
lea esi, [edi + 0x164]
push esi
mov dword [ebp - 0x74], esi
call fcn.100b723b
add esp, 4
test eax, eax
jne 0x10022c2e
mov eax, dword [esi + 0x2c]
cmp eax, 0x7fffffff
je 0x10022c35
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
push dword [ebp - 0x70]
lea ecx, [edi + 0x194]
push eax
call fcn.10023a50
mov ecx, eax
call fcn.10023790
push esi
mov byte [ebp - 4], 0
call fcn.100b7260
mov esi, dword [ebp - 0x78]
lea ecx, [ebp - 0x88]
push 1
push dword [ebp - 0x5c]
mov dx, word [esi]
call fcn.10026b10
add esp, 0xc
push 0x10
mov byte [ebp - 4], 2
lea eax, [edi + 0x1b8]
mov edx, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x88]
sub edx, ecx
push eax
push 0
push edx
push ecx
push dword [ebp - 0x6c]
call dword [sym.imp.WS2_32.dll_sendto]
call fcn.1007dac0
push 1
push dword [ebp - 0x5c]
mov dword [ebp - 0x74], edx
lea ecx, [ebp - 0x68]
mov dx, word [esi]
mov dword [ebp - 0x6c], eax
call fcn.10026b10
add esp, 8
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x68]
sub eax, ecx
je 0x10022b49
push 0x48
call fcn.100b887b
mov edx, eax
xorps xmm0, xmm0
movups xmmword [edx + 8], xmm0
mov dword [edx + 0x18], 0
lea ecx, [edx + 8]
mov dword [ecx + 0x14], 0xf
lea esi, [edx + 0x3c]
mov byte [ecx], 0
xor eax, eax
mov dword [esi], 0
add esp, 4
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov word [edx + 4], ax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x5c], edx
mov byte [edx + 0x20], 1
mov dword [edx + 0x24], 0
mov dword [edx + 0x28], 0
mov dword [edx], edi
movups xmmword [edx + 0x2c], xmm0
cmp ecx, eax
je 0x100229b2
cmp dword [ebp - 0x14], 0x10
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.10024080
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x78]
mov ax, word [eax]
mov word [edx + 4], ax
movups xmm0, xmmword [edi + 0x1c8]
mov eax, dword [ebp - 0x70]
movups xmmword [edx + 0x2c], xmm0
mov al, byte [eax]
mov byte [edx + 0x20], al
mov eax, dword [ebp - 0x6c]
mov dword [edx + 0x24], eax
mov eax, dword [ebp - 0x74]
mov dword [edx + 0x28], eax
lea eax, [ebp - 0x68]
cmp esi, eax
je 0x10022a04
mov ecx, dword [esi]
mov eax, dword [ebp - 0x68]
mov dword [esi], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], ecx
mov ecx, dword [esi + 4]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x64], ecx
mov ecx, dword [esi + 8]
mov dword [esi + 8], eax
mov dword [ebp - 0x60], ecx
push 0
push edx
push 0x10023460
push 0
push 0x1f4
call dword [sym.imp.WINMM.dll_timeSetEvent]
test eax, eax
jne 0x10022b46
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x74], eax
mov eax, dword [esi + 4]
sub eax, dword [esi]
cmp word [edi + 0x1c8], 2
mov dword [ebp - 0x70], eax
je 0x10022a79
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
push 0x20
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0xf
call fcn.100b887b
movups xmm0, xmmword [0x10149d84]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x30], 0x10
mov dword [ebp - 0x2c], 0x1f
movups xmmword [eax], xmm0
mov byte [eax + 0x10], 0
jmp 0x10022a8f
movzx eax, word [edi + 0x1ca]
lea ecx, [ebp - 0x40]
mov edx, dword [edi + 0x1cc]
push eax
call fcn.10078060
add esp, 4
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x78]
lea edx, [ebp - 0x7c]
push 0x86
push str._NFSDK__2__DNS__DnsResolver____qid:_4x__handleRequestToNode_
lea ecx, [ebp - 0x58]
call fcn.100244a0
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x10022ac5
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 0x44]
cmp ecx, 0x10
jb 0x10022b00
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10022af6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022c40
push ecx
push edx
call fcn.100b88b0
add esp, 8
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
cmp ecx, 0x10
jb 0x10022b46
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10022b3c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022c40
push ecx
push edx
call fcn.100b88b0
add esp, 8
mov ecx, dword [ebp - 0x68]
test ecx, ecx
je 0x10022b8f
mov edx, dword [ebp - 0x60]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x10022b70
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022c45
push edx
push ecx
call fcn.100b88b0
add esp, 8
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov ecx, dword [ebp - 0x88]
test ecx, ecx
je 0x10022be1
mov edx, dword [ebp - 0x80]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x10022bbc
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022c45
push edx
push ecx
call fcn.100b88b0
add esp, 8
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x10022c11
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10022c07
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022c45
push ecx
push edx
call fcn.100b88b0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100b8868
mov esp, ebp
pop ebp
ret 4
push 5
call fcn.100b6fbf
dec eax
push 6
mov dword [esi + 0x2c], eax
call fcn.100b6fbf
call fcn.100c9aa4
call fcn.100c9aa4
int3