Function at 0x4b4fb0
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5694e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c0
mov eax, dword [0x5af710]
push ebx
mov ebx, dword [ebp + 8]
xor eax, ebp
push esi
xor esi, esi
mov dword [esp + 0x5c0], eax
mov dword [esp + 0x38], esi
cmp dword [0x5b21d8], esi
push edi
mov dword [esp + 0x18], ebx
jne 0x4b5225
cmp dword [0x5b21c0], 0x254
jne 0x4b5212
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 1
push 2
lea ecx, [esp + 0x168]
call fcn.00404a20
mov ecx, dword [esp + 0x4c]
push 0x572a6c
push str.Netbios
mov edx, dword [esp + 0x52]
push 0x572a4c
mov eax, dword [esp + 0x54]
push 0x572a6c
push 0x572a48
push 0x254
push 0x572a40
push ecx
mov ecx, dword [esp + 0x66]
push 0x572a3c
push edx
mov edx, dword [esp + 0x6a]
push 0x572a3c
push eax
mov eax, dword [esp + 0x70]
push 0x572a38
push ecx
push 0x572a34
push edx
push 0x572a34
push eax
push 0x572a38
push 0x6e0
push 0x572a3c
push 0x5c
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x90], esp
push 0x14
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], esi
push str..WatchClientDlg.cpp
mov dword [esp + 0x650], 1
mov byte [ecx + 4], 0
call fcn.00404640
lea ecx, [esp + 0x94]
push ecx
call fcn.00407150
add esp, 0x24
mov ecx, dword [eax + 0x18]
mov edi, 0x10
cmp ecx, edi
mov byte [esp + 0x628], 2
jb 0x4b50eb
mov eax, dword [eax + 4]
jmp 0x4b50ee
add eax, 4
push eax
lea edx, [esp + 0x1b8]
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 + 0x40]
add esp, 8
cmp eax, edi
mov byte [esp + 0x5d4], 1
jb 0x4b51d7
mov eax, dword [esp + 0x24]
push eax
call fcn.0055047a
add esp, 4
lea ecx, [esp + 0x160]
push ecx
call fcn.00407930
add esp, 4
lea ecx, [esp + 0x1ac]
mov byte [esp + 0x5d4], 0
call fcn.004028d0
lea ecx, [esp + 0x1ac]
mov dword [esp + 0x1ac], 0x572840
call fcn.0054dfcb
push 0x572aed
mov ecx, ebx
call fcn.004071e0
mov eax, ebx
jmp 0x4b6059
mov ebx, 0x10
xor eax, eax
mov ecx, ebx
lea edi, [esp + 0x578]
rep stosd dword es:[edi], eax
push 0x40
lea edx, [esp + 0x57c]
push edx
stosb byte es:[edi], al
call dword [sym.imp.WSOCK32.dll_gethostname]
test eax, eax
je 0x4b541b
cmp dword [0x5b21c0], 0x254
jne 0x4b564e
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 1
push 2
lea ecx, [esp + 0xe8]
call fcn.00404a20
mov ecx, dword [esp + 0x2c]
push 0x572a6c
push str.gethostname
mov edx, dword [esp + 0x32]
push 0x572a4c
mov eax, dword [esp + 0x34]
push 0x572a6c
push 0x572a48
push 0x254
push 0x572a40
push ecx
mov ecx, dword [esp + 0x46]
push 0x572a3c
push edx
mov edx, dword [esp + 0x4a]
push 0x572a3c
push eax
mov eax, dword [esp + 0x50]
push 0x572a38
push ecx
push 0x572a34
push edx
push 0x572a34
push eax
push 0x572a38
push 0x6e7
push 0x572a3c
push 0x5c
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x90], esp
push 0x14
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], esi
push str..WatchClientDlg.cpp
mov dword [esp + 0x650], 3
mov byte [ecx + 4], 0
call fcn.00404640
lea ecx, [esp + 0xb4]
push ecx
call fcn.00407150
add esp, 0x24
cmp dword [eax + 0x18], ebx
mov byte [esp + 0x628], 4
jb 0x4b5339
mov eax, dword [eax + 4]
jmp 0x4b533c
add eax, 4
push eax
lea edx, [esp + 0x138]
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 + 0x60]
add esp, 8
mov byte [esp + 0x5d4], 3
cmp eax, ebx
jmp 0x4b5604
lea edx, [esp + 0x578]
push edx
call dword [sym.imp.WSOCK32.dll_gethostbyname]
mov ebx, eax
cmp ebx, esi
mov dword [esp + 0x10], ebx
jne 0x4b5663
cmp dword [0x5b21c0], 0x254
jne 0x4b564e
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 1
push 2
lea ecx, [esp + 0xe8]
call fcn.00404a20
mov ecx, dword [esp + 0x2c]
push 0x572a6c
push str.gethostbyname
mov edx, dword [esp + 0x32]
push 0x572a4c
mov eax, dword [esp + 0x34]
push 0x572a6c
push 0x572a48
push 0x254
push 0x572a40
push ecx
mov ecx, dword [esp + 0x46]
push 0x572a3c
push edx
mov edx, dword [esp + 0x4a]
push 0x572a3c
push eax
mov eax, dword [esp + 0x50]
push 0x572a38
push ecx
push 0x572a34
push edx
push 0x572a34
push eax
push 0x572a38
push 0x6ee
push 0x572a3c
push 0x5c
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x90], esp
push 0x14
mov ebx, 5
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], esi
push str..WatchClientDlg.cpp
mov dword [esp + 0x650], ebx
mov byte [ecx + 4], 0
call fcn.00404640
lea ecx, [esp + 0xb4]
push ecx
call fcn.00407150
add esp, 0x24
mov ecx, dword [eax + 0x18]
mov esi, 0x10
cmp ecx, esi
mov byte [esp + 0x628], 6
jb 0x4b5528
mov eax, dword [eax + 4]
jmp 0x4b552b
add eax, 4
push eax
lea edx, [esp + 0x138]
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 + 0x60]
add esp, 8
mov byte [esp + 0x5d4], bl
cmp eax, esi
jb 0x4b5613
mov eax, dword [esp + 0x44]
push eax
call fcn.0055047a
add esp, 4
lea ecx, [esp + 0xe0]
push ecx
call fcn.00407930
add esp, 4
lea ecx, [esp + 0x12c]
mov byte [esp + 0x5d4], 0
call fcn.004028d0
lea ecx, [esp + 0x12c]
mov dword [esp + 0x12c], 0x572840
call fcn.0054dfcb
mov esi, dword [esp + 0x18]
push 0x572aed
mov ecx, esi
call fcn.004071e0
jmp 0x4b6057
push 1
push 2
lea ecx, [esp + 0x68]
call fcn.00404a20
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax]
xor edi, edi
cmp ecx, esi
mov dword [esp + 0x5d4], 7
mov dword [esp + 0x14], esi
je 0x4b57b0
xor ecx, ecx
mov ebx, dword [eax + ecx]
mov dl, byte [ebx]
cmp dl, 0x7f
je 0x4b5788
test dl, dl
je 0x4b5788
cmp dl, 0xa9
jne 0x4b56b5
cmp byte [ebx + 1], 0xfe
je 0x4b5788
cmp dword [ebp + 0xc], 3
push 2
jne 0x4b571b
mov edx, dword [eax + ecx]
mov eax, dword [edx]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.005048e9
add esp, 0xc
push 0x572a6c
push eax
push 0x572bf8
push edi
lea edx, [esp + 0x70]
push str.AlarmIPAddress
push edx
mov byte [esp + 0x5ec], 8
call fcn.00403980
add esp, 8
mov ecx, eax
call fcn.004040c0
push eax
call fcn.00403980
add esp, 8
push eax
call fcn.0040b751
add esp, 8
push eax
call fcn.00403980
lea ecx, [esp + 0x28]
jmp 0x4b5777
mov eax, dword [eax + ecx]
mov ecx, dword [eax]
push ecx
lea edx, [esp + 0x48]
push edx
call fcn.005048e9
add esp, 0xc
push 0x572a6c
push eax
push 0x572bf8
push edi
lea eax, [esp + 0x70]
push 0x573c04
push eax
mov byte [esp + 0x5ec], 9
call fcn.00403980
add esp, 8
mov ecx, eax
call fcn.004040c0
push eax
call fcn.00403980
add esp, 8
push eax
call fcn.0040b751
add esp, 8
push eax
call fcn.00403980
lea ecx, [esp + 0x48]
add esp, 8
mov byte [esp + 0x5d4], 7
call fcn.004f5270
inc edi
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
inc eax
lea ecx, [eax*4]
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0xc]
cmp dword [eax + ecx], esi
jne 0x4b5690
cmp edi, esi
jne 0x4b59fd
cmp dword [0x5b21c0], 0x254
mov edi, 0x572840
jne 0x4b59c5
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 1
push 2
lea ecx, [esp + 0xe8]
call fcn.00404a20
mov ecx, dword [esp + 0x2c]
push 0x572a6c
push str.IPCount0
mov edx, dword [esp + 0x32]
push 0x572a4c
mov eax, dword [esp + 0x34]
push 0x572a6c
push 0x572a48
push 0x254
push 0x572a40
push ecx
mov ecx, dword [esp + 0x46]
push 0x572a3c
push edx
mov edx, dword [esp + 0x4a]
push 0x572a3c
push eax
mov eax, dword [esp + 0x50]
push 0x572a38
push ecx
push 0x572a34
push edx
push 0x572a34
push eax
push 0x572a38
push 0x70e
push 0x572a3c
push 0x5c
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x90], esp
push 0x14
mov bl, 0xa
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], esi
push str..WatchClientDlg.cpp
mov byte [esp + 0x650], bl
mov byte [ecx + 4], 0
call fcn.00404640
lea ecx, [esp + 0xb4]
push ecx
call fcn.00407150
add esp, 0x24
mov ecx, dword [eax + 0x18]
mov esi, 0x10
cmp ecx, esi
mov byte [esp + 0x628], 0xb
jb 0x4b58a3
mov eax, dword [eax + 4]
jmp 0x4b58a6
add eax, 4
push eax
lea edx, [esp + 0x138]
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 + 0x60]
add esp, 8
cmp eax, esi
mov byte [esp + 0x5d4], bl
jb 0x4b598e
mov eax, dword [esp + 0x44]
push eax
call fcn.0055047a
add esp, 4
lea ecx, [esp + 0xe0]
push ecx
call fcn.00407930
add esp, 4
lea ecx, [esp + 0x12c]
mov byte [esp + 0x5d4], 7
call fcn.004028d0
lea ecx, [esp + 0x12c]
mov dword [esp + 0x12c], edi
call fcn.0054dfcb
mov esi, dword [esp + 0x18]
push 0x572aed
mov ecx, esi
call fcn.004071e0
lea ecx, [esp + 0xac]
mov dword [esp + 0x3c], 1
mov byte [esp + 0x5d4], 0
call fcn.004028d0
mov dword [esp + 0xac], edi
jmp 0x4b604b
cmp dword [ebp + 0xc], 3
push 0x572a6c
push edi
push 0x572bf8
jne 0x4b5a1a
push str.AlarmIPCount
lea edx, [esp + 0x70]
push edx
jmp 0x4b5a24
push str.IPCount
lea eax, [esp + 0x70]
push eax
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 dword [esp + 0x24], edi
xor eax, eax
mov ecx, 0x10
lea edi, [esp + 0x1e8]
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0x228]
add esp, 8
rep stosd dword es:[edi], eax
lea edx, [esp + 0x1e0]
lea ecx, [esp + 0x220]
push edx
mov byte [esp + 0x1e4], 0x37
mov dword [esp + 0x1e8], ecx
mov word [esp + 0x1ec], 0x100
call dword [0x5b21d8]
test al, al
jne 0x4b5fc6
mov cl, byte [esp + 0x220]
xor eax, eax
test cl, cl
mov dword [esp + 0x14], eax
jbe 0x4b5c5c
jmp 0x4b5ac0
mov eax, dword [esp + 0x14]
jmp 0x4b5ac0
cmp eax, dword [esp + 0x1c]
jge 0x4b5c5c
movzx ebx, byte [esp + eax + 0x221]
xor eax, eax
mov ecx, 0x96
lea edi, [esp + 0x320]
rep stosd dword es:[edi], eax
mov ecx, 0x10
lea edi, [esp + 0x160]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x160]
push eax
mov byte [esp + 0x164], 0x32
mov byte [esp + 0x194], bl
call dword [0x5b21d8]
test al, al
jne 0x4b5c43
xor eax, eax
mov ecx, 0x10
lea edi, [esp + 0x160]
rep stosd dword es:[edi], eax
lea edx, [esp + 0x160]
lea ecx, [esp + 0x320]
push edx
mov byte [esp + 0x164], 0x33
mov byte [esp + 0x194], bl
mov word [esp + 0x16e], 0x2a
mov dword [esp + 0x168], ecx
mov word [esp + 0x16c], 0x258
call dword [0x5b21d8]
test al, al
jne 0x4b5c43
push 4
lea eax, [esp + 0x324]
push eax
lea ecx, [esp + 0x28]
push 6
push ecx
call fcn.0050495c
add esp, 0x10
cmp dword [eax + 0x18], 0x10
mov byte [esp + 0x5d4], 0xc
jb 0x4b5b98
mov eax, dword [eax + 4]
jmp 0x4b5b9b
add eax, 4
push eax
lea ecx, [esp + 0x14]
call fcn.004071e0
lea ecx, [esp + 0x20]
mov byte [esp + 0x5d4], 0xe
call fcn.004f5270
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 0xc]
test eax, eax
jl 0x4b5bdf
push str.005056C000
push ecx
call fcn.0053d584
mov ecx, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x4b5bdf
sub eax, ecx
mov dword [esp + 0x5c], eax
je 0x4b5c32
cmp dword [ebp + 0xc], 3
push 0x572a6c
push ecx
push 0x572bf8
push esi
jne 0x4b5bfd
push str.AlarmMACAddress
lea edx, [esp + 0x74]
push edx
jmp 0x4b5c07
push str.MACAddress
lea eax, [esp + 0x74]
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.00403980
add esp, 8
push eax
call fcn.00403980
add esp, 8
inc esi
lea ecx, [esp + 0x10]
mov byte [esp + 0x5d4], 7
call fcn.00402200
mov eax, dword [esp + 0x14]
movzx ecx, byte [esp + 0x220]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x4b5ab4
cmp dword [ebp + 0xc], 3
push 0x572a6c
push esi
push 0x572bf8
jne 0x4b5c79
push str.AlarmMACCount
lea edx, [esp + 0x70]
push edx
jmp 0x4b5c83
push str.MACCount
lea eax, [esp + 0x70]
push eax
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 esi, esi
jne 0x4b5fc6
cmp dword [0x5b21c0], 0x254
mov edi, 0x572840
jne 0x4b5f8e
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 1
push 2
lea ecx, [esp + 0x168]
call fcn.00404a20
mov edx, dword [esp + 0x2c]
push 0x572a6c
push str.MACCount0
mov eax, dword [esp + 0x32]
push 0x572a4c
mov ecx, dword [esp + 0x34]
push 0x572a6c
push 0x572a48
push 0x254
push 0x572a40
push edx
mov edx, dword [esp + 0x46]
push 0x572a3c
push eax
mov eax, dword [esp + 0x4a]
push 0x572a3c
push ecx
mov ecx, dword [esp + 0x50]
push 0x572a38
push edx
push 0x572a34
push eax
push 0x572a34
push ecx
push 0x572a38
push 0x764
push 0x572a3c
push 0x5c
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0xd0], esp
mov ebx, 0xf
push 0x14
mov dword [ecx + 0x18], ebx
mov dword [ecx + 0x14], esi
push str..WatchClientDlg.cpp
mov byte [esp + 0x650], bl
mov byte [ecx + 4], 0
call fcn.00404640
lea edx, [esp + 0xb4]
push edx
call fcn.00407150
add esp, 0x24
mov ecx, dword [eax + 0x18]
mov esi, 0x10
cmp ecx, esi
mov byte [esp + 0x628], 0x10
jb 0x4b5d9e
mov eax, dword [eax + 4]
jmp 0x4b5da1
add eax, 4
push eax
lea eax, [esp + 0x1b8]
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 + 0x60]
add esp, 8
cmp eax, esi
mov byte [esp + 0x5d4], bl
jb 0x4b5e89
mov ecx, dword [esp + 0x44]
push ecx
call fcn.0055047a
add esp, 4
lea edx, [esp + 0x160]
push edx
call fcn.00407930
mov ecx, dword [esp + 0x164]
mov edx, dword [ecx + 4]
lea eax, [esp + 0x1b0]
add esp, 4
mov dword [esp + 0x5c], eax
mov dword [esp + edx + 0x160], 0x572924
test byte [esp + 0x1a4], 1
mov byte [esp + 0x5d4], 0x11
mov dword [esp + 0x164], 0x5728a0
je 0x4b5ee8
mov eax, dword [esp + 0x174]
mov eax, dword [eax]
push eax
call fcn.0055047a
add esp, 4
mov ecx, dword [esp + 0x174]
mov dword [ecx], 0
mov edx, dword [esp + 0x184]
mov dword [edx], 0
mov eax, dword [esp + 0x194]
mov dword [eax], 0
mov ecx, dword [esp + 0x178]
mov dword [ecx], 0
mov edx, dword [esp + 0x188]
mov dword [edx], 0
mov eax, dword [esp + 0x198]
mov dword [eax], 0
mov eax, dword [esp + 0x1a4]
and eax, 0xfffffffe
lea ecx, [esp + 0x164]
mov dword [esp + 0x1a0], 0
mov dword [esp + 0x1a4], eax
call fcn.00401b90
mov ecx, dword [esp + 0x160]
mov edx, dword [ecx + 4]
mov dword [esp + edx + 0x160], 0x57283c
lea ecx, [esp + 0x1ac]
mov byte [esp + 0x5d4], 7
mov dword [esp + 0x1ac], edi
call fcn.0054dfcb
mov esi, dword [esp + 0x18]
push 0x572aed
mov ecx, esi
call fcn.004071e0
lea ecx, [esp + 0xac]
mov dword [esp + 0x3c], 1
mov byte [esp + 0x5d4], 0
call fcn.004028d0
mov dword [esp + 0xac], edi
jmp 0x4b604b
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x64]
call fcn.00407320
mov ecx, dword [eax + 0x18]
mov edi, 0x10
cmp ecx, edi
mov byte [esp + 0x5d4], 0x12
jb 0x4b5fed
mov eax, dword [eax + 4]
jmp 0x4b5ff0
add eax, 4
mov esi, dword [esp + 0x18]
push eax
mov ecx, esi
call fcn.004071e0
cmp dword [esp + 0x38], edi
mov dword [esp + 0x3c], 1
jb 0x4b6017
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0055047a
add esp, 4
lea ecx, [esp + 0xac]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], 0
mov byte [esp + 0x24], 0
mov byte [esp + 0x5d4], 0
call fcn.004028d0
mov dword [esp + 0xac], 0x572840
lea ecx, [esp + 0xac]
call fcn.0054dfcb
mov eax, esi
mov ecx, dword [esp + 0x5cc]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x5c4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053aaae
mov esp, ebp
pop ebp
ret