Function at 0x42e270
Capabilities:
Reference cloudflare dns server

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a994f
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x610044]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, esi
mov dword [ebp - 0x24], esi
call fcn.004cca5a
xor ebx, ebx
mov dword [ebp - 4], ebx
push 0x4047e0
push 0x4047f0
push 2
push 0x18
lea eax, [esi + 0xb8]
push eax
mov dword [esi], vtable.CRadarProjectView.0
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x98], ebx
call fcn.0057b431
mov byte [ebp - 4], 1
lea ecx, [esi + 0x110]
call fcn.00463909
mov byte [ebp - 4], 2
lea eax, [esi + 0x120]
mov dword [ebp - 0x14], eax
mov dword [eax], vtable.CGdiObject.0
mov dword [eax + 4], ebx
mov byte [ebp - 4], 3
mov dword [eax], vtable.CBitmap.0
mov byte [ebp - 4], 4
push fcn.00402890
push fcn.00402660
push 0x104
push 4
lea ecx, [esi + 0x134]
push ecx
mov dword [esi + 0x128], ebx
mov dword [esi + 0x12c], 0x4b0
mov dword [esi + 0x130], 0x3e8
call fcn.0057b431
mov byte [ebp - 4], 5
lea eax, [esi + 0x590]
mov ecx, 0x103
mov dword [eax], ebx
mov dword [eax + 4], ebx
add eax, 8
dec ecx
jns 0x42e351
push str.D:FTPHOMEPicture
lea ecx, [esi + 0xdb0]
call fcn.00402570
mov byte [ebp - 4], 6
lea edi, [esi + 0x1160]
push 0xa
lea ecx, [edi + 0x48]
mov dword [ebp - 0x14], edi
call fcn.00441781
mov byte [ebp - 4], 7
lea eax, [edi + 4]
push str.PTRLIST
push eax
mov dword [edi], 0x10
mov dword [edi + 0x44], ebx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
lea eax, [edi + 4]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [edi + 0x44], eax
mov byte [ebp - 4], 8
lea edi, [esi + 0x1230]
mov dword [esi + 0x11c4], ebx
mov dword [esi + 0x11c8], ebx
mov word [esi + 0x11cc], bx
mov dword [esi + 0x11d4], ebx
mov byte [esi + 0x11e0], bl
mov dword [esi + 0x11f0], 1
mov dword [esi + 0x122c], 2
mov dword [ebp - 0x14], edi
call fcn.0044196e
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x42e40b
push 0x80004005
call fcn.004028f0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0xa
lea edi, [esi + 0x1234]
mov dword [ebp - 0x14], edi
call fcn.0044196e
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x42e440
push 0x80004005
call fcn.004028f0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0xc
lea edi, [esi + 0x1238]
mov dword [ebp - 0x14], edi
call fcn.0044196e
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x42e475
push 0x80004005
call fcn.004028f0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0xe
fld dword [0x5e4dd0]
fstp dword [esi + 0x1278]
mov eax, 0x5c
fld dword [0x5e4dcc]
mov dword [esi + 0x1244], eax
fstp dword [esi + 0x127c]
mov dword [esi + 0x124c], eax
fldz
mov dword [esi + 0x1254], 0x32
fst dword [esi + 0x1280]
mov dword [esi + 0x1260], 2
fstp dword [esi + 0x1284]
mov dword [esi + 0x1264], 6
fld dword [0x5e4dc8]
mov dword [esi + 0x126c], 0xfffffffb
fstp dword [esi + 0x1288]
mov dword [esi + 0x1274], 4
mov byte [esi + 0x12d4], bl
mov eax, 0x64
mov dword [esi + 0x1250], eax
mov dword [esi + 0x1258], eax
mov dword [esi + 0x125c], eax
mov eax, 0x28
mov dword [esi + 0x1268], eax
mov dword [esi + 0x1270], eax
mov ecx, 0x50
mov dword [esi + 0x1240], ecx
mov dword [esi + 0x1248], ecx
mov dword [esi + 0x12d8], ebx
mov dword [esi + 0x12dc], ebx
mov dword [esi + 0x12e0], ebx
mov dword [esi + 0x12e4], ebx
lea eax, [esi + 0x1708]
mov dword [esi + 0x12e8], ebx
mov dword [esi + 0x12ec], ebx
mov dword [esi + 0x12f0], ebx
mov dword [esi + 0x12f4], ebx
mov dword [ebp - 0x14], eax
mov dword [eax], vtable.CGdiObject.0
mov dword [eax + 4], ebx
mov ecx, 0xf
mov byte [ebp - 4], cl
mov dword [eax], vtable.CPen.0
mov byte [ebp - 4], 0x10
lea eax, [esi + 0x1710]
mov dword [ebp - 0x14], eax
mov dword [eax], vtable.CGdiObject.0
mov dword [eax + 4], ebx
mov byte [ebp - 4], 0x11
mov dword [eax], vtable.CPen.0
mov byte [ebp - 4], 0x12
lea eax, [esi + 0x1718]
mov dword [ebp - 0x14], eax
mov dword [eax], vtable.CGdiObject.0
mov dword [eax + 4], ebx
mov byte [ebp - 4], 0x13
mov dword [eax], vtable.CPen.0
mov byte [ebp - 4], 0x14
lea eax, [esi + 0x1720]
mov dword [ebp - 0x14], eax
mov dword [eax], vtable.CGdiObject.0
mov dword [eax + 4], ebx
mov byte [ebp - 4], 0x15
mov dword [eax], vtable.CPen.0
mov byte [ebp - 4], 0x16
lea eax, [esi + 0x1774]
mov dword [esi + 0x1728], ebx
mov dword [esi + 0x172c], ebx
mov dword [esi + 0x1730], ebx
mov dword [esi + 0x1734], ebx
mov dword [esi + 0x1738], ebx
mov dword [esi + 0x173c], ebx
mov dword [esi + 0x1740], ebx
mov dword [esi + 0x1744], ebx
mov dword [esi + 0x1748], ebx
mov dword [esi + 0x174c], ebx
mov dword [esi + 0x1750], ebx
mov dword [esi + 0x1754], ebx
mov dword [esi + 0x1758], ebx
mov dword [esi + 0x175c], ebx
mov dword [esi + 0x1760], ebx
mov dword [esi + 0x1764], ebx
mov dword [esi + 0x1768], ebx
mov dword [esi + 0x176c], ebx
mov dword [ebp - 0x14], eax
mov dword [eax], vtable.CGdiObject.0
mov dword [eax + 4], ebx
mov byte [ebp - 4], 0x17
mov dword [eax], vtable.CPen.0
mov byte [ebp - 4], 0x18
lea eax, [esi + 0x177c]
mov dword [ebp - 0x14], eax
mov dword [eax], vtable.CGdiObject.0
mov dword [eax + 4], ebx
mov byte [ebp - 4], 0x19
mov dword [eax], vtable.CPen.0
mov byte [ebp - 4], 0x1a
lea eax, [esi + 0x1784]
mov dword [eax], ebx
mov dword [eax + 4], ebx
add eax, 8
dec ecx
jns 0x42e6a1
mov dword [esi + 0x1808], ebx
mov dword [esi + 0x180c], ebx
mov dword [esi + 0x1810], ebx
mov dword [esi + 0x1814], ebx
mov dword [esi + 0x1818], ebx
mov dword [esi + 0x181c], ebx
mov dword [esi + 0x1820], ebx
mov dword [esi + 0x1824], ebx
mov dword [esi + 0x1828], ebx
mov dword [esi + 0x182c], ebx
lea eax, [esi + 0xb298]
mov ecx, 0xa27
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
add eax, 0x10
dec ecx
jns 0x42e6f3
push fcn.00402890
push fcn.00402660
push 0xa28
push 4
lea ecx, [esi + 0x15518]
push ecx
call fcn.0057b431
mov byte [ebp - 4], 0x1b
push fcn.00402890
push fcn.00402660
push 0x104
push 4
lea edx, [esi + 0x1a658]
push edx
call fcn.0057b431
mov byte [ebp - 4], 0x1c
lea ecx, [esi + 0x1aa78]
mov dword [esi + 0x1aa70], ebx
call dword [sym.imp.Byda_SDK.dll_public:_void___thiscall_CByda_SDK::constructor_void_]
lea edi, [esi + 0x21b80]
mov dword [ebp - 0x14], edi
call fcn.0044196e
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x42e77b
push 0x80004005
call fcn.004028f0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0x1e
lea ecx, [esi + 0x21f40]
push str.1.0.0.1
call fcn.00402570
mov byte [ebp - 4], 0x1f
fld1
fstp dword [esi + 0x21f58]
push ebx
fld dword [0x5e4e10]
push 1
fstp dword [esi + 0x21f5c]
push ebx
fld dword [0x5e4e0c]
push ebx
fstp dword [esi + 0x21f60]
mov byte [esi + 0x21f54], 1
mov dword [esi + 0x21f64], 0x12c
mov byte [esi + 0x21f68], bl
mov dword [esi + 0x21f6c], ebx
mov dword [esi + 0x21f70], ebx
mov dword [esi + 0x21f74], ebx
mov dword [esi + 0x21f78], ebx
mov byte [esi + 0x21f7c], bl
mov dword [esi + 0x8c], 0xd40
mov dword [esi + 0x90], 0x7d0
mov dword [esi + 0x588], ebx
mov dword [esi + 0x58c], ebx
mov dword [esi + 0x584], ebx
mov dword [esi + 0x1304], ebx
mov dword [0x6181d0], esi
mov word [esi + 0x11cc], bx
mov dword [esi + 0x11d4], ebx
mov dword [esi + 0x1aa68], ebx
mov dword [esi + 0x11d0], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0xa0], ebx
mov dword [esi + 0x9c], ebx
mov dword [esi + 0x10c], ebx
mov dword [esi + 0x108], ebx
mov dword [esi + 0xa4], ebx
mov dword [esi + 0x104], ebx
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
push ebx
push ebx
push 1
push ebx
mov dword [esi + 0x104], eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push eax
mov dword [esi + 0xa4], eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
fldz
mov dword [esi + 0x11d8], ebx
mov dword [esi + 0x11dc], ebx
mov dword [esi + 0xb0], ebx
mov dword [esi + 0xb4], ebx
push 0xff
xor eax, eax
lea edi, [esi + 0x1838]
mov ecx, 0x104
rep stosd dword es:[edi], eax
fst dword [esi + 0xf0]
fstp dword [esi + 0xf4]
mov edi, dword [sym.imp.GDI32.dll_CreatePen]
push 2
push ebx
mov byte [esi + 0x11e0], 1
mov dword [esi + 0xa8], 1
mov dword [esi + 0x1aa6c], ebx
mov dword [esi + 0x100], ebx
call edi
push eax
lea ecx, [esi + 0x1708]
call fcn.0046430d
push 0xff0000
push 2
push ebx
call edi
push eax
lea ecx, [esi + 0x1710]
call fcn.0046430d
push 0x80ff
push 1
push ebx
call edi
push eax
lea ecx, [esi + 0x1718]
call fcn.0046430d
push 0xff00
push 1
push ebx
call edi
push eax
lea ecx, [esi + 0x1720]
call fcn.0046430d
push 0xffff
push 1
push ebx
call edi
push eax
lea ecx, [esi + 0x1774]
call fcn.0046430d
push 0xff008b
push 2
push ebx
call edi
push eax
lea ecx, [esi + 0x177c]
call fcn.0046430d
mov eax, dword [esi + 0x21b78]
mov byte [esi + 0x12d4], bl
mov byte [esi + 0xf8], bl
mov dword [esi + 0xac], ebx
mov dword [esi + 0x12f8], ebx
cmp eax, ebx
je 0x42e99f
cmp eax, 1
je 0x42e99f
mov dword [esi + 0x1300], ebx
jmp 0x42e9ab
call dword [sym.imp.RoseekImgProcessLib.dll_RoseekCreateOneIMGUtilObj]
mov dword [esi + 0x1300], eax
push 0x57e400
call fcn.0044068c
lea edi, [esi + 0x1aa74]
add esp, 4
mov dword [esi + 0x12fc], eax
mov dword [edi], ebx
call fcn.0044196e
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x42e9e0
push 0x80004005
call fcn.004028f0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0x21
push 0x280
lea ecx, [ebp - 0x18]
push str.0x_X
push ecx
call fcn.00402010
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
add esp, 0xc
or ecx, eax
jge 0x42ea27
push ebx
lea ecx, [ebp - 0x18]
call fcn.00402380
mov edx, dword [ebp - 0x18]
push edi
push str.0x_X
push edx
call fcn.0057c792
push 0x40
lea edx, [esi + 0x544]
push ebx
push edx
call fcn.0057da80
push 0x3c
mov dword [esi + 0x1058], ebx
mov dword [esi + 0x21b40], ebx
mov dword [esi + 0x21b28], ebx
mov dword [esi + 0x94], ebx
mov dword [esi + 0x21b38], ebx
mov dword [esi + 0x21b3c], ebx
mov dword [esi + 0x21b44], ebx
mov dword [esi + 0x1048], ebx
mov dword [esi + 0x104c], ebx
mov dword [esi + 0x1054], ebx
mov dword [esi + 0x1050], ebx
mov dword [esi + 0x21b48], ebx
mov dword [esi + 0x21b4c], ebx
mov dword [esi + 0x21b50], 5
call fcn.0044068c
push 0x3c
push ebx
push eax
mov dword [esi + 0x21b74], eax
call fcn.0057da80
mov dword [esi + 0x21b7c], ebx
mov dword [esi + 0x21b84], ebx
mov dword [esi + 0x21b88], ebx
mov dword [esi + 0x21b8c], ebx
mov dword [esi + 0x21bc4], ebx
mov dword [esi + 0x21bc8], ebx
mov dword [esi + 0x21bcc], ebx
mov dword [esi + 0x21bd0], ebx
mov dword [esi + 0x21bd4], ebx
mov dword [esi + 0x21c3c], ebx
push 0x294
mov dword [esi + 0x21c40], ebx
lea eax, [esi + 0x21c4d]
push ebx
mov dword [esi + 0x21c48], ebx
push eax
mov byte [esi + 0x21c4c], bl
call fcn.0057da80
fldz
mov dword [esi + 0x21ee8], ebx
mov dword [esi + 0x21eec], 1
mov dword [esi + 0x21ef0], ebx
mov dword [esi + 0x21ef4], ebx
mov dword [esi + 0x123c], 0x3c
mov dword [esi + 0x21ef8], ebx
mov dword [esi + 0x21efc], ebx
fst dword [esi + 0x21f00]
fld dword [0x5e4d40]
lea eax, [esi + 0x21b80]
fstp dword [esi + 0x21f04]
mov dword [esi + 0x21f08], ebx
push str.RadarProject
fst dword [esi + 0x21f0c]
mov dword [esi + 0x21f10], ebx
fst dword [esi + 0x21f14]
mov dword [esi + 0x129c], ebx
mov dword [esi + 0x12a0], ebx
fst dword [esi + 0x12a4]
fst dword [esi + 0x12a8]
push eax
fst dword [esi + 0x12ac]
fst dword [esi + 0x12b0]
fst dword [esi + 0x12b4]
fst dword [esi + 0x12b8]
fst dword [esi + 0x12bc]
fst dword [esi + 0x12c0]
fst dword [esi + 0x12c4]
fst dword [esi + 0x12c8]
fst dword [esi + 0x12cc]
fstp dword [esi + 0x12d0]
call fcn.00402010
mov dword [esi + 0x21f18], ebx
mov dword [esi + 0x21f1c], 0x3e8
mov dword [esi + 0x21f20], ebx
mov dword [esi + 0x21f24], ebx
mov dword [esi + 0x21f28], ebx
mov dword [esi + 0x21f2c], ebx
mov dword [esi + 0x21f30], ebx
mov dword [esi + 0x21f34], ebx
mov byte [esi + 0x21f38], bl
add esp, 0x3c
lea edi, [ebp - 0x14]
mov dword [esi + 0x21f3c], ebx
call fcn.0043ba30
mov byte [ebp - 4], 0x22
mov eax, dword [eax]
mov edi, dword [esi + 0x21f40]
lea edx, [eax - 0x10]
sub edi, 0x10
mov dword [ebp - 0x20], edx
cmp edx, edi
je 0x42ece2
cmp dword [edi + 0xc], ebx
jl 0x42ecd2
mov ecx, dword [edx]
cmp ecx, dword [edi]
jne 0x42ecd2
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + 0xc], ebx
lea edx, [ecx + 0xc]
jl 0x42ec72
cmp eax, dword [ecx]
jne 0x42ec72
mov dword [ebp - 0x1c], ecx
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x42ecab
mov ecx, dword [ecx + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov dword [ebp - 0x1c], eax
cmp eax, ebx
jne 0x42ec8c
call fcn.00402910
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 4]
inc edx
push edx
add ecx, 0x10
push ecx
push edx
add eax, 0x10
push eax
call fcn.0057a991
add esp, 0x10
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42ecc4
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x10
mov dword [esi + 0x21f40], ecx
jmp 0x42ece2
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esi + 0x21f40]
call fcn.00402450
mov byte [ebp - 4], 0x21
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42ed05
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esi + 0x21f44], ebx
mov dword [esi + 0x21f48], ebx
mov dword [esi + 0x1804], ebx
mov dword [esi + 0x1808], ebx
mov dword [esi + 0x180c], ebx
mov dword [esi + 0x1810], ebx
mov dword [esi + 0x1814], ebx
mov dword [esi + 0x1818], ebx
mov dword [esi + 0x181c], ebx
mov dword [esi + 0x1820], ebx
mov dword [esi + 0x1824], ebx
mov dword [esi + 0x1828], ebx
mov dword [esi + 0x182c], ebx
mov dword [esi + 0x1830], ebx
push 0x294
mov dword [esi + 0x1834], ebx
lea edi, [esi + 0xdb4]
push ebx
mov dword [esi + 0x21f4c], 0xa
push edi
mov dword [esi + 0x21f50], 0x1388
call fcn.0057da80
mov dword [edi], 1
add esp, 0xc
mov dword [esi + 0xdb8], 0x64
mov byte [ebp - 4], 0x1f
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42edbb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0057a982
mov esp, ebp
pop ebp
ret