Function at 0x429e54
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff75c
push ebx
push esi
push edi
lea ebx, [ebp + 8]
mov eax, 0x4b4b89
call fcn.0049af0c
mov word [ebp - 0x28], 8
mov edx, dword [0x4d0e68]
push edx
mov ecx, dword [ebx]
push ecx
call fcn.00455648
add esp, 8
inc dword [ebp - 0x1c]
mov eax, dword [ebx]
add eax, 0x1b
push eax
call fcn.004558e4
pop ecx
inc dword [ebp - 0x1c]
mov edx, dword [ebx]
mov dword [edx], 0x4b5d00
mov ecx, dword [ebx]
mov dword [ecx + 0x1b], 0x4b5d10
mov eax, dword [ebx]
mov edx, dword [ebp + 0x14]
mov dword [eax + 0x2b], edx
mov ecx, dword [ebx]
add ecx, 0x43
push ecx
call fcn.004074e8
pop ecx
add dword [ebp - 0x1c], 2
mov eax, dword [ebx]
add eax, 0x63
push eax
call fcn.004074e8
pop ecx
add dword [ebp - 0x1c], 2
cmp byte [0x4b4b14], 0
jne 0x42a118
push 0x1d
call fcn.004a4f8c
pop ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x42a0f0
mov word [ebp - 0x28], 0x20
mov edx, dword [ebp - 4]
xor ecx, ecx
mov dword [edx + 0x17], ecx
mov eax, dword [ebp - 4]
mov byte [eax + 0x1b], 0
mov edx, dword [ebp - 4]
mov cl, byte [ebp - 0x39]
mov byte [edx + 0x1c], cl
xor edx, edx
mov eax, dword [ebp - 4]
mov dword [eax + 3], edx
xor eax, eax
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xf], eax
mov ecx, 0x4d3104
mov edx, dword [ebp - 4]
mov dword [edx + 0xb], eax
mov edx, dword [ebp - 4]
mov dword [edx + 7], eax
mov word [ebp - 0x28], 0x2c
mov dword [ebp - 8], ecx
push 0xffffffffffffffff
mov eax, dword [ebp - 8]
mov edx, dword [eax]
push edx
call sub.KERNEL32.dll_WaitForSingleObject
inc dword [ebp - 0x1c]
inc dword [0x4b5cf0]
cmp dword [0x4b5cec], 0
jne 0x429fad
push 0x28
call fcn.004a4f8c
pop ecx
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x429f8f
push 0
push 0x4b58f7
push 0x4d2d50
call fcn.004a102c
add esp, 0xc
push 0x4d2d50
call fcn.004a0378
pop ecx
push 1
call fcn.004a67bc
pop ecx
mov edi, dword [ebp - 0x40]
xor eax, eax
mov dword [0x4b5cec], edi
xor edx, edx
mov dword [edi], 1
mov dword [edi + 4], eax
mov dword [edi + 8], edx
xor ecx, ecx
mov dword [edi + 0xc], ecx
dec dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
push edx
call sub.KERNEL32.dll_ReleaseMutex
mov word [ebp - 0x28], 0x20
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 7]
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 7], 0
je 0x429fea
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 7]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 0xc]
mov dword [ecx + 7], edx
mov esi, dword [ebp - 0x44]
jmp 0x42a0c9
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 0xb]
cmp edx, dword [ecx + 0xf]
jne 0x42a0bf
push 8
call fcn.004a4f8c
pop ecx
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x42a034
push 0
push 0x4b58f7
push 0x4d2d50
call fcn.004a102c
add esp, 0xc
push 0x4d2d50
call fcn.004a0378
pop ecx
push 1
call fcn.004a67bc
pop ecx
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x48], eax
push 0x3e8
call fcn.004a4f8c
pop ecx
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x42a075
push 0
push 0x4b58f7
push 0x4d2d50
call fcn.004a102c
add esp, 0xc
push 0x4d2d50
call fcn.004a0378
pop ecx
push 1
call fcn.004a67bc
pop ecx
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x50]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x48]
mov edx, dword [eax + 3]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x48]
mov dword [eax + 3], edx
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 3]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 4]
mov dword [ecx + 0xb], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 0xb]
add edx, 0x3e8
mov dword [ecx + 0xf], edx
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0xb]
add dword [eax + 0xb], 0x28
jmp 0x42a0c9
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0xb]
add dword [eax + 0xb], 0x28
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x13], esi
mov dword [esi], edx
mov ecx, dword [0x4b5cec]
mov dword [esi + 4], ecx
mov dword [esi + 8], esi
mov dword [esi + 0xc], esi
inc dword [ebp - 0x1c]
mov word [ebp - 0x28], 0x14
mov eax, dword [ebp - 4]
jmp 0x42a0f3
mov eax, dword [ebp - 4]
mov dword [0x4b4aac], eax
push 0x36ee80
push 0x42b538
mov edx, dword [0x4d0e68]
push edx
call fcn.004557f0
add esp, 0xc
mov byte [0x4b4b14], 1
mov ecx, dword [ebx]
mov eax, dword [ebp + 0x10]
mov dword [ecx + 0x2f], eax
mov edx, dword [ebx]
mov ecx, dword [ebp + 0xc]
mov dword [edx + 0x3f], ecx
cmp dword [0x4b4a1c], 0
mov eax, dword [ebx]
mov esi, dword [eax + 0x2f]
jl 0x42a1bf
mov eax, dword [0x4b4a1c]
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x58], edx
cmp dword [esi + 8], 0xffffffff
jne 0x42a155
mov ecx, 9
jmp 0x42a1bf
mov edi, dword [esi + 8]
cmp dword [0x4bef08], 0
jne 0x42a179
push 4
lea eax, [ebp - 0x58]
push eax
push 0x100
push 0xffff
push edi
call sub.WSOCK32.dll_setsockopt
jmp 0x42a190
push 4
lea edx, [ebp - 0x58]
push edx
push 0x100
push 0xffff
push edi
push esi
call fcn.0045a67c
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jne 0x42a19d
xor ecx, ecx
jmp 0x42a1bf
cmp dword [0x4bef08], 0
jne 0x42a1ad
call sub.WSOCK32.dll_WSAGetLastError
jmp 0x42a1b3
push esi
call fcn.0045adb4
push eax
push esi
call fcn.00458714
add esp, 8
mov ecx, eax
cmp dword [0x4b4a20], 0
jl 0x42a245
mov eax, dword [0x4b4a20]
mov dword [ebp - 0x60], eax
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x64], edx
cmp dword [esi + 8], 0xffffffff
jne 0x42a1e3
mov eax, 9
jmp 0x42a245
mov edi, dword [esi + 8]
cmp dword [0x4bef08], 0
jne 0x42a204
push 4
lea edx, [ebp - 0x64]
push edx
push 8
push 0xffff
push edi
call sub.WSOCK32.dll_setsockopt
jmp 0x42a218
push 4
lea ecx, [ebp - 0x64]
push ecx
push 8
push 0xffff
push edi
push esi
call fcn.0045a67c
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jne 0x42a225
xor eax, eax
jmp 0x42a245
cmp dword [0x4bef08], 0
jne 0x42a235
call sub.WSOCK32.dll_WSAGetLastError
jmp 0x42a23b
push esi
call fcn.0045adb4
push eax
push esi
call fcn.00458714
add esp, 8
cmp dword [0x4b4a24], 0
jl 0x42a2c6
mov edx, dword [0x4b4a24]
mov dword [ebp - 0x6c], edx
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x70], ecx
cmp dword [esi + 8], 0xffffffff
jne 0x42a26a
mov eax, 9
jmp 0x42a2c6
mov edi, dword [esi + 8]
cmp dword [0x4bef08], 0
jne 0x42a288
push 4
lea edx, [ebp - 0x70]
push edx
push 1
push 6
push edi
call sub.WSOCK32.dll_setsockopt
jmp 0x42a299
push 4
lea ecx, [ebp - 0x70]
push ecx
push 1
push 6
push edi
push esi
call fcn.0045a67c
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
jne 0x42a2a6
xor eax, eax
jmp 0x42a2c6
cmp dword [0x4bef08], 0
jne 0x42a2b6
call sub.WSOCK32.dll_WSAGetLastError
jmp 0x42a2bc
push esi
call fcn.0045adb4
push eax
push esi
call fcn.00458714
add esp, 8
cmp dword [0x4b4a28], 0
jl 0x42a357
mov edx, dword [0x4b4a28]
mov dword [ebp - 0x78], edx
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x7c], ecx
cmp dword [esi + 8], 0xffffffff
jne 0x42a2ef
mov eax, 9
jmp 0x42a357
mov edi, dword [esi + 8]
cmp dword [0x4bef08], 0
jne 0x42a313
push 4
lea edx, [ebp - 0x78]
push edx
push 0x1001
push 0xffff
push edi
call sub.WSOCK32.dll_setsockopt
jmp 0x42a32a
push 4
lea ecx, [ebp - 0x78]
push ecx
push 0x1001
push 0xffff
push edi
push esi
call fcn.0045a67c
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
jne 0x42a337
xor eax, eax
jmp 0x42a357
cmp dword [0x4bef08], 0
jne 0x42a347
call sub.WSOCK32.dll_WSAGetLastError
jmp 0x42a34d
push esi
call fcn.0045adb4
push eax
push esi
call fcn.00458714
add esp, 8
cmp dword [0x4b4a2c], 0
jl 0x42a3fd
mov edx, dword [0x4b4a2c]
mov dword [ebp - 0x84], edx
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x88], ecx
cmp dword [esi + 8], 0xffffffff
jne 0x42a389
mov eax, 9
jmp 0x42a3fd
mov edi, dword [esi + 8]
cmp dword [0x4bef08], 0
jne 0x42a3b0
push 4
lea edx, [ebp - 0x84]
push edx
push 0x1002
push 0xffff
push edi
call sub.WSOCK32.dll_setsockopt
jmp 0x42a3ca
push 4
lea ecx, [ebp - 0x84]
push ecx
push 0x1002
push 0xffff
push edi
push esi
call fcn.0045a67c
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
jne 0x42a3dd
xor eax, eax
jmp 0x42a3fd
cmp dword [0x4bef08], 0
jne 0x42a3ed
call sub.WSOCK32.dll_WSAGetLastError
jmp 0x42a3f3
push esi
call fcn.0045adb4
push eax
push esi
call fcn.00458714
add esp, 8
cmp dword [0x4b4a8c], 0
jg 0x42a410
mov dword [0x4b4a8c], 0x12ceec50
inc dword [0x4b4a34]
mov edx, dword [ebx]
mov ecx, dword [0x4b4a50]
mov dword [edx + 0xab], ecx
inc dword [0x4b4a50]
mov eax, dword [ebx]
mov edx, dword [0x4beef8]
mov dword [eax + 0x3b], edx
mov ecx, dword [ebx]
xor eax, eax
mov dword [ecx + 0x1a4], eax
mov edx, dword [ebx]
mov dword [edx + 0x1a0], eax
mov ecx, dword [ebx]
xor eax, eax
mov dword [ecx + 0x1a8], eax
cmp dword [0x4b4a78], 0
je 0x42a466
mov edx, dword [ebx]
mov dword [edx + 0x1a0], 3
mov ecx, dword [ebx]
xor eax, eax
mov dword [ecx + 0x33], eax
mov edx, dword [ebx]
xor ecx, ecx
mov dword [edx + 0x37], ecx
mov eax, dword [ebx]
add eax, 0x1ac
mov edi, eax
mov esi, 0x4b5905
mov eax, edi
movsd dword es:[edi], dword [esi]
mov edx, dword [ebx]
add edx, 0x3ac
mov edi, edx
mov esi, 0x4b5905
mov eax, edi
movsd dword es:[edi], dword [esi]
mov edx, dword [ebx]
mov byte [edx + 0xbac], 0
mov ecx, dword [ebx]
mov byte [ecx + 0xbd4], 0
mov eax, dword [ebx]
xor edx, edx
mov dword [eax + 0xc6e], edx
mov ecx, dword [ebx]
mov dword [ecx + 0xc72], 1
mov eax, dword [ebx]
xor edx, edx
mov dword [eax + 0xc76], edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x2f]
push eax
call fcn.00457c54
mov esi, eax
mov eax, dword [ebx]
pop ecx
mov word [eax + 0xc7a], si
add si, 0xffff
mov edx, dword [ebx]
xor eax, eax
mov word [edx + 0xc7c], si
mov ecx, dword [ebx]
mov dword [ecx + 0xa7], eax
mov edx, dword [ebx]
mov dword [edx + 0xa3], eax
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x2f]
push eax
call fcn.0045832c
mov edx, dword [ebx]
mov edi, eax
pop ecx
xor eax, eax
add edx, 0xc7e
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edx
xchg edi, esi
mov edx, ecx
mov eax, edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx]
mov edx, dword [ebx]
add eax, 0x157
add edx, 0xc7e
mov esi, eax
xor eax, eax
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx]
mov dword [eax + 0xaf], 1
mov edx, dword [ebx]
xor eax, eax
mov byte [edx + 0xb7], 0
mov ecx, dword [ebx]
mov dword [ecx + 0x168], eax
push 0
call fcn.004a99ac
mov esi, eax
mov eax, dword [ebx]
pop ecx
test esi, esi
mov dword [eax + 0xb3], esi
jge 0x42a5a6
mov edx, dword [ebx]
mov dword [edx + 0xb3], 0x12ceec50
mov ecx, dword [ebx]
xor eax, eax
mov dword [ecx + 0x8b], eax
mov edx, dword [ebx]
mov dword [edx + 0x87], eax
mov ecx, dword [ebx]
xor eax, eax
mov dword [ecx + 0x97], eax
mov edx, dword [ebx]
xor ecx, ecx
mov dword [edx + 0x83], ecx
mov eax, dword [ebx]
xor edx, edx
mov dword [eax + 0x170], edx
mov ecx, dword [ebx]
xor eax, eax
mov dword [ecx + 0xc6a], eax
push 1
mov edx, dword [ebx]
add edx, 0x43
push edx
call fcn.00407c2c
add esp, 8
mov ecx, dword [ebx]
xor eax, eax
mov dword [ecx + 0x19c], eax
mov edx, dword [ebx]
mov dword [edx + 0x194], eax
mov edx, dword [ebx]
mov dword [edx + 0x190], eax
mov ecx, dword [ebx]
mov dword [ecx + 0x198], 1
mov eax, dword [ebx]
xor edx, edx
mov dword [eax + 0x184], edx
mov ecx, dword [ebx]
xor eax, eax
mov dword [ecx + 0x188], eax
mov edx, dword [ebx]
xor ecx, ecx
mov dword [edx + 0x9b], ecx
mov eax, dword [ebx]
mov dword [eax + 0x8f], ecx
push 0x262
call fcn.004a4f8c
pop ecx
mov dword [ebp - 0xc], eax
test eax, eax
je 0x42a671
mov word [ebp - 0x28], 0x44
mov edx, dword [ebx]
mov ecx, dword [edx + 0x3f]
push ecx
mov eax, dword [ebp - 0xc]
push eax
call fcn.0044dbe4
add esp, 8
mov word [ebp - 0x28], 0x38
mov edx, dword [ebp - 0xc]
jmp 0x42a674
mov edx, dword [ebp - 0xc]
mov eax, dword [ebx]
mov dword [eax + 0x174], edx
push 0x272
call fcn.004a4f8c
pop ecx
mov dword [ebp - 0x10], eax
test eax, eax
je 0x42a6b1
mov word [ebp - 0x28], 0x5c
mov edx, dword [ebx]
mov ecx, dword [edx + 0x3f]
push ecx
mov eax, dword [ebp - 0x10]
push eax
call fcn.0044f14c
add esp, 8
mov word [ebp - 0x28], 0x50
mov edx, dword [ebp - 0x10]
jmp 0x42a6b4
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx]
mov dword [eax + 0x178], edx
push 0x34
call fcn.004a4f8c
pop ecx
mov dword [ebp - 0x14], eax
test eax, eax
je 0x42a70c
mov word [ebp - 0x28], 0x74
push 0
push 0
mov edx, dword [ebx]
mov ecx, dword [edx + 0x2f]
push ecx
call fcn.00457d7c
add esp, 0xc
push eax
mov eax, dword [ebx]
add eax, 0x157
push eax
mov edx, dword [ebx]
mov ecx, dword [edx + 0xab]
push ecx
mov eax, dword [ebp - 0x14]
push eax
call fcn.00454410
add esp, 0x10
mov word [ebp - 0x28], 0x68
mov edx, dword [ebp - 0x14]
jmp 0x42a70f
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx]
mov dword [eax + 0x17c], edx
lea ecx, [ebp - 0x90]
push ecx
call fcn.004a9820
pop ecx
xor eax, eax
mov al, byte [ebp - 0x8f]
cmp eax, dword [0x4b4ab0]
je 0x42a790
xor edx, edx
mov dl, byte [ebp - 0x8f]
mov dword [edx*4 + 0x4b4ab4], 1
mov eax, dword [0x4b4ab0]
mov ecx, 0x18
inc eax
cdq
idiv ecx
mov word [ebp - 0x28], 8
mov esi, edx
jmp 0x42a775
xor eax, eax
mov dword [esi*4 + 0x4b4ab4], eax
inc esi
mov ecx, 0x18
mov eax, esi
cdq
idiv ecx
mov esi, edx
xor ecx, ecx
mov cl, byte [ebp - 0x8f]
cmp esi, ecx
jne 0x42a75f
xor eax, eax
mov al, byte [ebp - 0x8f]
mov dword [0x4b4ab0], eax
jmp 0x42a79d
mov edx, dword [0x4b4ab0]
inc dword [edx*4 + 0x4b4ab4]
lea ecx, [ebp - 0xa0]
push ecx
lea eax, [ebp - 0x9c]
push eax
lea edx, [ebp - 0x98]
push edx
lea ecx, [ebp - 0x94]
push ecx
push 0x4b5909
push 0
push 0
mov eax, dword [ebx]
mov edx, dword [eax + 0x2f]
push edx
call fcn.00457d7c
add esp, 0xc
push eax
call fcn.0049d988
mov eax, dword [ebp - 0x94]
mov edx, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x9c]
add esp, 0x18
shl edx, 0x10
lea esi, [ebp - 0x2aa]
shl eax, 0x18
shl ecx, 8
or eax, edx
or eax, ecx
mov edx, dword [ebx]
or eax, dword [ebp - 0xa0]
mov dword [edx + 0xc97], eax
mov ecx, dword [ebx]
mov edx, dword [ecx + 0xab]
xor ecx, ecx
mov dword [ebp - 0xaa], edx
mov byte [ebp - 0x2e0], 0
mov dword [ebp - 0x2e8], 0x2c
mov dword [ebp - 0x2e4], ecx
mov dword [ebp - 0x2ae], eax
mov eax, dword [ebx]
add eax, 0x157
mov edi, eax
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebp - 0x2e8]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
push 0
push 0x404
mov edx, dword [ebx]
mov ecx, dword [edx + 0x3f]
push ecx
call sub.USER32.dll_SendMessageA
mov eax, dword [0x4b4a78]
lea edx, [ebp - 0x2e8]
mov dword [ebp - 0x2e4], eax
mov dword [ebp - 0x2e8], 0x25
push edx
push 0
push 0x404
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x3f]
push eax
call sub.USER32.dll_SendMessageA
cmp dword [ebp - 0x2e4], 0
jne 0x42a8b9
mov edx, dword [ebx]
xor ecx, ecx
mov dword [edx + 0x198], ecx
mov eax, dword [ebx]
cmp dword [eax + 0x198], 0
je 0x42a931
push 0xa0
lea edx, [ebp - 0x388]
push edx
push 0x7d3
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x3b]
push eax
call sub.USER32.dll_LoadStringA
push 0
push 0
mov edx, dword [ebx]
mov ecx, dword [edx + 0x2f]
push ecx
call fcn.00457d7c
add esp, 0xc
push eax
mov eax, dword [ebx]
add eax, 0xc7e
push eax
lea eax, [ebp - 0x388]
mov edx, dword [ebx]
mov ecx, dword [edx + 0xab]
lea edx, [ebp - 0x428]
push ecx
push eax
push edx
call fcn.0049d914
add esp, 0x14
lea ecx, [ebp - 0x428]
push ecx
push 3
push 0x403
mov eax, dword [ebp + 0xc]
push eax
call sub.USER32.dll_SendMessageA
mov edx, dword [ebx]
mov esi, dword [edx + 0x17c]
cmp dword [esi], 0
je 0x42a985
mov edi, dword [esi + 4]
mov dword [edi], 2
xor eax, eax
mov dword [edi + 4], eax
push 0x468
push edi
lea edx, [ebp - 0x890]
push edx
call fcn.004985c0
add esp, 0xc
lea ecx, [ebp - 0x890]
push ecx
mov eax, dword [0x4be8ac]
push eax
call fcn.00454234
add esp, 8
mov dword [ebp - 0xa4], eax
mov edx, dword [ebp - 0x82c]
mov dword [esi + 8], edx
cmp dword [0x4b4a68], 0
je 0x42a9a9
mov ecx, dword [ebx]
mov eax, dword [ecx + 0xab]
push eax
push 3
push 0x40b
mov edx, dword [ebx]
mov ecx, dword [edx + 0x3f]
push ecx
call sub.USER32.dll_PostMessageA
cmp dword [0x4b4a6c], 0
je 0x42aa4b
cmp dword [0x4b4a78], 0
jne 0x42aa4b
lea edi, [ebp - 0x8a4]
mov esi, 0x4b4b15
mov ecx, 5
lea eax, [ebp - 0x8a4]
rep movsd dword es:[edi], dword [esi]
mov word [ebp - 0x28], 8
push 1
push eax
mov edx, dword [ebx]
mov ecx, dword [edx + 0x2f]
push ecx
call fcn.00459764
mov eax, dword [ebx]
mov edx, dword [ebx]
add eax, 0xb7
add edx, 0x157
mov esi, eax
xor eax, eax
add esp, 0xc
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0xa0
mov eax, dword [ebx]
add eax, 0xb7
push eax
mov edx, dword [ebx]
mov ecx, dword [edx + 0x2f]
push ecx
call fcn.00457888
add esp, 0xc
mov eax, dword [ebx]
mov dword [eax + 0x1a0], 1
jmp 0x42aa54
mov edx, dword [ebx]
push edx
call fcn.0042aa68
pop ecx
mov ecx, dword [ebp - 0x38]
mov dword fs:[0], ecx
mov eax, dword [ebx]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret