Function at 0x4066ac
Capabilities:
Encrypt data using rc4 ksa
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ecx, 0x26
xor eax, eax
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x48a]
mov esi, section..rdata
push ebx
sub esp, 0x55c
mov ebx, dword [0x410df4]
xor dword [str._r_vy], 0x3c8ba32a
rep movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x509], 0x2d706170
mov dword [ebp - 0x505], 0x393230
xor ebx, 0xaa68ee46
mov dword [0x410c34], ebx
mov byte [ebp + eax - 0x418], al
inc eax
cmp eax, 0x100
jne 0x4066fc
imul eax, ebx, 0xc995ddc
xor edi, edi
xor esi, esi
mov dword [ebp - 0x540], eax
mov al, byte [ebp + esi - 0x418]
mov ecx, 7
xor edx, edx
mov byte [ebp - 0x53c], al
mov eax, esi
div ecx
mov al, byte [ebp - 0x53c]
mov ecx, 0xf7e
add al, byte [ebp + edx - 0x509]
mov edx, str.ja_JP
add eax, edi
movzx edi, al
mov eax, dword [0x410d5c]
and eax, 0xb495d728
mov dword [0x410df4], eax
movzx eax, byte [edx]
inc edx
test al, al
je 0x406790
add ecx, eax
cmp ecx, 0x1872
jbe 0x40675e
call fcn.0040d00c
lea eax, [ebx + 0x62c8b8fc]
mov dword [0x410b30], eax
call fcn.0040e318
mov eax, dword [ebp - 0x540]
mov dword [0x410d5c], eax
mov eax, ebx
or eax, 0x25483732
mov dword [str._r_vy], eax
mov al, byte [ebp + edi - 0x418]
mov byte [ebp + esi - 0x418], al
mov al, byte [ebp - 0x53c]
inc esi
mov byte [ebp + edi - 0x418], al
cmp esi, 0x100
jne 0x40671b
imul eax, ebx, 0xbb8d027b
xor edx, edx
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0x53c], eax
sub eax, 0x58c5d657
or eax, 0xb24d18a7
mov dword [ebp - 0x544], eax
imul eax, dword [str._r_vy], 0x48a37554
mov ecx, str.ro_RO
mov esi, 0x120a
mov dword [ebp - 0x540], eax
movzx eax, word [ecx]
add ecx, 2
test ax, ax
je 0x406825
add esi, eax
cmp esi, 0x261e
jbe 0x406800
mov eax, dword [ebp - 0x540]
or eax, 0x9909bdba
mov dword [str._r_vy], eax
inc ebx
mov dword [ebp - 0x540], edx
call fcn.0040d00c
movzx ebx, bl
mov edx, dword [ebp - 0x540]
mov esi, dword [ebp - 0x53c]
mov al, byte [ebp + ebx - 0x418]
xor esi, 0x62ec9e98
lea ecx, [eax + edi]
mov dword [0x410df4], esi
movzx edi, cl
mov cl, byte [ebp + edi - 0x418]
mov byte [ebp + ebx - 0x418], cl
mov ecx, dword [ebp - 0x544]
mov byte [ebp + edi - 0x418], al
add al, byte [ebp + ebx - 0x418]
movzx eax, al
mov dword [0x410b30], ecx
lea ecx, [esi - 0x5d7503ed]
mov al, byte [ebp + eax - 0x418]
xor al, byte [ebp + edx - 0x48a]
mov dword [0x410c34], ecx
movzx eax, al
mov word [ebp + edx*2 - 0x464], ax
inc edx
cmp edx, 0x26
jne 0x4067e6
call fcn.0040e318
imul eax, esi, 0xfababe21
mov dword [ebp - 0x51e], 0x74737973
mov word [ebp - 0x418], 0
mov word [ebp - 0x537], 0x2a32
mov dword [str._r_vy], eax
imul eax, esi, 0xaf6b1d83
mov byte [ebp - 0x535], 0x12
mov dword [ebp - 0x51b], 0x6d6574
mov dword [0x410b30], eax
xor eax, eax
mov byte [ebp + eax - 0x318], al
inc eax
cmp eax, 0x100
jne 0x4068fd
mov eax, esi
xor edi, edi
xor ebx, ebx
and eax, 0xe2647b3f
mov dword [ebp - 0x540], eax
imul eax, eax, 0x92ca1e69
mov dword [ebp - 0x548], eax
xor eax, eax
cmp byte [eax + str.not_connected], 0
je 0x406946
inc eax
cmp eax, 0x5d0
jne 0x40692b
xor dword [str._r_vy], 0xe8ea6920
lea eax, [esi - 0x2a8a976c]
mov ecx, 6
xor edx, edx
mov dword [ebp - 0x53c], eax
mov dword [0x410c34], eax
mov eax, dword [ebp - 0x540]
mov dword [0x410d5c], eax
mov al, byte [ebp + ebx - 0x318]
mov byte [ebp - 0x544], al
mov eax, ebx
div ecx
mov al, byte [ebp - 0x544]
add al, byte [ebp + edx - 0x51e]
add eax, edi
movzx edi, al
xor eax, eax
cmp byte [eax + 0x412e40], 0
je 0x4069af
inc eax
cmp eax, 0xfe
jne 0x40698e
call fcn.0040ce14
mov eax, dword [ebp - 0x548]
mov dword [str._r_vy], eax
mov edx, dword [str._r_vy]
mov eax, edx
or edx, 0x1022cb46
or eax, 0x9a3a7b7e
mov dword [str._r_vy], edx
mov dword [0x410d5c], eax
xor eax, 0x5cb91232
mov dword [0x410b30], eax
mov al, byte [ebp + edi - 0x318]
mov byte [ebp + ebx - 0x318], al
mov al, byte [ebp - 0x544]
inc ebx
mov byte [ebp + edi - 0x318], al
cmp ebx, 0x100
jne 0x406929
mov dword [ebp - 0x540], edx
xor esi, esi
xor ebx, ebx
call fcn.0040e318
mov edx, dword [ebp - 0x540]
xor ecx, ecx
inc ecx
mov edi, str.ja_JP
movzx ecx, cl
mov al, byte [edi]
sub eax, 0x30
cmp al, 9
ja 0x406a2b
inc edi
jmp 0x406a1f
movzx edi, byte [ebp + ecx - 0x318]
add ebx, edi
movzx ebx, bl
mov al, byte [ebp + ebx - 0x318]
mov byte [ebp + ecx - 0x318], al
mov eax, edi
mov byte [ebp + ebx - 0x318], al
add al, byte [ebp + ecx - 0x318]
movzx eax, al
mov al, byte [ebp + eax - 0x318]
xor al, byte [esi + ebp - 0x537]
movzx eax, al
mov word [ebp + esi*2 - 0x524], ax
inc esi
cmp esi, 3
jne 0x406a16
lea edi, [ebp - 0x4a5]
mov esi, str.EventThrottleFlushPeriodMs
mov ecx, 0x1b
mov dword [ebp - 0x517], 0xbdd3deb0
mov dword [ebp - 0x514], 0xf7a0b8bd
xor edx, 0xc2aa67fd
mov ebx, 0xb78
mov word [ebp - 0x51e], 0
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x4111cc
movzx eax, byte [ecx]
inc ecx
test al, al
je 0x406ac9
add ebx, eax
cmp ebx, 0x1d9f
jbe 0x406ab7
mov edi, dword [ebp - 0x53c]
or edx, 0x6f94bc5b
mov eax, dword [ebp - 0x53c]
xor edx, 0x78cf32f5
xor edi, 0xc5dd7c4
mov dword [0x410d5c], edx
xor eax, 0x64aecb7f
mov dword [0x410b30], edi
mov dword [0x410df4], eax
xor eax, eax
mov byte [ebp + eax - 0x218], al
inc eax
cmp eax, 0x100
jne 0x406aff
xor esi, esi
xor ecx, ecx
mov al, byte [ebp + ecx - 0x218]
mov ebx, 0x1a
xor edx, edx
mov byte [ebp - 0x53c], al
mov eax, ecx
div ebx
movzx eax, byte [ebp + edx - 0x4a5]
movzx edx, byte [ebp - 0x53c]
add eax, edx
add eax, esi
movzx esi, al
mov al, byte [ebp + esi - 0x218]
mov byte [ebp + ecx - 0x218], al
mov al, byte [ebp - 0x53c]
inc ecx
mov byte [ebp + esi - 0x218], al
cmp ecx, 0x100
jne 0x406b12
and edi, 0x880f99c9
xor ebx, ebx
xor esi, esi
imul eax, edi, 0x71a2dd51
mov dword [ebp - 0x53c], ebx
mov dword [ebp - 0x540], edi
xor edi, edi
or eax, 0xcbf75c47
mov dword [ebp - 0x544], eax
mov eax, dword [ebp - 0x540]
mov dword [str._r_vy], eax
call fcn.0040d634
lea eax, [esi + 1]
mov ecx, 0x412e40
mov edx, 0x1282
movzx esi, al
mov eax, dword [ebp - 0x544]
mov bl, byte [ebp + esi - 0x218]
mov dword [0x410c34], eax
lea eax, [ebx + edi]
movzx edi, al
movsx eax, byte [ecx]
inc ecx
test al, al
je 0x406bec
add edx, eax
cmp edx, 0x1fd5
jbe 0x406bc5
call fcn.0040ce14
mov eax, dword [ebp - 0x540]
or eax, 0xbd5e160a
mov dword [0x410c34], eax
mov eax, dword [0x410df4]
sub eax, 0x63ecdef4
or eax, 0x375dee9
mov dword [0x410df4], eax
mov al, byte [ebp + edi - 0x218]
mov byte [ebp + esi - 0x218], al
mov byte [ebp + edi - 0x218], bl
add bl, byte [ebp + esi - 0x218]
movzx ebx, bl
mov al, byte [ebp + ebx - 0x218]
mov ebx, dword [0x410c34]
mov ecx, ebx
or ecx, 0x4d432c59
mov dword [0x410d5c], ecx
mov ecx, dword [ebp - 0x53c]
inc dword [ebp - 0x53c]
xor al, byte [ebp + ecx - 0x517]
cmp dword [ebp - 0x53c], 7
mov byte [ebp + ecx - 0x510], al
jne 0x406b8d
cmp byte [0x411910], 0
je 0x406c6f
call fcn.0040cd18
and ebx, 0x4cd4e47c
lea edi, [ebp - 0x501]
mov esi, 0x412041
mov byte [ebp - 0x509], 0
call fcn.0040e318
imul ebx, ebx, 0xcf556579
mov ecx, 0xd
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x4d1]
mov esi, str.host_unreachable
mov ecx, 0x11
rep movsb byte es:[edi], byte [esi]
call fcn.0040cd18
call fcn.0040cd18
xor eax, eax
mov byte [ebp + eax - 0x118], al
inc eax
cmp eax, 0x100
jne 0x406cb7
and ebx, 0x34f88f37
xor edx, edx
xor eax, eax
mov dword [ebp - 0x53c], ebx
mov dword [0x410d5c], ebx
mov esi, eax
movzx edi, byte [ebp + eax - 0x118]
and esi, 0xf
movzx esi, byte [ebp + esi - 0x4d1]
mov ecx, edi
add esi, edi
add edx, esi
movzx edx, dl
movzx esi, byte [ebp + edx - 0x118]
mov ebx, esi
mov byte [ebp + eax - 0x118], bl
inc eax
mov byte [ebp + edx - 0x118], cl
cmp eax, 0x100
jne 0x406cdc
mov byte [ebp - 0x19], bl
mov ebx, dword [ebp - 0x53c]
xor esi, esi
mov byte [ebp + edx - 0x118], cl
xor ecx, ecx
mov dword [ebp - 0x53c], ecx
xor ebx, 0x3f318f02
mov dword [0x410c34], ebx
xor ebx, ebx
inc ebx
mov edi, dword [0x410c34]
movzx ebx, bl
mov cl, byte [ebp + ebx - 0x118]
lea eax, [ecx + esi]
mov byte [ebp - 0x540], cl
movzx esi, al
lea eax, [edi + 0x543cc2d5]
mov dword [str._r_vy], eax
mov al, byte [ebp + esi - 0x118]
mov byte [ebp + ebx - 0x118], al
imul eax, dword [0x410d5c], 0x864da319
mov byte [ebp + esi - 0x118], cl
mov dword [0x410d5c], eax
call fcn.0040e318
mov cl, byte [ebp - 0x540]
mov edx, 0xe4f
add cl, byte [ebp + ebx - 0x118]
movzx ecx, cl
mov al, byte [ebp + ecx - 0x118]
mov ecx, str.connection_reset
mov byte [ebp - 0x540], al
movsx eax, byte [ecx]
inc ecx
test al, al
je 0x406dd7
add edx, eax
cmp edx, 0x1956
jbe 0x406dba
lea eax, [edi - 0x36ceb1fc]
mov dword [0x410c34], eax
mov eax, dword [0x410c34]
sub eax, 0x476d91e2
mov dword [0x410df4], eax
mov eax, edi
or eax, 0xddeed2e6
mov dword [0x410b30], eax
call fcn.0040d634
mov ecx, dword [ebp - 0x53c]
mov al, byte [ebp - 0x540]
inc dword [ebp - 0x53c]
xor al, byte [ebp + ecx - 0x501]
cmp dword [ebp - 0x53c], 0xd
movzx eax, al
mov word [ebp + ecx*2 - 0x4c0], ax
jne 0x406d42
xor eax, eax
cmp byte [eax + str.cs_CZ], 0
je 0x406e3e
inc eax
cmp eax, 0x28
jne 0x406e2a
call fcn.0040e63c
mov word [ebp - 0x4a6], 0
mov esi, 0x40f080
lea ebx, [ebp - 0x4f4]
call fcn.0040cd18
xor edx, edx
lea eax, [edi + 0xa820626]
mov ecx, 4
mov dword [ebp - 0x534], edx
lea edi, [ebp - 0x4f4]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x530], edx
mov edx, eax
or edx, 0xaba956d7
mov dword [0x410df4], eax
sub edx, 0x6512c5ec
cmp byte [0x4111cc], 0
mov dword [0x410d5c], edx
je 0x406ea9
xor eax, 0x760678e7
add eax, 0x1e7c67a1
mov dword [0x410df4], eax
imul edx, edx, 0x2b6520e
mov eax, dword [0x410df4]
cmp byte [str.ja_JP], 0
lea ecx, [eax + 0x274b5b6f]
mov dword [0x410c34], ecx
mov dword [str._r_vy], edx
je 0x406edb
imul edx, eax, 0xfb41d3e9
mov dword [str._r_vy], edx
mov esi, dword [0x40f934]
add eax, 0x7739f84
mov dword [0x410df4], eax
and eax, 0xe1b3839
mov dword [0x410b30], eax
mov eax, dword fs:[0x18]
mov dword [esi + 0x1a0], eax
mov dword [esp], 0x7e412040
call fcn.00405208
xor edx, edx
mov dword [esi + 0x124], eax
test eax, eax
je 0x407ddd
cmp byte [edx + str.gu_IN], 0
je 0x406f43
inc edx
cmp edx, 0x1d29
jne 0x406f1d
call fcn.0040d00c
mov eax, dword [0x410d5c]
add eax, 0x7a1cb104
mov dword [0x410df4], eax
mov eax, dword [0x410df4]
mov edx, eax
and eax, 0xbd4c1c05
and edx, 0x10ccc470
mov dword [0x410df4], eax
xor eax, eax
mov dword [0x410d5c], edx
cmp byte [eax + str.ja_JP], 0
je 0x406f82
inc eax
cmp eax, 0xed9
jne 0x406f62
call fcn.0040d00c
xor dword [0x410b30], 0xd86a380d
mov eax, dword [0x410c34]
or eax, 0x9b9ba754
mov dword [0x410df4], eax
mov dword [esp + 4], 0xc0dce9e9
mov eax, dword [0x40f934]
mov eax, dword [eax + 0x124]
mov dword [esp], eax
call fcn.00404ddc
mov edx, eax
mov eax, dword [0x40f934]
mov dword [eax + 0x10], edx
mov dword [esp + 4], 0xea79c3f6
mov eax, dword [eax + 0x124]
mov dword [esp], eax
call fcn.00404ddc
mov edx, eax
mov eax, dword [0x40f934]
mov dword [eax + 0xc], edx
mov dword [esp + 4], 0x8548aded
mov eax, dword [eax + 0x124]
mov dword [esp], eax
call fcn.00404ddc
mov edx, eax
mov eax, dword [0x40f934]
mov dword [eax + 0x14], edx
mov dword [esp + 4], 0xce3215c4
mov eax, dword [eax + 0x124]
mov dword [esp], eax
call fcn.00404ddc
mov edx, eax
mov eax, dword [0x40f934]
mov dword [eax + 0x18], edx
mov dword [esp + 4], 0x466974ea
mov eax, dword [eax + 0x124]
mov dword [esp], eax
call fcn.00404ddc
mov edx, 0x412e40
mov ecx, 0x9a0
mov esi, dword [0x40f934]
mov dword [esi + 0x1c], eax
movsx eax, byte [edx]
inc edx
test al, al
je 0x407065
add ecx, eax
cmp ecx, 0x1ec0
jbe 0x40703f
call fcn.0040e318
mov eax, dword [0x410c34]
sub eax, 0x6860f7d7
mov dword [0x410df4], eax
mov eax, dword [0x410b30]
and dword [0x410df4], 0x5dcb3289
or eax, 0x7f6da81e
mov dword [0x410c34], eax
mov dword [esp + 4], 0xde371a59
mov eax, dword [esi + 0x124]
mov dword [esp], eax
call fcn.00404ddc
mov edx, eax
mov eax, dword [0x40f934]
mov dword [eax + 0x20], edx
mov dword [esp + 4], 0x8ec23db0
mov eax, dword [eax + 0x124]
mov dword [esp], eax
call fcn.00404ddc
mov edx, eax
mov eax, dword [0x40f934]
mov dword [eax + 0x24], edx
mov dword [esp + 4], 0x51d1b508
mov eax, dword [eax + 0x124]
mov dword [esp], eax
call fcn.00404ddc
mov edi, dword [0x40f934]
mov dword [edi + 0x28], eax
call fcn.0040cd18
mov esi, dword [0x410df4]
or esi, 0x90b78f1c
mov dword [0x410c34], esi
sub esi, 0x19789fad
call fcn.0040ce14
mov dword [0x410df4], esi
mov dword [esp + 4], 0xfab01e4e
mov eax, dword [edi + 0x124]
mov dword [esp], eax
call fcn.00404ddc
mov edx, eax
mov eax, dword [0x40f934]
mov dword [eax + 0x2c], edx
mov dword [esp + 4], 0xf6d823e2
mov eax, dword [eax + 0x124]
mov dword [esp], eax
call fcn.00404ddc
mov esi, dword [0x40f934]
mov dword [esi + 0x30], eax
mov dword [esp], 0x988d27c8
call fcn.00405208
mov dword [esi + 0x128], eax
test eax, eax
je 0x407ddd
mov dword [esp + 4], 0xa413a691
mov eax, dword [0x40f934]
mov eax, dword [eax + 0x128]
mov dword [esp], eax
call fcn.00404ddc
mov edx, eax
mov eax, dword [0x40f934]
mov dword [eax + 0x34], edx
mov dword [esp + 4], 0xea831f6a
mov eax, dword [eax + 0x128]
mov dword [esp], eax
call fcn.00404ddc
mov edx, eax
mov eax, dword [0x40f934]
mov dword [eax + 0x38], edx
mov dword [esp + 4], 0xa334d908
mov eax, dword [eax + 0x128]
mov dword [esp], eax
call fcn.00404ddc
mov edx, eax
mov eax, dword [0x40f934]
mov dword [eax + 0x3c], edx
mov dword [esp + 4], 0x342d54ca
mov eax, dword [eax + 0x128]
mov dword [esp], eax
call fcn.00404ddc
and dword [str._r_vy], 0x8aa9151e
mov edx, eax
mov eax, dword [0x40f934]
mov dword [eax + 0x40], edx
mov dword [esp + 4], 0xdfe20615
mov eax, dword [eax + 0x128]
mov dword [esp], eax
call fcn.00404ddc
mov edx, eax
mov eax, dword [0x40f934]
mov dword [eax + 0x44], edx
mov dword [esp + 4], 0x3b3cb123
mov eax, dword [eax + 0x128]
mov dword [esp], eax
call fcn.00404ddc
mov edx, eax
mov eax, dword [0x40f934]
mov dword [eax + 0x5c], edx
mov dword [esp + 4], 0x51387723
mov eax, dword [eax + 0x128]
mov dword [esp], eax
call fcn.00404ddc
mov edx, dword [0x40f934]
mov dword [edx + 0x60], eax
mov eax, dword [0x410c34]
and eax, 0x5a5cc824
mov dword [0x410d5c], eax
sub eax, 0x69b0d63b
mov dword [0x410c34], eax
mov dword [esp + 4], 0xc569ed8f
mov eax, dword [edx + 0x128]
mov dword [esp], eax
call fcn.00404ddc
mov edx, eax
mov eax, dword [0x40f934]
mov dword [eax + 0x64], edx
mov dword [esp + 4], 0xfce262bd
mov eax, dword [eax + 0x128]
mov dword [esp], eax
call fcn.00404ddc
mov esi, dword [0x40f934]
cmp byte [str.ja_JP], 0
mov dword [esi + 0x68], eax
je 0x4072bc
mov eax, dword [0x410c34]
or eax, 0x9cf13ce6
mov dword [0x410b30], eax
mov eax, dword [0x410df4]
imul edx, eax, 0x92e06c78
add eax, 0x374b5690
mov dword [0x410df4], eax
mov dword [0x410c34], edx
call fcn.0040e318
mov dword [esp + 4], 0xb4043621
mov eax, dword [esi + 0x128]
mov esi, 0x104c
mov dword [esp], eax
call fcn.00404ddc
mov edx, eax
mov eax, dword [0x40f934]
mov dword [eax + 0x48], edx
mov dword [esp + 4], 0x22a4bb06
mov eax, dword [eax + 0x128]
mov dword [esp], eax
call fcn.00404ddc
mov ecx, dword [0x40f934]
mov edx, 0x412e40
mov dword [ecx + 0x7c], eax
movsx eax, byte [edx]
inc edx
test al, al
je 0x407346
add esi, eax
cmp esi, 0x11b1
jbe 0x407325
mov eax, dword [0x410df4]
add eax, 0x7a144c57
mov dword [0x410c34], eax
mov eax, dword [0x410c34]
add eax, 0x4aaf58d5
mov dword [0x410c34], eax
xor eax, 0x301ab70f
mov dword [0x410b30], eax
mov dword [esp + 4], 0xf6210ac7
mov eax, dword [ecx + 0x128]
mov dword [esp], eax
call fcn.00404ddc
mov esi, dword [0x40f934]
mov edx, 0x411910
mov dword [esi + 0x80], eax
mov al, byte [edx]
test al, al
je 0x4073a2
sub eax, 0x30
cmp al, 9
jbe 0x40739f
sub dword [0x410b30], 0x5b1bd52a
jmp 0x4073a2
inc edx
jmp 0x407386
mov edx, dword [0x410d5c]
mov ecx, str.ja_JP
lea eax, [edx + 0x82e4278]
mov dword [0x410df4], eax
mov al, byte [ecx]
test al, al
je 0x4073d6
sub eax, 0x30
cmp al, 9
jbe 0x4073d3
sub edx, 0x7a836b64
mov dword [0x410b30], edx
jmp 0x4073d6
inc ecx
jmp 0x4073b8
imul eax, dword [str._r_vy], 0x5e53ea14
mov dword [str._r_vy], eax
call fcn.0040e318
mov dword [esp + 4], 0xf2821d1b
mov eax, dword [esi + 0x128]
mov dword [esp], eax
call fcn.00404ddc
and dword [0x410c34], 0xc0c5325
mov edx, eax
mov eax, dword [0x40f934]
mov dword [eax + 0x84], edx
mov dword [esp + 4], 0xecff100e
mov eax, dword [eax + 0x128]
mov dword [esp], eax
call fcn.00404ddc
mov edx, eax
mov eax, dword [0x40f934]
mov dword [eax + 0x88], edx
mov dword [esp + 4], 0x5de170c9
mov eax, dword [eax + 0x128]
mov dword [esp], eax
call fcn.00404ddc
mov esi, dword [0x40f934]
add dword [str._r_vy], 0x70db1e0a
mov dword [esi + 0x74], eax
mov eax, dword [0x410c34]
xor eax, 0x5f0bb51b
mov dword [0x410df4], eax
call fcn.0040d324
mov dword [esp + 4], 0xae13679b
mov eax, dword [esi + 0x128]
mov esi, 0xc30
mov dword [esp], eax
call fcn.00404ddc
mov edx, dword [0x40f934]
mov dword [edx + 0x78], eax
mov eax, dword [0x410df4]
sub eax, 0x5164b948
mov dword [0x410c34], eax
mov dword [esp + 4], 0x990f8c02
mov eax, dword [edx + 0x128]
mov dword [esp], eax
call fcn.00404ddc
mov edx, eax
mov eax, dword [0x40f934]
mov dword [eax + 0x8c], edx
mov dword [esp + 4], 0xe2c9439a
mov eax, dword [eax + 0x128]
mov dword [esp], eax
call fcn.00404ddc
mov edx, dword [0x40f934]
mov dword [edx + 0x90], eax
mov eax, dword [0x410b30]
add eax, 0x111069b3
mov dword [str._r_vy], eax
mov dword [esp + 4], 0x68ada154
mov eax, dword [edx + 0x128]
mov dword [esp], eax
call fcn.00404ddc
mov edx, eax
mov eax, dword [0x40f934]
mov dword [eax + 0x94], edx
mov dword [esp + 4], 0xd078b8fa
mov eax, dword [eax + 0x128]
mov dword [esp], eax
call fcn.00404ddc
mov edx, eax
mov eax, dword [0x40f934]
mov dword [eax + 0x98], edx
mov dword [esp + 4], 0x8ac89728
mov eax, dword [eax + 0x128]
mov dword [esp], eax
call fcn.00404ddc
mov ecx, dword [0x40f934]
mov edx, 0x4111cc
mov dword [ecx + 0x9c], eax
movzx eax, byte [edx]
inc edx
test al, al
je 0x407587
add esi, eax
cmp esi, 0x19b4
jbe 0x40756b
xor dword [0x410df4], 0xf31ada4c
mov eax, dword [0x410df4]
or eax, 0x13e7b289
mov dword [str._r_vy], eax
mov eax, dword [0x410d5c]
and eax, 0x4aefbb21
mov dword [0x410df4], eax
mov dword [esp + 4], 0xf9cf033b
mov eax, dword [ecx + 0x128]
mov dword [esp], eax
call fcn.00404ddc
mov edx, eax
mov eax, dword [0x40f934]
mov dword [eax + 0xa0], edx
mov dword [esp + 4], 0xe156e292
mov eax, dword [eax + 0x128]
mov dword [esp], eax
call fcn.00404ddc
mov edx, eax
mov eax, dword [0x40f934]
mov dword [eax + 0xa4], edx
mov dword [esp + 4], 0xd7a3077a
mov eax, dword [eax + 0x128]
mov dword [esp], eax
call fcn.00404ddc
mov edx, eax
mov eax, dword [0x40f934]
mov dword [eax + 0xac], edx
mov dword [esp + 4], 0x6ac5e585
mov eax, dword [eax + 0x128]
mov dword [esp], eax
call fcn.00404ddc
mov edx, eax
mov eax, dword [0x40f934]
mov dword [eax + 0xb0], edx
mov dword [esp + 4], 0x19e6e3f
mov eax, dword [eax + 0x128]
mov dword [esp], eax
call fcn.00404ddc
mov edx, dword [0x40f934]
mov dword [edx + 0xb4], eax
mov eax, dword [str._r_vy]
xor eax, 0xb833dc34
mov dword [0x410b30], eax
mov dword [esp + 4], 0xe2f2b91c
mov eax, dword [edx + 0x128]
mov dword [esp], eax
call fcn.00404ddc
mov edx, dword [0x40f934]
mov dword [edx + 0xb8], eax
mov eax, dword [0x410df4]
add eax, 0x240815cd
mov dword [0x410c34], eax
mov dword [esp + 4], 0xa0d70d63
mov eax, dword [edx + 0x128]
mov dword [esp], eax
call fcn.00404ddc
mov edx, eax
mov eax, dword [0x40f934]
mov dword [eax + 0xbc], edx
mov dword [esp + 4], 0xe920d2eb
mov eax, dword [eax + 0x128]
mov dword [esp], eax
call fcn.00404ddc
mov edx, eax
mov eax, dword [0x40f934]
mov dword [eax + 0xc0], edx
mov dword [esp + 4], 0xb4047b76
mov eax, dword [eax + 0x128]
mov dword [esp], eax
call fcn.00404ddc
mov edx, eax
mov eax, dword [0x40f934]
mov dword [eax + 0x6c], edx
mov dword [esp + 4], 0xac125036
mov eax, dword [eax + 0x128]
mov dword [esp], eax
call fcn.00404ddc
mov esi, dword [0x40f934]
mov dword [esi + 0x70], eax
call fcn.0040e318
mov eax, dword [0x410b30]
mov edx, eax
imul eax, eax, 0xc18d819
or edx, 0xe3d9d939
mov dword [str._r_vy], edx
mov dword [0x410b30], eax
call fcn.0040e63c
mov dword [esp + 4], 0xf2c09bed
mov eax, dword [esi + 0x128]
mov dword [esp], eax
call fcn.00404ddc
mov edx, eax
mov eax, dword [0x40f934]
mov dword [eax + 0x4c], edx
mov dword [esp + 4], 0xbe3b950e
mov eax, dword [eax + 0x128]
mov dword [esp], eax
call fcn.00404ddc
mov edx, dword [0x40f934]
mov dword [edx + 0x50], eax
mov eax, dword [str._r_vy]
or eax, 0x290f9f3e
mov dword [0x410b30], eax
mov dword [esp + 4], 0x46f67b05
mov eax, dword [edx + 0x128]
mov dword [esp], eax
call fcn.00404ddc
mov edx, eax
mov eax, dword [0x40f934]
mov dword [eax + 0x54], edx
mov dword [esp + 4], 0x91697de5
mov eax, dword [eax + 0x128]
mov dword [esp], eax
call fcn.00404ddc
mov edx, dword [0x40f934]
mov dword [edx + 0x58], eax
call fcn.004015c8
mov dword [ebp - 0x53c], eax
test eax, eax
jne 0x407ddd
lea eax, [ebp - 0x464]
xor edi, edi
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov dword [esp], edi
mov eax, dword [0x40f934]
call dword [eax + 0x6c]
mov eax, dword [0x40f934]
sub esp, 0xc
call dword [eax + 0x70]
cmp eax, 0xb7
je 0x407ddd
call fcn.00405768
mov edx, 0x411910
mov al, byte [edx]
test al, al
je 0x407840
sub eax, 0x30
cmp al, 9
jbe 0x40783d
imul eax, dword [0x410b30], 0x5c9a722b
mov dword [0x410df4], eax
jmp 0x407840
inc edx
jmp 0x40781f
mov eax, dword [0x410df4]
xor esi, esi
or eax, 0xe57f222c
mov dword [str._r_vy], eax
mov dword [esp], 1
call fcn.0040b564
call fcn.0040d324
mov eax, dword [0x410d5c]
imul edx, eax, 0xe55dd81
xor eax, 0x1cdb22dc
add eax, 0x5403daf9
mov dword [str._r_vy], eax
mov eax, dword [0x410b30]
mov dword [0x410c34], edx
sub edx, 0x1d80fed3
or eax, 0xe6356e26
mov dword [0x410d5c], edx
mov dword [0x410df4], eax
mov dword [esp + 4], 4
mov dword [esp], ebx
call fcn.0040b43c
call dword [ebx + esi*4]
test eax, eax
je 0x407ddd
inc esi
cmp esi, 4
jne 0x4078ad
mov eax, dword [0x40f934]
mov dword [eax + 0x150], 0xffff
mov dword [esp], 0xffffffff
call fcn.00409954
test eax, eax
je 0x4078ed
mov eax, dword [0x40f934]
mov word [eax + 0x150], 9
jmp 0x40791e
mov eax, dword [0x410df4]
add eax, 0x15e05623
mov dword [str._r_vy], eax
mov eax, dword [0x410b30]
and eax, 0xfb91f7ef
mov dword [0x410c34], eax
call fcn.0040d634
mov eax, dword [0x40f934]
mov word [eax + 0x150], 0
lea eax, [ebp - 0x534]
xor ebx, ebx
xor esi, esi
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x524]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 8], esi
mov dword [esp + 4], esi
mov dword [esp], eax
mov eax, dword [0x40f934]
call dword [eax + 0x4c]
xor eax, eax
sub esp, 0x20
cmp byte [eax + 0x4111cc], 0
je 0x40797f
inc eax
cmp eax, 0x188e
jne 0x40795a
call fcn.0040d00c
mov eax, dword [0x410d5c]
sub eax, 0x344814b0
mov dword [0x410c34], eax
imul eax, dword [0x410c34], 0x4b70d2d5
mov dword [0x410d5c], eax
mov eax, dword [0x410df4]
add eax, 0x2435b6d1
mov dword [0x410c34], eax
mov dword [esp + 4], 0x208
mov dword [esp], 0x40
mov eax, dword [0x40f934]
call dword [eax + 0x50]
mov ebx, eax
push ecx
push ecx
mov eax, dword [0x410df4]
and dword [0x410b30], 0x9cd29067
and eax, 0x32c47dc7
mov dword [0x410c34], eax
mov dword [esp + 4], 0x208
mov dword [esp], 0x40
mov eax, dword [0x40f934]
call dword [eax + 0x50]
mov edi, eax
push esi
push esi
mov eax, dword [0x410d5c]
mov dword [ebp - 0x52c], 0x208
mov dword [ebp - 0x528], 0x208
add eax, 0x46ba4a47
mov dword [0x410c34], eax
mov dword [esp + 4], 0x400
mov dword [esp], 0x40
mov eax, dword [0x40f934]
call dword [eax + 0x50]
push edx
mov esi, eax
lea eax, [ebp - 0x52c]
push edx
mov dword [esp + 4], eax
mov dword [esp], ebx
mov eax, dword [0x40f934]
call dword [eax + 0xec]
push ecx
push ecx
test eax, eax
je 0x407ddd
mov edx, str.not_connected
mov ecx, 0x4b6
movsx eax, byte [edx]
inc edx
test al, al
je 0x407a7c
add ecx, eax
cmp ecx, 0x9fa
jbe 0x407a56
call fcn.0040cd18
imul eax, dword [0x410df4], 0x90f68f1
mov dword [0x410b30], eax
mov eax, dword [str._r_vy]
xor eax, 0x24068dec
mov dword [0x410d5c], eax
sub eax, 0x4d4edd9a
mov dword [0x410df4], eax
call fcn.0040cd18
lea eax, [ebp - 0x528]
mov dword [esp], edi
mov dword [esp + 4], eax
mov eax, dword [0x40f934]
call dword [eax + 0xb4]
push edx
push edx
test eax, eax
je 0x407ddd
mov eax, dword [str._r_vy]
lea edx, [eax - 0x45183b73]
add eax, 0x6ecda9f1
mov dword [0x410d5c], edx
mov dword [str._r_vy], eax
call fcn.0040d634
lea eax, [ebp - 0x510]
mov dword [esp + 0xc], edi
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov dword [esp], esi
mov eax, dword [0x40f934]
call dword [eax + 0xd4]
mov edx, dword [ebp - 0x534]
mov dword [ebp - 0x540], edx
mov dword [esp], esi
call fcn.0040b888
mov edx, dword [ebp - 0x540]
mov dword [esp], esi
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00403e84
mov dword [ebp - 0x530], eax
test esi, esi
je 0x407b72
xor eax, eax
mov dword [esp + 8], 0x400
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.004056d8
mov eax, dword [0x410b30]
lea edx, [eax - 0x708a1f5a]
sub eax, 0x55595726
mov dword [0x410df4], edx
mov dword [str._r_vy], eax
call fcn.0040ce14
mov dword [esp], esi
mov eax, dword [0x40f934]
call dword [eax + 0x58]
push eax
test ebx, ebx
je 0x407b9a
mov eax, dword [ebp - 0x52c]
mov dword [esp], ebx
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], eax
call fcn.004056d8
mov dword [esp], ebx
mov eax, dword [0x40f934]
call dword [eax + 0x58]
push eax
test edi, edi
je 0x407bc2
mov eax, dword [ebp - 0x528]
xor esi, esi
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], eax
call fcn.004056d8
mov dword [esp], edi
mov eax, dword [0x40f934]
call dword [eax + 0x58]
push edi
mov edx, str.ja_JP
mov al, byte [edx]
test al, al
je 0x407be8
sub eax, 0x30
cmp al, 9
jbe 0x407be5
mov eax, dword [0x410c34]
add eax, 0x36f1e461
mov dword [str._r_vy], eax
jmp 0x407be8
inc edx
jmp 0x407bc7
mov eax, dword [0x410d5c]
lea ebx, [ebp - 0x534]
xor edi, edi
lea edx, [eax - 0x5d7da568]
add eax, 0x714a1b7e
mov dword [0x410df4], eax
lea eax, [ebp - 0x530]
mov dword [0x410d5c], edx
mov dword [esp], eax
call fcn.004099b4
mov dword [esp], ebx
mov esi, eax
call fcn.004099b4
mov eax, dword [str._r_vy]
or eax, 0x166b1d0d
mov dword [0x410c34], eax
mov dword [esp], ebx
call fcn.004099b4
mov ebx, eax
lea eax, [ebp - 0x534]
mov dword [esp], eax
call fcn.004099b4
mov byte [ebp + edi - 0x4dc], al
inc edi
cmp edi, 8
jne 0x407c3c
mov eax, dword [ebp - 0x53c]
cmp byte [eax + str.connection_reset], 0
je 0x407c8c
inc dword [ebp - 0x53c]
cmp dword [ebp - 0x53c], 0x1afa
jne 0x407c57
call fcn.0040d324
mov eax, dword [0x410d5c]
xor eax, 0x8e04c4ed
mov dword [0x410c34], eax
imul eax, dword [0x410df4], 0xedae8553
mov dword [0x410d5c], eax
call fcn.0040e318
mov edi, dword [0x40f934]
mov dword [esp], 0x208
call fcn.004056fc
mov dword [edi + 0x13c], eax
mov eax, dword [0x40f934]
mov edx, dword [eax + 0x13c]
test edx, edx
je 0x407e15
mov ecx, dword [ebp - 0x4d8]
movzx ebx, bx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
lea ecx, [ebp - 0x4c0]
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [eax + 0xc4]
mov ebx, dword [0x40f934]
cmp dword [ebx + 0x158], 0
je 0x407d41
call fcn.00409d50
mov ebx, 0x19
xor edx, edx
mov ecx, dword [0x40f934]
div ebx
mov eax, dword [ecx + 0x1a0]
xor ebx, ebx
mov dword [ecx + 0x15c], edx
mov edx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
mov dword [ecx + 0x140], ebx
mov dword [ecx + 0x144], edx
mov dword [ecx + 0x148], eax
jmp 0x407e15
mov edx, str.ro_RO
mov ecx, 0x2426
movzx eax, word [edx]
add edx, 2
test ax, ax
je 0x407d6f
add ecx, eax
cmp ecx, 0x2710
jbe 0x407d4b
mov eax, dword [0x410df4]
and eax, 0xb4a76b47
mov dword [0x410b30], eax
mov eax, dword [str._r_vy]
or eax, 0x94dbf659
mov dword [0x410d5c], eax
imul eax, dword [0x410b30], 0x3fb26764
mov dword [0x410c34], eax
call fcn.0040e63c
imul eax, dword [0x410df4], 0xa19612d7
mov dword [0x410b30], eax
mov dword [esp + 4], 0x20
mov dword [esp], 0x40
call dword [ebx + 0x50]
push edx
push edx
mov dword [ebx + 0x158], eax
xor ebx, ebx
call fcn.00409d50
mov edx, eax
mov eax, dword [0x40f934]
mov eax, dword [eax + 0x158]
mov byte [eax + ebx], dl
inc ebx
cmp ebx, 0x20
jne 0x407dbd
jmp 0x407d02
mov eax, dword [0x40f934]
mov edx, dword [0x410df4]
mov dword [eax + 8], 1
mov eax, dword [0x410b30]
xor edx, 0x5908870d
mov dword [str._r_vy], edx
xor eax, 0xf71913a3
mov dword [0x410c34], eax
imul eax, eax, 0x18450b8d
mov dword [0x410df4], eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret