Function at 0x40eb80
Capabilities:
Check for time delay via gettickcount
Encrypt data using speck

Disassembly:
sub esp, 0x110
push ebx
push ebp
push esi
mov esi, dword [esp + 0x134]
mov dword [esp + 0x28], edx
mov dword [esp + 0x10], ecx
push edi
mov di, word [esp + 0x130]
movzx ebp, di
cmp esi, 0xffc3d44f
je 0x40ebc1
cmp esi, 0xffc3d44e
je 0x40ebc1
mov byte [esp + 0x1b], 0
cmp esi, 0xffc3d44d
jne 0x40ebc6
mov byte [esp + 0x1b], 1
mov ecx, dword [0x4e7cd8]
mov ebx, dword [esp + 0x12c]
test ecx, ecx
jne 0x40ebe4
lea edx, [esp + 0x4c]
mov dword [esp + 0x24], edx
jmp 0x40ecab
mov eax, dword [0x4e7cf4]
imul esi, eax, 0xd4
inc eax
mov dword [0x4e7cf4], eax
add esi, ecx
mov dword [esp + 0x24], esi
cmp eax, dword [0x4e37fc]
jl 0x40ec0d
mov dword [0x4e7cf4], 0
mov eax, dword [esp + 0x134]
mov byte [esi], bl
mov byte [esi + 6], al
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov dword [0x4e7cf0], eax
sub ecx, dword [0x4e97e8]
mov dword [0x4e97e8], eax
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x4dbac0]
cvtpd2ps xmm0, xmm0
divss xmm0, dword [0x4db9cc]
movss dword [esi + 8], xmm0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edx, dword [esp + 0x24]
mov esi, eax
lea ecx, [edx + 0xc]
test esi, esi
je 0x40ec91
cmp esi, dword [0x4e7cec]
je 0x40ec8a
push esi
push ecx
push 0x418
push dword [0x4e7ccc]
call dword [sym.imp.USER32.dll_PostMessageW]
mov edx, dword [esp + 0x24]
jmp 0x40ec9e
xor eax, eax
mov word [ecx], ax
jmp 0x40ec9e
mov dword [ecx], 0x2f004e
mov dword [ecx + 4], 0x41
mov dword [0x4e7cec], esi
mov esi, dword [esp + 0x138]
cmp bl, 0xe7
jne 0x40ed00
mov ecx, dword [esp + 0x128]
push 0x7fff
push edx
push esi
push dword [esp + 0x140]
mov ax, word [ecx + 4]
push 0
mov word [edx + 2], ax
mov eax, 0x55
push 0xe7
push ecx
push dword [esp + 0x140]
mov ecx, dword [esp + 0x34]
mov word [edx + 4], ax
mov edx, dword [esp + 0x4c]
call fcn.00410710
add esp, 0x20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret
mov esi, dword [0x4e9818]
mov al, bl
add al, 0x64
mov word [edx + 2], di
mov cl, 3
mov edi, 0x20
cmp cl, al
sbb eax, eax
and eax, ebp
movzx eax, ax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
cmp eax, dword [0x4e7ef0]
jne 0x40ed59
mov cl, byte [esp + 0x13c]
and cl, 1
mov dword [esp + 0x3c], ecx
jne 0x40eddc
mov al, byte [esp + 0x134]
movzx ecx, bl
xor al, 1
shl al, 7
mov byte [ecx + 0x4e7f00], al
jmp 0x40edd8
mov edx, dword [esp + 0x13c]
mov ecx, edx
movzx ebp, bl
shr ecx, 4
and ecx, 0xffffff01
mov dword [esp + 0x3c], ecx
lea eax, [ebp*4]
add eax, ebp
cmp byte [esi + eax*4 + 8], 0
jne 0x40eddc
test dl, 0x10
jne 0x40eddc
cmp bl, 0xa0
je 0x40ed91
cmp bl, 0xa1
jne 0x40edb0
cmp byte [esp + 0x134], 0
jne 0x40edb0
cmp bl, 0xa0
mov eax, edi
mov edx, 0x10
cmove eax, edx
test byte [0x4e7efe], al
jne 0x40eddc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [0x4e9818]
mov dword [0x4e97f0], eax
mov dword [0x4e97ec], eax
mov al, byte [esp + 0x134]
xor al, 1
shl al, 7
mov byte [ebp + 0x4e7f00], al
mov ecx, dword [esp + 0x3c]
mov dl, byte [esp + 0x1b]
test dl, dl
je 0x40edeb
mov eax, 0x69
jmp 0x40edf8
mov eax, 0x61
test cl, cl
cmovne edi, eax
movzx eax, di
cmp byte [0x4e7eef], 0
mov ebp, dword [esp + 0x24]
mov word [ebp + 4], ax
je 0x40ee3a
cmp bl, 0x5b
je 0x40ee13
cmp bl, 0x5c
jne 0x40ee3a
mov eax, dword [esp + 0x134]
test al, al
jne 0x40ee41
mov ecx, dword [esp + 0x138]
push 0
push closesocket
push 0x7fff
push ebp
push ecx
push 0
jmp 0x41055c
mov eax, dword [esp + 0x134]
cmp byte [0x4e967e], 0
mov edi, dword [sym.imp.USER32.dll_FindWindowW]
je 0x40eeeb
cmp bl, 0x1b
jne 0x40eeeb
test al, al
jne 0x40eeeb
push 0
push str.32771
call edi
test eax, eax
je 0x40eee1
push 0
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp esi, eax
jne 0x40eee1
push 0xffc3d44d
push 0
push 0
push 0
mov dl, bl
xor ecx, ecx
call fcn.00419a20
mov dl, byte [0x4e8005]
mov ecx, 1
push 0xffc3d44d
shr dl, 3
push 0
and dl, 1
push 0
push 0
or dl, 0xa4
call fcn.00419a20
mov ecx, dword [esp + 0x158]
add esp, 0x20
push 0
push closesocket
push 0x7fff
push ebp
push ecx
push 0
push ecx
push 0x1b
jmp 0x41055e
mov esi, dword [0x4e9818]
mov dl, byte [esp + 0x1b]
mov eax, dword [esp + 0x1c]
movzx eax, ax
mov dword [esp + 0x30], eax
lea ecx, [eax + eax*4]
mov eax, dword [0x4e981c]
lea ebp, [eax + ecx*4]
mov eax, dword [esp + 0x14]
mov cl, byte [ebp + 0x13]
mov byte [esp + 0x23], cl
cmp eax, dword [0x4e7ef4]
jne 0x40ef18
test cl, cl
jne 0x40ef25
movzx eax, bl
lea eax, [eax + eax*4]
lea ebp, [esi + eax*4]
mov eax, dword [esp + 0x14]
test dl, dl
je 0x40ef97
mov ecx, dword [esp + 0x138]
mov eax, dword [esp + 0x134]
cmp ecx, 0xffc3d44e
jne 0x40ef5d
test al, al
je 0x40ef5d
cmp dword [0x4e802c], ebp
jne 0x40ef5d
mov byte [ebp + 0xd], 0
mov byte [ebp + 0x10], 0
mov dword [0x4e802c], 0
mov edi, dword [esp + 0x24]
push 0x7fff
push edi
push ecx
push eax
mov ecx, dword [esp + 0x24]
push dword [esp + 0x2c]
mov edx, dword [esp + 0x40]
push ebx
push dword [esp + 0x140]
push dword [esp + 0x140]
call fcn.00410710
add esp, 0x20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret
mov edx, dword [esp + 0x134]
test dl, dl
jne 0x40efa5
mov byte [ebp + 0x11], dl
cmp eax, dword [0x4e7ef0]
jne 0x40f037
test bl, bl
jne 0x40eff5
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x138]
push 0x7fff
push edi
push ecx
push edx
push dword [esp + 0x2c]
mov edx, dword [esp + 0x40]
mov ecx, eax
push 0
push dword [esp + 0x140]
push dword [esp + 0x140]
call fcn.00410710
add esp, 0x20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret
cmp bl, 1
je 0x40efff
cmp bl, 2
jne 0x40f037
cmp dword [0x4e7ca4], 0
jne 0x40f068
push 0
push str.32768
call edi
test eax, eax
je 0x40f026
push 0
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x4e8f18]
je 0x40f061
mov esi, dword [0x4e9818]
mov edx, dword [esp + 0x134]
mov eax, dword [esp + 0x14]
mov ecx, dword [0x4e802c]
test ecx, ecx
je 0x40f09c
cmp ecx, ebp
je 0x40f09c
test dl, dl
jne 0x40f09c
cmp byte [ecx + 0x12], 0xff
je 0x40f09c
cmp eax, dword [0x4e7ef4]
jne 0x40f08b
xor eax, eax
cmp byte [ebp + 8], al
sete al
jmp 0x40f094
mov edx, dword [esp + 0x134]
mov byte [ebp + 0x10], 0
mov edi, dword [esp + 0x24]
mov al, dl
mov ecx, dword [esp + 0x138]
xor al, 1
push 0x7fff
push edi
push ecx
mov byte [ebp + 0xd], al
push edx
jmp 0x40ef69
mov eax, dword [0x4e802c]
movzx eax, byte [eax + 8]
test eax, eax
je 0x40f09c
mov byte [ecx + 0x12], 1
cmp byte [ebp + 9], 0
jne 0x40f0a8
cmp byte [ebp + 0xa], 0
je 0x40f06c
mov dword [esp + 0x3c], 0
mov edi, 0x7fff
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov byte [esp + 0x11], 0
test dl, dl
je 0x40f104
mov ch, byte [ebp + 0x10]
mov al, byte [ebp + 0xd]
mov byte [esp + 0x13], al
movzx eax, word [ebp + 4]
mov byte [esp + 0x2b], ch
mov ecx, edi
mov byte [ebp + 0x10], 0
cmp ax, cx
je 0x40f0f1
mov edi, eax
mov word [ebp + 4], cx
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov al, byte [ebp + 0xc]
test al, 8
je 0x40f114
and al, 0xf7
mov byte [esp + 0x11], 1
mov byte [ebp + 0xc], al
jmp 0x40f114
mov al, byte [esp + 0x13]
mov byte [esp + 0x13], al
mov al, byte [esp + 0x13]
mov byte [esp + 0x2b], al
mov al, dl
xor cl, cl
xor al, 1
mov byte [ebp + 0xd], al
mov eax, dword [esp + 0x14]
cmp eax, dword [0x4e7ef4]
jne 0x40f192
cmp byte [ebp + 8], cl
je 0x40f1b8
cmp byte [esi + 0xcb5], cl
jne 0x40f146
cmp byte [esi + 0xcc9], cl
jne 0x40f146
xor al, al
jmp 0x40f148
mov al, 1
cmp byte [esi + 0xcdd], 0
mov byte [esi + 0x161], al
jne 0x40f164
cmp byte [esi + 0xcf1], 0
jne 0x40f164
xor al, al
jmp 0x40f166
mov al, 1
cmp byte [esi + 0xc8d], 0
mov byte [esi + 0x175], al
jne 0x40f188
cmp byte [esi + 0xca1], 0
jne 0x40f188
xor al, al
mov byte [esi + 0x14d], al
jmp 0x40f1b8
mov al, 1
mov byte [esi + 0x14d], al
jmp 0x40f1b8
cmp dword [0x4e7ef4], 0
jne 0x40f1b8
mov cl, 1
call fcn.0041c170
mov esi, dword [0x4e9818]
mov ah, al
mov byte [0x4e8004], ah
mov cl, 1
mov byte [0x4e8005], ah
mov eax, dword [ebp]
test eax, eax
je 0x40f1c9
cmp dword [eax], 6
mov byte [esp + 0x1b], 1
je 0x40f1ce
mov byte [esp + 0x1b], 0
test cl, cl
jne 0x40f1df
mov cl, 1
call fcn.0041c170
mov esi, dword [0x4e9818]
mov al, byte [ebp + 9]
mov ecx, dword [esp + 0x134]
test al, al
je 0x40f5d8
test cl, cl
jne 0x40f5d8
mov ecx, dword [0x4e802c]
test ecx, ecx
je 0x40f211
cmp byte [ebp + 0xa], 0
je 0x40f211
cmp ebp, ecx
jne 0x40f5cb
mov dh, byte [ebp + 0xc]
shr dh, 4
not dh
and dh, 1
mov byte [esp + 0x1a], dh
cmp al, 1
jne 0x40f397
cmp byte [esp + 0x23], 0
je 0x40f235
mov ecx, dword [esp + 0x30]
jmp 0x40f23c
movzx ecx, bl
mov dword [esp + 0x30], ecx
xor edx, edx
movzx eax, cx
cmp byte [esp + 0x23], dl
movzx ecx, cl
cmovne edx, eax
xor eax, eax
cmp byte [esp + 0x23], al
push 0
cmovne ecx, eax
call fcn.0041c3b0
mov dh, al
xor dl, dl
xor edi, edi
mov byte [esp + 0x16], dh
xor eax, eax
mov byte [esp + 0x47], dl
add esp, 4
mov dword [esp + 0x44], edi
cmp ax, word [0x4e805c]
jae 0x40f380
nop
cmp byte [esp + 0x23], 0
mov ecx, dword [0x4e804c]
mov edi, dword [ecx + edi*4]
je 0x40f296
movzx eax, word [edi + 0xa]
jmp 0x40f29a
movzx eax, byte [edi + 0x11]
cmp dword [esp + 0x30], eax
je 0x40f2a9
test byte [edi + 0xe], dh
je 0x40f362
cmp word [edi + 6], 0
je 0x40f2e5
cmp byte [edi + 0x19], 0
je 0x40f362
cmp byte [0x4e7e7d], 0
jne 0x40f362
test byte [edi + 0x13], 1
mov dh, byte [esp + 0x1a]
jne 0x40f391
test dh, dh
jne 0x40f391
mov dl, 1
mov byte [esp + 0x43], dl
jmp 0x40f35e
mov eax, dword [edi + 0x20]
test eax, eax
je 0x40f362
nop dword [eax]
cmp byte [eax + 0x20], 0
jne 0x40f2ff
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x40f2f0
jmp 0x40f362
test dl, dl
je 0x40f309
test byte [edi + 0x13], 1
je 0x40f362
mov esi, dword [edi + 0x20]
nop dword [eax]
cmp byte [esi + 0x20], 0
je 0x40f357
cmp byte [0x4e7e7d], 0
je 0x40f325
cmp byte [esi + 0x21], 0
je 0x40f357
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x40f338
mov edx, dword [edi + 0x1c]
call fcn.00413920
test eax, eax
je 0x40f353
test byte [esi + 0x1d], 1
mov dh, byte [esp + 0x1a]
jne 0x40f391
test dh, dh
jne 0x40f391
mov dl, 1
mov byte [esp + 0x43], dl
test byte [edi + 0x13], dl
je 0x40f35e
jmp 0x40f357
mov dl, byte [esp + 0x43]
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x40f310
mov dh, byte [esp + 0x12]
mov edi, dword [esp + 0x44]
movzx eax, word [0x4e805c]
inc edi
mov dword [esp + 0x44], edi
cmp edi, eax
jl 0x40f280
mov esi, dword [0x4e9818]
mov dh, dl
mov byte [esp + 0x1a], dh
test dl, dl
jne 0x40f397
mov byte [esp + 0x12], 1
jmp 0x40f3ae
mov esi, dword [0x4e9818]
mov byte [esp + 0x12], 0
cmp ebp, dword [0x4e802c]
je 0x40f3ae
mov dword [0x4e802c], ebp
mov byte [ebp + 0x12], 0
cmp byte [ebp + 0xa], 0
je 0x40f559
mov al, byte [ebp + 8]
mov dl, byte [0x4e8004]
test al, al
je 0x40f3c9
not al
and dl, al
mov eax, dword [esp + 0x14]
cmp eax, dword [0x4e7ef4]
jne 0x40f3f2
cmp byte [esp + 0x23], 0
je 0x40f3f2
mov eax, dword [esp + 0x1c]
movzx ecx, dl
movzx eax, ax
shl ecx, 9
add ecx, eax
mov eax, dword [0x4e9810]
jmp 0x40f402
movzx ecx, dl
movzx eax, bl
shl ecx, 8
add ecx, eax
mov eax, dword [0x4e980c]
movzx ecx, word [eax + ecx*2]
mov eax, ecx
movzx edi, cx
and eax, 0x7fff
mov dword [esp + 0x34], edi
add eax, 0xffff8006
mov dword [esp + 0x38], edi
cmp ax, 4
jbe 0x40f56b
mov eax, 0x7fff
cmp cx, ax
je 0x40f56b
test dh, dh
jne 0x40f456
mov byte [ebp + 0x12], 0xff
mov dl, byte [esp + 0x11]
test edi, 0x8000
je 0x40f53e
mov word [ebp + 4], di
jmp 0x40f56b
test dl, dl
jne 0x40f43d
push 0
lea eax, [esp + 0x15]
push eax
push dword [esp + 0x140]
lea ecx, [esp + 0x44]
call fcn.00414230
mov dl, byte [esp + 0x1d]
add esp, 0xc
mov dword [esp + 0x3c], eax
test eax, eax
je 0x40f498
test dl, dl
je 0x40f498
mov edi, dword [esp + 0x38]
mov esi, dword [0x4e9818]
mov dh, byte [esp + 0x1a]
mov dword [esp + 0x34], edi
jmp 0x40f441
mov edi, dword [esp + 0x38]
mov dword [esp + 0x34], edi
cmp di, word [0x4e805c]
jae 0x40f522
mov ecx, dword [0x4e9814]
mov eax, 0x7fff
movzx esi, di
add esi, esi
add ecx, esi
cmp word [ecx], ax
je 0x40f522
push 0
lea eax, [esp + 0x15]
mov byte [esp + 0x15], 0
push eax
push dword [esp + 0x140]
call fcn.00414230
mov dl, byte [esp + 0x1d]
add esp, 0xc
test eax, eax
je 0x40f522
test dl, dl
je 0x40f522
cmp dword [esp + 0x3c], 0
mov dh, byte [esp + 0x1a]
je 0x40f502
mov esi, dword [0x4e9818]
mov byte [esp + 0x11], 0
jmp 0x40f43d
mov dword [esp + 0x3c], eax
mov eax, dword [0x4e9814]
movzx edi, word [esi + eax]
mov esi, dword [0x4e9818]
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
jmp 0x40f441
mov esi, dword [0x4e9818]
mov edi, 0x7fff
mov dh, byte [esp + 0x1a]
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
jmp 0x40f441
cmp di, word [0x4e805c]
jae 0x40f561
mov eax, dword [0x4e9814]
movzx ecx, di
mov ax, word [eax + ecx*2]
mov word [ebp + 4], ax
jmp 0x40f561
mov edi, dword [esp + 0x34]
mov dl, byte [esp + 0x11]
mov eax, 0x7fff
cmp di, ax
jne 0x40f5cf
cmp byte [esp + 0x12], 0
mov ecx, dword [esp + 0x24]
je 0x40f57f
mov eax, 0x23
mov word [ecx + 4], ax
test dh, dh
jne 0x40f587
or byte [ebp + 0xc], 8
cmp byte [ebp + 8], 0
jne 0x40f5b7
test dh, dh
je 0x40f5b7
cmp byte [esp + 0x1b], 0
jne 0x40f5b7
push 0
push closesocket
push 0x7fff
push ecx
push dword [esp + 0x148]
mov byte [ebp + 0x11], 1
push 0
jmp 0x41055c
push 0x7fff
push ecx
push dword [esp + 0x140]
push 0
jmp 0x40ef69
mov dl, byte [esp + 0x11]
mov ecx, dword [esp + 0x134]
jmp 0x40f5dc
mov dl, byte [esp + 0x11]
cmp byte [ebp + 0xa], 0
mov byte [esp + 0x12], 0
je 0x40f645
test cl, cl
je 0x40f645
mov al, byte [esp + 0x2b]
cmp dword [0x4e802c], ebp
jne 0x40f605
test al, al
je 0x40f645
mov dword [0x4e802c], 0
cmp byte [ebp + 0xb], 0
jne 0x40f640
test al, al
je 0x40f629
test dl, dl
jne 0x40f629
mov edi, dword [esp + 0x24]
push 0
push closesocket
push 0x7fff
push edi
jmp 0x410554
mov edi, dword [esp + 0x24]
push 0x7fff
push edi
push dword [esp + 0x140]
push ecx
jmp 0x40ef69
mov byte [esp + 0x12], 1
cmp byte [ebp + 9], 0
mov eax, 1
je 0x40f78b
test cl, cl
je 0x40f78b
cmp dword [0x4e802c], ebp
jne 0x40f66e
mov dword [0x4e802c], 0
cmp byte [ebp + 0xe], 0
je 0x40f69a
push 0xffc3d44d
push 0
push 0
push 0
mov dl, 0x12
mov byte [ebp + 0xe], 0
mov ecx, eax
call fcn.00419a20
mov esi, dword [0x4e9818]
add esp, 0x10
mov eax, 1
cmp byte [ebp + 0xf], 0
je 0x40f6c1
push 0xffc3d44d
push 0
push 0
push 0
mov dl, 0x10
mov byte [ebp + 0xf], 0
mov ecx, eax
call fcn.00419a20
mov esi, dword [0x4e9818]
add esp, 0x10
mov cl, byte [esp + 0x1b]
mov al, byte [ebp + 0x12]
test cl, cl
je 0x40f748
cmp al, 2
jne 0x40f727
mov ebp, dword [esp + 0x1c]
mov dl, bl
push 0xffc3d44e
push 0
push 0
push ebp
mov ecx, 1
call fcn.00419a20
push 0xffc3d44d
push 0
push 0
push ebp
mov dl, bl
mov ecx, 2
call fcn.00419a20
add esp, 0x20
mov edi, dword [esp + 0x24]
push 0
push closesocket
push 0x7fff
push edi
push dword [esp + 0x148]
push dword [esp + 0x148]
jmp 0x41055c
cmp al, 1
jne 0x40f765
mov edi, dword [esp + 0x24]
push 0x7fff
push edi
push dword [esp + 0x140]
push dword [esp + 0x140]
jmp 0x40ef69
test al, al
jle 0x40f765
mov eax, 0x7fff
cmp di, ax
jne 0x40f765
cmp byte [ebp + 8], 0
jne 0x40f72b
cmp byte [esp + 0x11], 0
jne 0x40f72b
jmp 0x40f703
cmp byte [ebp + 0xa], 0
jne 0x40f77e
cmp byte [ebp + 8], 0
jne 0x40f72b
cmp byte [esp + 0x11], 0
jne 0x40f72b
test cl, cl
jne 0x40f72b
jmp 0x40f703
cmp byte [esp + 0x13], 0
jne 0x40f78b
cmp byte [ebp + 0xb], 0
je 0x40f72b
cmp dword [0x4e802c], 0
mov edx, 0x7ffd
mov dword [esp + 0x30], 0
je 0x40fb40
mov ecx, dword [esp + 0x134]
test cl, cl
je 0x40f7ba
cmp byte [ebp + 0xb], 0
je 0x40fb40
mov eax, 0x7fff
cmp di, ax
jne 0x40fef8
movzx edi, word [ebp + 6]
cmp di, ax
je 0x40f91f
mov eax, dword [0x4e804c]
movzx ecx, di
mov edx, dword [eax + ecx*4]
mov al, byte [edx + 0x11]
test al, al
jne 0x40f7ff
cmp word [edx + 0xa], 0
je 0x40f869
movzx eax, word [edx + 0xa]
lea ecx, [eax + eax*4]
mov eax, dword [0x4e981c]
lea eax, [eax + ecx*4]
jmp 0x40f808
movzx eax, al
lea eax, [eax + eax*4]
lea eax, [esi + eax*4]
cmp byte [eax + 0xd], 0
movzx edi, word [edx + 0xc]
je 0x40f84d
cmp byte [edx + 0x16], 0
je 0x40f834
cmp byte [esp + 0x134], 0
jne 0x40f861
mov ax, word [edx + 4]
mov ecx, dword [esp + 0x30]
mov word [ebp + 4], ax
test ecx, ecx
jne 0x40f875
jmp 0x40f851
cmp byte [esp + 0x134], 0
mov ecx, dword [esp + 0x30]
jne 0x40f851
test ecx, ecx
cmove ecx, edx
mov dword [esp + 0x30], ecx
jmp 0x40f851
mov ecx, dword [esp + 0x30]
mov eax, 0x7fff
cmp di, ax
jne 0x40f7d5
jmp 0x40f86d
mov ecx, edx
mov dword [esp + 0x30], ecx
jmp 0x40f86d
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x40f913
movzx ecx, byte [ecx + 0x11]
cmp ecx, 0x12
ja case.0x40f885.1
movzx eax, byte [ecx + 0x410590]
jmp dword [eax*4 + 0x41057c]
cmp byte [esi + 0xca1], 0
mov eax, 0xc80
mov ecx, 0xc94
cmovne eax, ecx
add eax, esi
jmp 0x40f8ef
cmp byte [esi + 0xcc9], 0
mov eax, 0xca8
mov ecx, 0xcbc
cmovne eax, ecx
add eax, esi
jmp 0x40f8ef
cmp byte [esi + 0xcf1], 0
mov eax, 0xcd0
mov ecx, 0xce4
cmovne eax, ecx
add eax, esi
jmp 0x40f8ef
mov eax, dword [esp + 0x30]
movzx eax, word [eax + 0xa]
lea ecx, [eax + eax*4]
mov eax, dword [0x4e981c]
lea eax, [eax + ecx*4]
jmp 0x40f8ef
lea eax, [ecx + ecx*4]
lea eax, [esi + eax*4]
mov ecx, dword [esp + 0x30]
mov dword [0x4e802c], eax
movzx eax, word [ecx + 6]
test ax, ax
jne 0x40f905
movzx eax, word [ecx + 4]
movzx ecx, ax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
movzx edi, ax
mov ecx, dword [esp + 0x134]
mov edx, 0x7ffd
mov eax, 0x7ffe
cmp di, ax
je 0x40f932
cmp di, dx
jne 0x40fb3c
mov eax, dword [0x4e802c]
cmp byte [eax + 0x12], 0xff
je 0x40f941
mov byte [eax + 0x12], 2
test cl, cl
jne 0x40f949
mov byte [ebp + 0x10], 1
test byte [0x4e8005], 0xc
jne 0x40f970
push 0xffc3d44d
push 0
push 0
push 0
mov dl, 0x12
xor ecx, ecx
call fcn.00419a20
mov ecx, dword [esp + 0x144]
add esp, 0x10
cmp bl, 0xa2
je 0x40f97a
cmp bl, 0xa3
jne 0x40f99d
mov esi, dword [esp + 0x1c]
test cl, cl
jne 0x40f9a1
push 0xffc3d44d
push 0
push 0
push esi
mov dl, bl
mov ecx, 1
call fcn.00419a20
add esp, 0x10
jmp 0x40f9a1
mov esi, dword [esp + 0x1c]
mov eax, dword [0x4e802c]
mov byte [eax + 0xe], 1
mov eax, 0x7ffd
cmp di, ax
jne 0x40f9e2
test byte [0x4e8005], 0x30
jne 0x40f9d4
push 0xffc3d44d
push 0
push 0
push 0
mov dl, 0x10
xor ecx, ecx
call fcn.00419a20
add esp, 0x10
mov eax, dword [0x4e802c]
mov byte [eax + 0xf], 1
jmp 0x40fa62
mov eax, 0x7ffe
cmp di, ax
jne 0x40fa62
cmp bl, 0xa0
je 0x40f9f6
cmp bl, 0xa1
jne 0x40fa1d
cmp byte [esp + 0x134], 0
jne 0x40fa1d
push 0xffc3d44d
push 0
push 0
push esi
mov esi, 1
mov dl, bl
mov ecx, esi
call fcn.00419a20
add esp, 0x10
jmp 0x40fa22
mov esi, 1
test byte [0x4e8005], 0x10
je 0x40fa42
push 0xffc3d44d
push 0
push 0
push 0
mov dl, 0xa0
mov ecx, esi
call fcn.00419a20
add esp, 0x10
test byte [0x4e8005], 0x20
je 0x40fa62
push 0xffc3d44d
push 0
push 0
push 0
mov dl, 0xa1
mov ecx, esi
call fcn.00419a20
add esp, 0x10
test byte [0x4e8005], 1
mov esi, 1
je 0x40fa87
push 0xffc3d44d
push 0
push 0
push 0
mov dl, 0xa2
mov ecx, esi
call fcn.00419a20
add esp, 0x10
test byte [0x4e8005], 2
je 0x40faa7
push 0xffc3d44d
push 0
push 0
push 0
mov dl, 0xa3
mov ecx, esi
call fcn.00419a20
add esp, 0x10
push 0xffc3d44d
push 0
push 0
push 0
mov dl, 9
mov ecx, 2
call fcn.00419a20
mov eax, 0x7ffd
add esp, 0x10
cmp di, ax
jne 0x40fb05
mov eax, dword [0x4e802c]
cmp byte [eax + 0xf], 0
je 0x40fb05
cmp bl, 0x60
jb 0x40fae0
cmp bl, 0x69
jbe 0x40fae5
cmp bl, 0x6e
jne 0x40fb05
push 0xffc3d44d
push 0
push 0
push 0
mov dl, 0x10
mov ecx, esi
call fcn.00419a20
mov eax, dword [0x4e802c]
add esp, 0x10
mov byte [eax + 0xf], 0
mov ecx, dword [esp + 0x24]
mov eax, 0x68
mov word [ecx + 4], ax
mov eax, dword [esp + 0x134]
test al, al
jne 0x40fb21
mov byte [ebp + 0x11], 1
push 0
push closesocket
push 0x7fff
push ecx
mov ecx, dword [esp + 0x148]
push ecx
push eax
jmp 0x41055c
mov edi, dword [esp + 0x34]
mov esi, 0x7fff
cmp di, si
jne 0x40fef8
mov al, byte [ebp + 8]
mov dl, byte [0x4e8004]
test al, al
je 0x40fb5f
not al
and dl, al
mov eax, dword [esp + 0x14]
mov dh, byte [esp + 0x23]
cmp eax, dword [0x4e7ef4]
jne 0x40fb94
test dh, dh
je 0x40fb94
mov eax, dword [esp + 0x1c]
movzx ecx, dl
movzx eax, ax
shl ecx, 9
add ecx, eax
mov eax, dword [0x4e9810]
movzx ecx, word [eax + ecx*2]
movzx eax, bl
mov dword [esp + 0x48], eax
jmp 0x40fbac
movzx eax, bl
movzx ecx, dl
shl ecx, 8
add ecx, eax
mov dword [esp + 0x48], eax
mov eax, dword [0x4e980c]
movzx ecx, word [eax + ecx*2]
movzx eax, cx
mov ebx, 0x7fff
mov dword [esp + 0x44], ecx
mov esi, eax
cmp word [esp + 0x44], bx
mov edi, eax
mov ebx, dword [esp + 0x12c]
movzx ecx, cx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
mov ecx, eax
jne 0x40fc56
cmp byte [0x4e967e], 0
je 0x40fc56
cmp bl, 9
je 0x40fc56
mov edi, dword [esp + 0x14]
and dl, 0xf3
cmp edi, dword [0x4e7ef4]
jne 0x40fc0e
test dh, dh
je 0x40fc0e
mov eax, dword [esp + 0x1c]
movzx ecx, dl
movzx eax, ax
shl ecx, 9
add ecx, eax
mov eax, dword [0x4e9810]
jmp 0x40fc1d
mov eax, dword [0x4e980c]
movzx ecx, dl
shl ecx, 8
add ecx, dword [esp + 0x48]
movzx eax, word [eax + ecx*2]
movzx ecx, ax
movzx edx, ax
and eax, 0x7fff
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
mov ecx, 0x7ff9
cmp ax, cx
jbe 0x40fe51
mov ecx, edx
mov esi, edx
mov edi, edx
mov edx, 0x7fff
cmp ax, dx
jae 0x40fe46
test cx, cx
movzx eax, di
mov ecx, dword [esp + 0x134]
movzx edx, si
jns 0x40fd49
test cl, cl
jne 0x40fdfd
mov edi, 0x7fff
cmp word [ebp + 4], di
jne 0x40fc87
mov ecx, dword [esp + 0x34]
mov word [ebp + 4], cx
mov ah, byte [0x4e8004]
mov al, ah
and al, 0xc0
movzx ecx, al
neg ecx
sbb ecx, ecx
and ecx, 8
mov edx, ecx
or edx, 1
test ah, 0xc
cmove edx, ecx
mov ecx, edx
or ecx, 4
test ah, 0x30
cmove ecx, edx
movzx edx, word [ebp + 6]
mov esi, ecx
or esi, 2
test ah, 3
cmove esi, ecx
cmp dx, di
je 0x40fd1d
mov eax, dword [0x4e804c]
movzx ecx, dx
mov ecx, dword [eax + ecx*4]
cmp byte [ecx + 0x15], 0
movzx edx, word [ecx + 0xc]
jne 0x40fce8
movzx eax, byte [ecx + 0xf]
not eax
test byte [0x4e8004], al
jne 0x40fd18
cmp byte [ecx + 0x16], 0
jne 0x40fd18
cmp byte [ecx + 0x11], 0
jne 0x40fd18
cmp word [ecx + 0xa], 0
jne 0x40fd18
cmp word [ecx + 6], 0
jne 0x40fd18
mov eax, esi
not eax
test dword [ecx], eax
jne 0x40fd18
movzx eax, byte [0x4e8004]
not eax
test byte [ecx + 0xe], al
je 0x40fd32
cmp dx, di
jne 0x40fcc5
mov ecx, dword [esp + 0x134]
mov eax, edi
movzx edi, ax
mov dword [esp + 0x38], edi
jmp 0x40fe01
movzx eax, word [ecx + 4]
mov ecx, dword [esp + 0x134]
movzx edi, ax
mov dword [esp + 0x38], edi
jmp 0x40fe01
mov esi, 0x7fff
cmp dx, si
je 0x40fe0f
and eax, esi
test cl, cl
je 0x40fdd2
cmp ax, word [0x4e805c]
jae 0x40fdc5
mov esi, eax
mov edx, 0x7fff
mov eax, dword [0x4e9814]
cmp word [eax + esi*2], dx
je 0x40fdc3
cmp byte [esp + 0x12], 0
jne 0x40fdb4
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x38]
add eax, 4
push eax
lea eax, [esp + 0x15]
push eax
push dword [esp + 0x140]
call fcn.00414230
mov ecx, dword [esp + 0x140]
add esp, 0xc
mov dword [esp + 0x3c], eax
test eax, eax
je 0x40fdb4
mov edi, dword [esp + 0x38]
jmp 0x40fe01
mov eax, dword [0x4e9814]
movzx edi, word [eax + esi*2]
mov dword [esp + 0x38], edi
jmp 0x40fe01
mov esi, edx
cmp byte [esp + 0x12], 0
jne 0x40fe17
mov edi, dword [esp + 0x34]
jmp 0x40fe06
mov edi, dword [esp + 0x34]
cmp ax, word [0x4e805c]
jae 0x40fe06
cmp word [ebp + 4], si
jne 0x40fe06
mov ecx, eax
mov eax, dword [0x4e9814]
mov ax, word [eax + ecx*2]
mov ecx, dword [esp + 0x134]
mov word [ebp + 4], ax
jmp 0x40fe06
mov edi, dword [esp + 0x34]
mov esi, 0x7fff
cmp di, si
jne 0x40fef8
mov edi, dword [esp + 0x14]
test cl, cl
je 0x40fe75
cmp byte [ebp + 8], 0
jne 0x40fe5f
cmp byte [ebp + 9], 0
je 0x40fe5f
cmp byte [esp + 0x11], 0
jne 0x40fe5f
cmp byte [esp + 0x1b], 0
jne 0x40fe5f
push 0
push closesocket
push 0x7fff
push dword [esp + 0x30]
jmp 0x410554
mov ecx, dword [esp + 0x134]
mov esi, edx
jmp 0x40fe0f
mov ecx, dword [esp + 0x134]
mov esi, 0x7fff
jmp 0x40fe13
push 0x7fff
push dword [esp + 0x28]
push dword [esp + 0x140]
push ecx
jmp 0x40ef69
cmp word [ebp + 4], si
lea ecx, [ebp + 4]
jne 0x40fe97
push 0x7fff
push dword [esp + 0x28]
mov ecx, edi
push dword [esp + 0x140]
push 0
jmp 0x40ef6d
mov esi, dword [esp + 0x138]
lea eax, [esp + 0x11]
push 0
push eax
push esi
call fcn.00414230
movzx ecx, byte [esp + 0x1d]
add esp, 0xc
test eax, eax
mov eax, 1
cmove ecx, eax
test cl, cl
sete al
mov byte [ebp + 0x11], al
test cl, cl
je 0x40fedc
push 0x7fff
push dword [esp + 0x28]
mov ecx, edi
push esi
push 0
jmp 0x40ef6d
push 0
push closesocket
push 0x7fff
push dword [esp + 0x30]
push esi
push 0
push ecx
push ebx
mov ecx, edi
jmp 0x410562
mov esi, dword [esp + 0x24]
mov eax, edi
and eax, 0x7fff
cmp ax, word [0x4e805c]
jae 0x40ffeb
cmp dword [esp + 0x3c], 0
jne 0x40ffeb
mov edi, dword [esp + 0x138]
lea eax, [esi + 4]
push eax
lea eax, [esp + 0x15]
push eax
push edi
lea ecx, [esp + 0x44]
call fcn.00414230
add esp, 0xc
mov dword [esp + 0x3c], eax
test eax, eax
jne 0x40ffe7
cmp word [esi + 4], 0x69
jne 0x40ff5e
push 0x7fff
push esi
push edi
push dword [esp + 0x140]
jmp 0x40ef69
mov eax, dword [esp + 0x134]
test al, al
je 0x40ff8f
cmp byte [ebp + 0x11], 0
je 0x40ff83
push 0
push closesocket
push 0x7fff
push esi
push edi
push eax
jmp 0x41055c
push 0x7fff
push esi
push edi
jmp 0x40ef68
lea ecx, [ebp + 4]
mov eax, 0x7fff
cmp word [ecx], ax
je 0x40ffd9
push 0
lea eax, [esp + 0x15]
mov byte [esp + 0x15], 0
push eax
push edi
call fcn.00414230
add esp, 0xc
test eax, eax
je 0x40ffd5
cmp byte [esp + 0x11], 0
jne 0x40ffd5
push 0
push closesocket
push 0x7fff
push esi
push edi
mov byte [ebp + 0x11], 1
push 0
jmp 0x41055c
or byte [ebp + 0xc], 8
push 0x7fff
push esi
push edi
push 0
jmp 0x40ef69
mov edi, dword [esp + 0x38]
mov ecx, dword [0x4e802c]
and edi, 0x7fff
test ecx, ecx
je 0x410021
cmp dword [esp + 0x30], 0
jne 0x410012
cmp byte [ecx + 8], 0
je 0x410021
cmp byte [esp + 0x134], 0
jne 0x410021
mov eax, dword [0x4e802c]
cmp byte [eax + 0x12], 0xff
je 0x410021
mov byte [eax + 0x12], 2
test byte [0x4e8005], 0xcc
je 0x4100e4
cmp byte [esp + 0x11], 0
jne 0x4100e4
cmp byte [0x4e967d], 0
jne 0x410052
mov eax, dword [esp + 0x14]
cmp eax, dword [0x4e7ef0]
jne 0x4100e4
test byte [0x4e8005], 0xc0
je 0x41007e
cmp di, word [0x4e805c]
jae 0x41007e
mov eax, dword [0x4e804c]
movzx ecx, di
mov eax, dword [eax + ecx*4]
test byte [eax + 0xf], 0xc0
je 0x41007e
mov byte [0x4e967c], 1
jmp 0x4100e4
cmp byte [0x4e967c], 0
jne 0x4100e4
mov al, byte [0x4e8005]
test al, 0xc
je 0x4100e4
test al, 3
jne 0x4100e4
cmp di, word [0x4e805c]
jae 0x4100e4
mov eax, dword [0x4e804c]
movzx ecx, di
mov eax, dword [eax + ecx*4]
test byte [eax + 0xf], 0xc
je 0x4100e4
cmp dword [0x4e7ef4], 0
je 0x4100c0
mov byte [0x4e967c], 1
jmp 0x4100e4
movzx eax, word [0x4e3d74]
mov ecx, 2
mov dl, byte [0x4e38be]
push 0xffc3d44d
push 0
push 0
push eax
call fcn.00419a20
add esp, 0x10
movzx ecx, di
lea eax, [ecx - 0x7ffa]
cmp eax, 4
ja case.default.0x4100f6
jmp dword [eax*4 + 0x4105a4]
cmp byte [0x4e967e], 0
jne case.0x4100f6.32763
push 0x7fff
push esi
push dword [esp + 0x140]
push dword [esp + 0x140]
jmp 0x40ef69
xor al, al
test byte [0x4e8005], 4
je 0x410131
mov ecx, 0xa4
jmp 0x410143
test byte [0x4e8005], 8
movzx ecx, al
mov eax, 0xa5
cmovne ecx, eax
cmp byte [0x4e967e], 0
mov dword [esp + 0x48], ecx
je 0x4101c7
mov eax, 0x7ffb
cmp di, ax
je case.0x4100f6.32765
push 0xffc3d44d
test cl, cl
movzx eax, cl
push 0
mov edx, 0x12
mov edi, 1
push 0
cmovne edx, eax
mov ecx, edi
push 0
call fcn.00419a20
add esp, 0x10
cmp byte [ebp + 8], 0
je 0x4101b6
cmp bl, 0x5b
je 0x4101b6
cmp bl, 0x5c
je 0x4101b6
cmp byte [esp + 0x134], 0
jne 0x4101b6
push 0xffc3d44d
push 0
push 0
push 0
mov dl, bl
mov ecx, edi
call fcn.00419a20
add esp, 0x10
mov byte [0x4e967e], 0
mov edi, 0x7fff
jmp 0x410466
cmp bl, 0xa4
je 0x4101d6
mov byte [esp + 0x2b], 0
cmp bl, 0xa5
jne 0x4101db
mov byte [esp + 0x2b], 1
cmp bl, 0xa0
je 0x4101e9
cmp bl, 0xa1
je 0x4101e9
xor cl, cl
jmp 0x4101eb
mov cl, 1
mov byte [esp + 0x12], cl
cmp bl, 0xa2
je 0x4101fe
mov byte [esp + 0x13], 0
cmp bl, 0xa3
jne 0x410203
mov byte [esp + 0x13], 1
xor dl, dl
test byte [0x4e8005], 0x10
mov dword [esp + 0x30], edx
je 0x410219
mov edx, 0xa0
jmp 0x41023c
test byte [0x4e8005], 0x20
mov eax, dword [esp + 0x134]
je 0x41022d
mov dl, 0xa1
jmp 0x410243
test al, al
jne 0x410247
test cl, cl
movzx edx, dl
movzx eax, bl
cmovne edx, eax
mov eax, dword [esp + 0x134]
mov dword [esp + 0x30], edx
xor cl, cl
test byte [0x4e8005], 1
mov dword [esp + 0x3c], ecx
je 0x41025d
mov byte [esp + 0x3c], 0xa2
jmp 0x410283
test byte [0x4e8005], 2
je 0x41026d
mov byte [esp + 0x3c], 0xa3
jmp 0x410283
test al, al
jne 0x410283
cmp byte [esp + 0x13], 0
movzx ecx, cl
movzx eax, bl
cmovne ecx, eax
mov dword [esp + 0x3c], ecx
mov byte [esp + 0x13], 0
mov edi, 1
test dl, dl
je 0x4102ab
push 0xffc3d44d
push 0
push 0
push 0
mov ecx, edi
call fcn.00419a20
add esp, 0x10
mov byte [esp + 0x13], 1
mov eax, dword [esp + 0x3c]
test al, al
je 0x4102ca
push 0xffc3d44d
push 0
push 0
push 0
mov dl, al
mov ecx, edi
call fcn.00419a20
add esp, 0x10
cmp byte [esp + 0x2b], 0
je 0x4102df
cmp byte [esp + 0x134], 0
jne 0x4102e7
mov al, bl
jmp 0x4102e3
mov eax, dword [esp + 0x48]
test al, al
jne 0x4102fe
push 0xffc3d44d
push 0
push 0
push 0
mov dl, 0x12
xor ecx, ecx
call fcn.00419a20
add esp, 0x10
push 0xffc3d44d
push 0
push 0
push 0
mov dl, 9
mov ecx, 2
call fcn.00419a20
add esp, 0x10
cmp byte [esp + 0x13], 0
je 0x41033f
cmp byte [esp + 0x12], 0
jne 0x41033f
mov dl, byte [esp + 0x30]
xor ecx, ecx
push 0xffc3d44d
push 0
push 0
push 0
call fcn.00419a20
add esp, 0x10
mov byte [0x4e967e], 1
mov edi, 0x7fff
jmp 0x410466
cmp byte [0x4e967e], 0
je 0x410106
mov eax, dword [esp + 0x134]
test al, al
jne 0x41039d
cmp bl, 0xa2
je 0x41037c
cmp bl, 0xa3
je 0x41037c
cmp bl, 0xa0
je 0x41037c
cmp bl, 0xa1
jne 0x41039d
push 0xffc3d44d
push 0
push 0
push 0
mov dl, bl
mov ecx, 1
call fcn.00419a20
mov eax, dword [esp + 0x144]
add esp, 0x10
test byte [0x4e8005], 0xc
je 0x4103b4
test al, al
je 0x4103cb
cmp bl, 0xa4
je 0x4103b4
cmp bl, 0xa5
jne 0x4103cb
push 0xffc3d44d
push 0
push 0
push 0
mov dl, 0x12
xor ecx, ecx
call fcn.00419a20
add esp, 0x10
mov eax, 0x7ffd
cmp di, ax
jne 0x41042a
test byte [0x4e8005], 0x30
jne 0x41042a
push 0xffc3d44d
push 0
push 0
push 0
mov dl, 0x10
xor ecx, ecx
call fcn.00419a20
push 0xffc3d44d
push 0
push 0
push 0
mov dl, 9
mov ecx, 2
call fcn.00419a20
push 0xffc3d44d
push 0
push 0
push 0
mov dl, 0x10
mov ecx, 1
call fcn.00419a20
add esp, 0x30
mov edi, 0x7fff
jmp 0x410466
push 0xffc3d44d
push 0
push 0
push 0
mov dl, 9
mov ecx, 2
call fcn.00419a20
add esp, 0x10
mov edi, 0x7fff
jmp 0x410466
mov edi, ecx
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx + 8]
test eax, eax
je 0x410466
cmp byte [eax], 5
jne 0x410466
movzx eax, word [ecx + 0x18]
shl eax, 0x10
or edi, eax
mov ecx, dword [esp + 0x134]
mov eax, 0x68
mov word [esi + 4], ax
test cl, cl
je 0x4104f8
cmp byte [esp + 0x1b], 0
je 0x4104d4
cmp byte [ebp + 9], 0
je 0x4104d4
mov ebp, dword [esp + 0x1c]
lea ecx, [eax - 0x67]
push 0xffc3d44e
push 0
push 0
push ebp
mov dl, bl
call fcn.00419a20
push 0xffc3d44d
push 0
push 0
push ebp
mov dl, bl
mov ecx, 2
call fcn.00419a20
add esp, 0x20
push 0
push closesocket
push edi
push esi
push dword [esp + 0x148]
push dword [esp + 0x148]
jmp 0x41055c
cmp byte [ebp + 8], 0
je 0x4104e2
cmp byte [ebp + 0x11], 0
je 0x4104e9
jmp 0x41054b
cmp byte [esp + 0x11], 0
je 0x41054b
push edi
push esi
push dword [esp + 0x140]
push ecx
jmp 0x40ef69
cmp byte [esp + 0x11], 0
mov byte [ebp + 0x10], 1
je 0x410516
or byte [ebp + 0xc], 8
push edi
push esi
push dword [esp + 0x140]
push ecx
jmp 0x40ef69
movzx eax, byte [0x4e8005]
not eax
test byte [ebp + 8], al
je 0x410547
push 0xffc3d450
push 0
push 0
push dword [esp + 0x28]
mov dl, bl
mov ecx, 1
call fcn.00419a20
mov ecx, dword [esp + 0x144]
add esp, 0x10
mov byte [ebp + 0x11], 1
push 0
push closesocket
push edi
push esi
push dword [esp + 0x148]
push ecx
push ecx
push ebx
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x148]
call fcn.004105c0
add esp, 0x20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret