Function at 0x4b6080
Capabilities:
Set socket configuration

Disassembly:
push 0xffffffffffffffff
push 0x5695d6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c0
mov eax, dword [0x5af710]
xor eax, esp
push ebx
push ebp
mov ebp, dword [esp + 0x1d8]
push esi
push edi
mov ebx, 1
push ebx
xor edi, edi
push 3
lea ecx, [esp + 0x130]
mov dword [esp + 0x1d4], eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], edi
call fcn.0042b127
push 0xa
lea eax, [esp + 0xdc]
push eax
lea ecx, [esp + 0xa8]
mov dword [esp + 0x1e0], ebx
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xe4], 3
mov dword [esp + 0xe8], 6
mov dword [esp + 0xec], ebx
mov dword [esp + 0xf0], 2
mov dword [esp + 0xf4], ebx
mov dword [esp + 0xf8], 4
mov dword [esp + 0xfc], 0x14
mov dword [esp + 0x100], ebx
mov dword [esp + 0x104], ebx
call fcn.0047952a
lea ecx, [esp + 0xa0]
mov byte [esp + 0x1d8], 2
call fcn.00479959
test eax, eax
jne 0x4b63d7
cmp dword [0x5b21c0], 0x254
jne 0x4b6381
lea ecx, [esp + 0x1b0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push ebx
push 2
lea ecx, [esp + 0x28]
call fcn.00404a20
mov edx, dword [esp + 0x1bc]
push 0x572a6c
push str.GetSNMPNextValue
mov eax, dword [esp + 0x1c2]
push 0x572a4c
mov ecx, dword [esp + 0x1c4]
push 0x572a6c
push 0x572a48
push 0x254
push 0x572a40
push edx
mov edx, dword [esp + 0x1d6]
push 0x572a3c
push eax
mov eax, dword [esp + 0x1da]
push 0x572a3c
push ecx
mov ecx, dword [esp + 0x1e0]
push 0x572a38
push edx
push 0x572a34
push eax
push 0x572a34
push ecx
push 0x572a38
push 0x776
push 0x572a3c
push 0x5c
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x88], esp
push 0x14
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], edi
push str..WatchClientDlg.cpp
mov byte [esp + 0x254], 3
mov byte [ecx + 4], 0
call fcn.00404640
lea edx, [esp + 0x130]
push edx
call fcn.00407150
add esp, 0x24
mov ecx, dword [eax + 0x18]
mov esi, 0x10
cmp ecx, esi
mov byte [esp + 0x22c], 4
jb 0x4b6263
mov eax, dword [eax + 4]
jmp 0x4b6266
add eax, 4
push eax
lea eax, [esp + 0x78]
push 0x572a0c
push eax
call fcn.00403980
add esp, 8
push eax
call fcn.00403980
add esp, 8
push eax
call fcn.00403980
add esp, 8
mov ecx, eax
call fcn.004040c0
push eax
call fcn.00403980
add esp, 8
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
add esp, 8
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
add esp, 8
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
add esp, 8
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
add esp, 8
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
add esp, 8
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
add esp, 8
mov ecx, eax
call fcn.004040c0
push eax
call fcn.00403980
add esp, 8
push eax
call fcn.00403980
add esp, 8
push eax
call fcn.00403980
add esp, 8
push eax
call fcn.00403980
add esp, 8
push eax
call fcn.00403980
mov eax, dword [esp + 0xdc]
add esp, 8
cmp eax, esi
mov byte [esp + 0x1d8], 3
jb 0x4b6352
mov ecx, dword [esp + 0xc0]
push ecx
call fcn.0055047a
add esp, 4
lea edx, [esp + 0x20]
push edx
call fcn.00407930
add esp, 4
lea ecx, [esp + 0x6c]
mov byte [esp + 0x1d8], 2
call fcn.004028d0
lea ecx, [esp + 0x6c]
mov dword [esp + 0x6c], 0x572840
call fcn.0054dfcb
push 0x572aed
mov ecx, ebp
call fcn.004071e0
lea ecx, [esp + 0xa0]
mov dword [esp + 0x10], ebx
mov byte [esp + 0x1d8], 1
call fcn.00479926
lea ecx, [esp + 0x17c]
mov byte [esp + 0x1d8], 0
call fcn.004298db
lea ecx, [esp + 0x17c]
mov dword [esp + 0x17c], 0x572840
call fcn.0054dfcb
mov eax, ebp
jmp 0x4b70c7
mov eax, dword [esp + 0xa8]
mov esi, dword [eax]
cmp esi, eax
je 0x4b64aa
mov ebx, dword [sym.imp.WSOCK32.dll_inet_addr]
mov edi, edi
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x34]
add eax, 0x1c
cmp ecx, 0x10
jb 0x4b6403
mov eax, dword [eax + 4]
jmp 0x4b6406
add eax, 4
push eax
call ebx
mov ebp, eax
push ebp
call fcn.00503ddc
add esp, 4
test al, al
je 0x4b6493
push str.127.0.0.1
call ebx
cmp eax, ebp
je 0x4b6493
cmp dword [esp + 0x1e4], 3
push 0x572a6c
jne 0x4b644e
mov eax, dword [esi + 8]
add eax, 0x1c
push eax
push 0x572bf8
push edi
push str.AlarmIPAddress
lea ecx, [esp + 0x144]
push ecx
jmp 0x4b6468
mov edx, dword [esi + 8]
add edx, 0x1c
push edx
push 0x572bf8
push edi
push 0x573c04
lea eax, [esp + 0x144]
push eax
call fcn.00403980
mov ecx, eax
add esp, 8
call fcn.004040c0
push eax
call fcn.00403980
add esp, 8
push eax
call fcn.0040b751
add esp, 8
push eax
call fcn.00403980
add esp, 8
inc edi
mov esi, dword [esi]
cmp esi, dword [esp + 0xa8]
jne 0x4b63f0
test edi, edi
jne 0x4b67d5
cmp dword [0x5b21c0], 0x254
jne 0x4b67b8
lea ecx, [esp + 0x1b0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 1
push 2
lea ecx, [esp + 0x28]
call fcn.00404a20
mov edx, dword [esp + 0x1bc]
push 0x572a6c
push str.IPCount0
mov eax, dword [esp + 0x1c2]
push 0x572a4c
mov ecx, dword [esp + 0x1c4]
push 0x572a6c
push 0x572a48
push 0x254
push 0x572a40
push edx
mov edx, dword [esp + 0x1d6]
push 0x572a3c
push eax
mov eax, dword [esp + 0x1da]
push 0x572a3c
push ecx
mov ecx, dword [esp + 0x1e0]
push 0x572a38
push edx
push 0x572a34
push eax
push 0x572a34
push ecx
push 0x572a38
push 0x78f
push 0x572a3c
push 0x5c
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x88], esp
push 0x14
xor edi, edi
mov bl, 5
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], edi
push str..WatchClientDlg.cpp
mov byte [esp + 0x254], bl
mov byte [ecx + 4], 0
call fcn.00404640
lea edx, [esp + 0x130]
push edx
call fcn.00407150
add esp, 0x24
mov ecx, dword [eax + 0x18]
mov esi, 0x10
cmp ecx, esi
mov byte [esp + 0x22c], 6
jb 0x4b65ac
mov eax, dword [eax + 4]
jmp 0x4b65af
add eax, 4
push eax
lea eax, [esp + 0x78]
push 0x572a0c
push eax
call fcn.00403980
add esp, 8
push eax
call fcn.00403980
add esp, 8
push eax
call fcn.00403980
add esp, 8
mov ecx, eax
call fcn.004040c0
push eax
call fcn.00403980
add esp, 8
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
add esp, 8
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
add esp, 8
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
add esp, 8
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
add esp, 8
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
add esp, 8
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
add esp, 8
mov ecx, eax
call fcn.004040c0
push eax
call fcn.00403980
add esp, 8
push eax
call fcn.00403980
add esp, 8
push eax
call fcn.00403980
add esp, 8
push eax
call fcn.00403980
add esp, 8
push eax
call fcn.00403980
mov eax, dword [esp + 0xdc]
add esp, 8
cmp eax, esi
mov byte [esp + 0x1d8], bl
jb 0x4b669a
mov ecx, dword [esp + 0xc0]
push ecx
call fcn.0055047a
add esp, 4
lea edx, [esp + 0x20]
push edx
call fcn.00407930
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 4]
lea eax, [esp + 0x70]
add esp, 4
mov dword [esp + 0xb8], eax
mov dword [esp + edx + 0x20], 0x572924
lea eax, [esp + 0x24]
mov dword [esp + 0x1c], eax
test byte [esp + 0x64], 1
mov dword [esp + 0x24], 0x5728a0
je 0x4b66e7
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx]
push eax
call fcn.0055047a
add esp, 4
mov edx, dword [esp + 0x34]
mov dword [edx], edi
mov eax, dword [esp + 0x44]
mov dword [eax], edi
mov ecx, dword [esp + 0x54]
mov dword [ecx], edi
mov edx, dword [esp + 0x38]
mov dword [edx], edi
mov eax, dword [esp + 0x48]
mov dword [eax], edi
mov ecx, dword [esp + 0x58]
mov dword [ecx], edi
mov edx, dword [esp + 0x64]
and edx, 0xfffffffe
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edx
mov dword [esp + 0x24], 0x57286c
mov eax, dword [esp + 0x5c]
cmp eax, edi
mov byte [esp + 0x1d8], 8
mov ebx, eax
je 0x4b677f
mov esi, dword [eax]
cmp esi, edi
je 0x4b6776
push edi
lea ecx, [esp + 0x18]
call fcn.0054db25
mov eax, dword [esi + 4]
cmp eax, edi
jbe 0x4b6754
cmp eax, 0xffffffff
jae 0x4b6754
dec eax
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
xor edx, edx
cmp eax, edi
setne dl
lea ecx, [esp + 0x14]
dec edx
and esi, edx
call fcn.0054db48
cmp esi, edi
je 0x4b6776
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
push ebx
call fcn.0055047a
add esp, 4
lea ecx, [esp + 0x28]
mov byte [esp + 0x1d8], 7
call fcn.0054e238
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 4]
mov dword [esp + edx + 0x20], 0x57283c
lea ecx, [esp + 0x6c]
mov byte [esp + 0x1d8], 2
mov dword [esp + 0x6c], 0x572840
call fcn.0054dfcb
mov esi, dword [esp + 0x18]
push 0x572aed
mov ecx, esi
call fcn.004071e0
mov dword [esp + 0x10], 1
jmp 0x4b7086
mov eax, dword [esp + 0x1e4]
push 0x572a6c
mov esi, 3
cmp eax, esi
push edi
push 0x572bf8
jne 0x4b67ff
push str.AlarmIPCount
lea eax, [esp + 0x140]
push eax
jmp 0x4b680c
push str.IPCount
lea ecx, [esp + 0x140]
push ecx
call fcn.00403980
add esp, 8
push eax
call fcn.00403980
mov ecx, eax
add esp, 8
call fcn.004040c0
push eax
call fcn.00403980
mov ebx, 1
mov dword [esp + 0x10c], esi
mov eax, 6
mov esi, 2
lea edx, [esp + 0x108]
add esp, 8
lea ecx, [esp + 0xa0]
mov dword [esp + 0x100], ebx
mov dword [esp + 0x108], eax
mov dword [esp + 0x10c], ebx
mov dword [esp + 0x110], esi
mov dword [esp + 0x114], ebx
mov dword [esp + 0x118], esi
mov dword [esp + 0x11c], esi
mov dword [esp + 0x120], ebx
mov dword [esp + 0x124], eax
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb4], 0xa
call fcn.00479959
test eax, eax
jne 0x4b6b37
cmp dword [0x5b21c0], 0x254
jne 0x4b7000
lea eax, [esp + 0x1b0]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push ebx
push esi
lea ecx, [esp + 0x28]
call fcn.00404a20
mov ecx, dword [esp + 0x1bc]
push 0x572a6c
push str.GetSNMPNextValue
mov edx, dword [esp + 0x1c2]
push 0x572a4c
mov eax, dword [esp + 0x1c4]
push 0x572a6c
push 0x572a48
push 0x254
push 0x572a40
push ecx
mov ecx, dword [esp + 0x1d6]
push 0x572a3c
push edx
mov edx, dword [esp + 0x1da]
push 0x572a3c
push eax
mov eax, dword [esp + 0x1e0]
push 0x572a38
push ecx
push 0x572a34
push edx
push 0x572a34
push eax
push 0x572a38
push 0x79e
push 0x572a3c
push 0x5c
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x90], esp
push 0x14
xor edi, edi
mov bl, 9
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], edi
push str..WatchClientDlg.cpp
mov byte [esp + 0x254], bl
mov byte [ecx + 4], 0
call fcn.00404640
lea ecx, [esp + 0x130]
push ecx
call fcn.00407150
add esp, 0x24
mov ecx, dword [eax + 0x18]
mov esi, 0x10
cmp ecx, esi
mov byte [esp + 0x22c], 0xa
jb 0x4b69af
mov eax, dword [eax + 4]
jmp 0x4b69b2
add eax, 4
push eax
lea edx, [esp + 0x78]
push 0x572a0c
push edx
call fcn.00403980
add esp, 8
push eax
call fcn.00403980
add esp, 8
push eax
call fcn.00403980
add esp, 8
mov ecx, eax
call fcn.004040c0
push eax
call fcn.00403980
add esp, 8
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
add esp, 8
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
add esp, 8
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
add esp, 8
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
add esp, 8
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
add esp, 8
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
add esp, 8
mov ecx, eax
call fcn.004040c0
push eax
call fcn.00403980
add esp, 8
push eax
call fcn.00403980
add esp, 8
push eax
call fcn.00403980
add esp, 8
push eax
call fcn.00403980
add esp, 8
push eax
call fcn.00403980
mov eax, dword [esp + 0xdc]
add esp, 8
cmp eax, esi
mov byte [esp + 0x1d8], bl
jb 0x4b6a9d
mov eax, dword [esp + 0xc0]
push eax
call fcn.0055047a
add esp, 4
lea ecx, [esp + 0x20]
push ecx
call fcn.00407930
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 4]
lea edx, [esp + 0x70]
add esp, 4
mov dword [esp + 0x1c], edx
mov dword [esp + ecx + 0x20], 0x572924
test byte [esp + 0x64], 1
mov byte [esp + 0x1d8], 0xb
mov dword [esp + 0x24], 0x5728a0
je 0x4b6ae7
mov edx, dword [esp + 0x34]
mov eax, dword [edx]
push eax
call fcn.0055047a
add esp, 4
mov eax, dword [esp + 0x34]
mov dword [eax], edi
mov ecx, dword [esp + 0x44]
mov dword [ecx], edi
mov edx, dword [esp + 0x54]
mov dword [edx], edi
mov eax, dword [esp + 0x38]
mov dword [eax], edi
mov ecx, dword [esp + 0x48]
mov dword [ecx], edi
mov edx, dword [esp + 0x58]
mov dword [edx], edi
mov eax, dword [esp + 0x64]
and eax, 0xfffffffe
lea ecx, [esp + 0x24]
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], eax
call fcn.00401b90
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x20], 0x57283c
jmp 0x4b6fe2
mov eax, dword [esp + 0xa8]
mov esi, dword [eax]
xor edi, edi
cmp esi, eax
mov ebp, 0x10
je 0x4b6c95
mov bl, 0xc
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x34]
add eax, 0x1c
cmp ecx, ebp
jb 0x4b6b63
mov eax, dword [eax + 4]
jmp 0x4b6b66
add eax, 4
mov edx, dword [esi + 8]
mov ecx, dword [edx + 0x30]
push 4
push eax
push ecx
lea eax, [esp + 0x1bc]
push eax
call fcn.0050495c
add esp, 0x10
mov eax, dword [esp + 0x1c4]
test eax, eax
mov byte [esp + 0x1d8], bl
je 0x4b6c42
push 0xa
push 0
push str.005056C000
lea ecx, [esp + 0x1bc]
call fcn.0040b695
test eax, eax
jge 0x4b6c42
cmp dword [esp + 0x1e4], 3
push 0x572a6c
jne 0x4b6bdf
lea ecx, [esp + 0x1b4]
push ecx
push 0x572bf8
push edi
push str.AlarmMACAddress
lea edx, [esp + 0x144]
push edx
jmp 0x4b6bfa
lea eax, [esp + 0x1b4]
push eax
push 0x572bf8
push edi
push str.MACAddress
lea ecx, [esp + 0x144]
push ecx
call fcn.00403980
mov ecx, eax
add esp, 8
call fcn.004040c0
push eax
call fcn.00403980
add esp, 8
push eax
call fcn.0040b751
add esp, 8
push eax
call fcn.00403980
mov eax, dword [esp + 0x1d0]
add esp, 8
inc edi
cmp eax, ebp
mov byte [esp + 0x1d8], 2
jb 0x4b6c63
mov edx, dword [esp + 0x1b4]
push edx
jmp 0x4b6c5b
cmp dword [esp + 0x1c8], ebp
mov byte [esp + 0x1d8], 2
jb 0x4b6c63
mov eax, dword [esp + 0x1b4]
push eax
call fcn.0055047a
add esp, 4
mov esi, dword [esi]
cmp esi, dword [esp + 0xa8]
mov dword [esp + 0x1c8], 0xf
mov dword [esp + 0x1c4], 0
mov byte [esp + 0x1b4], 0
jne 0x4b6b51
mov ebx, 1
cmp dword [esp + 0x1e4], 3
push 0x572a6c
push edi
push 0x572bf8
jne 0x4b6cb9
push str.AlarmMACCount
lea ecx, [esp + 0x140]
push ecx
jmp 0x4b6cc6
push str.MACCount
lea edx, [esp + 0x140]
push edx
call fcn.00403980
add esp, 8
push eax
call fcn.00403980
mov ecx, eax
add esp, 8
call fcn.004040c0
push eax
call fcn.00403980
add esp, 8
test edi, edi
jne 0x4b7016
cmp dword [0x5b21c0], 0x254
jne 0x4b7000
lea eax, [esp + 0x1b0]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 1
push 2
lea ecx, [esp + 0x28]
call fcn.00404a20
mov ecx, dword [esp + 0x1bc]
push 0x572a6c
push str.MACCount0
mov edx, dword [esp + 0x1c2]
push 0x572a4c
mov eax, dword [esp + 0x1c4]
push 0x572a6c
push 0x572a48
push 0x254
push 0x572a40
push ecx
mov ecx, dword [esp + 0x1d6]
push 0x572a3c
push edx
mov edx, dword [esp + 0x1da]
push 0x572a3c
push eax
mov eax, dword [esp + 0x1e0]
push 0x572a38
push ecx
push 0x572a34
push edx
push 0x572a34
push eax
push 0x572a38
push 0x7b9
push 0x572a3c
push 0x5c
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x90], esp
push 0x14
mov bl, 0xd
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], edi
push str..WatchClientDlg.cpp
mov byte [esp + 0x254], bl
mov byte [ecx + 4], 0
call fcn.00404640
lea ecx, [esp + 0x130]
push ecx
call fcn.00407150
add esp, 0x24
mov ecx, dword [eax + 0x18]
mov esi, 0x10
cmp ecx, esi
mov byte [esp + 0x22c], 0xe
jb 0x4b6def
mov eax, dword [eax + 4]
jmp 0x4b6df2
add eax, 4
push eax
lea edx, [esp + 0x78]
push 0x572a0c
push edx
call fcn.00403980
add esp, 8
push eax
call fcn.00403980
add esp, 8
push eax
call fcn.00403980
add esp, 8
mov ecx, eax
call fcn.004040c0
push eax
call fcn.00403980
add esp, 8
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
add esp, 8
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
add esp, 8
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
add esp, 8
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
add esp, 8
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
add esp, 8
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
add esp, 8
mov ecx, eax
call fcn.004040c0
push eax
call fcn.00403980
add esp, 8
push eax
call fcn.00403980
add esp, 8
push eax
call fcn.00403980
add esp, 8
push eax
call fcn.00403980
add esp, 8
push eax
call fcn.00403980
mov eax, dword [esp + 0xdc]
add esp, 8
cmp eax, esi
mov byte [esp + 0x1d8], bl
jb 0x4b6edd
mov eax, dword [esp + 0xc0]
push eax
call fcn.0055047a
add esp, 4
lea ecx, [esp + 0x20]
push ecx
call fcn.00407930
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 4]
lea edx, [esp + 0x70]
add esp, 4
mov dword [esp + 0x1c], edx
mov dword [esp + ecx + 0x20], 0x572924
test byte [esp + 0x64], 1
lea edx, [esp + 0x24]
mov dword [esp + 0xb8], edx
mov dword [esp + 0x24], 0x5728a0
je 0x4b6f2a
mov eax, dword [esp + 0x34]
mov eax, dword [eax]
push eax
call fcn.0055047a
add esp, 4
mov ecx, dword [esp + 0x34]
mov dword [ecx], edi
mov edx, dword [esp + 0x44]
mov dword [edx], edi
mov eax, dword [esp + 0x54]
mov dword [eax], edi
mov ecx, dword [esp + 0x38]
mov dword [ecx], edi
mov edx, dword [esp + 0x48]
mov dword [edx], edi
mov eax, dword [esp + 0x58]
mov dword [eax], edi
mov edx, dword [esp + 0x64]
and edx, 0xfffffffe
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edx
mov dword [esp + 0x24], 0x57286c
mov eax, dword [esp + 0x5c]
cmp eax, edi
mov byte [esp + 0x1d8], 0x10
mov ebx, eax
je 0x4b6fc2
mov esi, dword [eax]
cmp esi, edi
je 0x4b6fb9
push edi
lea ecx, [esp + 0x18]
call fcn.0054db25
mov eax, dword [esi + 4]
cmp eax, edi
jbe 0x4b6f97
cmp eax, 0xffffffff
jae 0x4b6f97
dec eax
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
xor ecx, ecx
cmp eax, edi
setne cl
dec ecx
and esi, ecx
lea ecx, [esp + 0x14]
call fcn.0054db48
cmp esi, edi
je 0x4b6fb9
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
push ebx
call fcn.0055047a
add esp, 4
lea ecx, [esp + 0x28]
mov byte [esp + 0x1d8], 0xf
call fcn.0054e238
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x20], 0x57283c
lea ecx, [esp + 0x6c]
mov byte [esp + 0x1d8], 2
mov dword [esp + 0x6c], 0x572840
call fcn.0054dfcb
mov ebx, 1
mov esi, dword [esp + 0x18]
push 0x572aed
mov ecx, esi
call fcn.004071e0
mov dword [esp + 0x10], ebx
jmp 0x4b7086
lea edx, [esp + 0x1b0]
push edx
lea ecx, [esp + 0x12c]
call fcn.0042b8d0
cmp dword [eax + 0x18], ebp
mov byte [esp + 0x1d8], 0x11
jb 0x4b703c
mov eax, dword [eax + 4]
jmp 0x4b703f
add eax, 4
mov esi, dword [esp + 0x18]
push eax
mov ecx, esi
call fcn.004071e0
cmp dword [esp + 0x1c8], ebp
mov dword [esp + 0x10], ebx
jb 0x4b7068
mov eax, dword [esp + 0x1b4]
push eax
call fcn.0055047a
add esp, 4
mov dword [esp + 0x1c8], 0xf
mov dword [esp + 0x1c4], 0
mov byte [esp + 0x1b4], 0
lea ecx, [esp + 0xa0]
mov byte [esp + 0x1d8], 1
call fcn.00479926
lea ecx, [esp + 0x17c]
mov byte [esp + 0x1d8], 0
call fcn.004298db
lea ecx, [esp + 0x17c]
mov dword [esp + 0x17c], 0x572840
call fcn.0054dfcb
mov eax, esi
mov ecx, dword [esp + 0x1d0]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x1c4]
pop ebp
pop ebx
xor ecx, esp
call fcn.0053aaae
add esp, 0x1cc
ret