Function at 0x4f71d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x57973b
mov eax, dword fs:[0]
push eax
sub esp, 0x760
mov eax, dword [0x5d72e0]
xor eax, esp
mov dword [esp + 0x758], eax
push ebx
push esi
push edi
mov eax, dword [0x5d72e0]
xor eax, esp
push eax
lea eax, [esp + 0x770]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 0xc]
lea edi, [ecx + 0x4c]
xor ebx, ebx
mov dword [0x5e213c], ebx
mov dword [esp + 0x38], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax]
mov dword [esp + 0x30], esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edi
call fcn.00518333
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4f7254
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x3c], eax
mov dword [esp + 0x778], ebx
jmp 0x4f7270
mov eax, dword [esp + 0x14]
cmp eax, ebx
mov ecx, dword [edi + 4]
mov dword [esp + 0x764], ecx
je 0x4f7286
cmp eax, edi
je 0x4f728f
call fcn.0053123f
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
cmp ecx, dword [esp + 0x764]
je 0x4f7369
cmp eax, ebx
jne 0x4f72b1
call fcn.0053123f
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
cmp ecx, dword [eax + 4]
jne 0x4f72c3
call fcn.0053123f
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov edx, dword [ebp + 8]
cmp edx, dword [ecx + 0xc]
je 0x4f72d6
lea ecx, [esp + 0x14]
call fcn.004f6cf0
jmp 0x4f7270
cmp ecx, dword [eax + 4]
jne 0x4f72e4
call fcn.0053123f
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
lea esi, [ecx + 0x10]
add eax, 0x48
push eax
mov ecx, 0x16e
lea edi, [esp + 0x1a8]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x384]
lea ecx, [esp + 0x2ec]
push ecx
lea edx, [esp + 0x2b0]
push edx
push eax
lea ecx, [esp + 0x238]
push ecx
call dword [sym.imp.HHNetClient.dll_Ordinal_52_1]
cmp eax, ebx
je 0x4f7365
push ebx
push ebx
push 0x594d18
call fcn.00518f91
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov dword [esp + 0x778], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4f735e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x4f77ee
mov esi, dword [esp + 0x30]
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x60]
mov eax, dword [esi + 0x64]
mov edi, dword [esi + 0x68]
mov dword [esp + 0x54], ecx
mov ecx, dword [esi + 0x6c]
push 0x11c
mov dword [esp + 0x68], ecx
mov dword [esp + 0x5c], edx
mov edx, dword [esi + 0x80]
mov dword [esp + 0x60], eax
mov eax, dword [esi + 0x84]
lea ecx, [esp + 0x88]
push ebx
push ecx
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], eax
call fcn.00530d30
mov esi, dword [esi + 0x14]
add esp, 0xc
cmp esi, 4
ja case.0x4f73c0.0
jmp dword [esi*4 + 0x4f7814]
mov byte [esp + 0x198], 1
jmp 0x4f73ec
mov byte [esp + 0x198], 3
jmp 0x4f73ec
mov byte [esp + 0x198], 2
jmp 0x4f73ec
mov byte [esp + 0x198], bl
mov edx, dword [esp + 0x64]
push edx
push edi
lea eax, [esp + 0x194]
push str._02d:_02d
push eax
call fcn.00530c72
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x88]
push ecx
push edx
lea eax, [esp + 0x1aa]
push str._02d:_02d
push eax
call fcn.00530c72
mov al, byte [esp + 0x1b8]
add esp, 0x20
cmp al, bl
jne 0x4f745a
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
push ecx
push edx
push eax
lea ecx, [esp + 0x94]
push str._04d__02d__02dipcam_
push ecx
call fcn.00530c72
add esp, 0x14
jmp 0x4f7482
mov ecx, dword [esp + 0x58]
movzx edx, al
mov eax, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x58]
push eax
push ecx
push edx
lea eax, [esp + 0x98]
push str._4d__02d__02dipcam_d_
push eax
call fcn.00530c72
add esp, 0x18
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x48]
lea ecx, [esp + 0x84]
push ecx
push edx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x1a4], 0x4f7090
call dword [sym.imp.HHNetClient.dll_Ordinal_54]
cmp dword [0x5e2130], ebx
mov dword [esp + 0x34], eax
je 0x4f74e0
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov dword [0x5e2130], ebx
mov dword [esp + 0x778], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x4f7352
push 0x8000
call fcn.0050fd28
add esp, 4
mov dword [esp + 0x30], eax
mov esi, 0x5da160
lea edi, [eax + 0x30]
lea esp, [esp]
mov edx, edi
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [eax + edx], cl
add eax, 1
cmp cl, bl
jne 0x4f7506
add esi, 0x200
add edi, 0x200
cmp esi, 0x5e2160
jl 0x4f7500
cmp dword [esp + 0x34], ebx
jne 0x4f77a0
mov esi, dword [0x5e213c]
cmp esi, ebx
je 0x4f7791
xor ecx, ecx
mov eax, esi
mov edx, 0xbc
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0050fd28
add esp, 4
cmp eax, ebx
je 0x4f7586
lea edx, [esi - 1]
cmp edx, ebx
jl 0x4f7580
lea ecx, [eax + 0xb8]
lea ebx, [ebx]
mov dword [ecx - 4], ebx
mov dword [ecx], ebx
add ecx, 0xbc
sub edx, 1
jns 0x4f7570
mov dword [esp + 0x10], eax
jmp 0x4f758a
mov dword [esp + 0x10], ebx
mov eax, dword [0x5e213c]
cmp eax, ebx
mov dword [esp + 0x34], ebx
jle 0x4f776e
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x30]
add esi, 4
add edi, 0x3a
lea esp, [esp]
movzx eax, byte [edi - 1]
mov cl, byte [edi]
movzx edx, byte [edi + 1]
mov byte [esp + 0x760], al
movzx eax, byte [edi + 2]
mov byte [esp + 0x761], cl
lea ecx, [esp + 0x760]
push ecx
mov byte [esp + 0x766], dl
mov byte [esp + 0x767], al
mov byte [esp + 0x768], bl
call fcn.00531b1b
movzx edx, byte [edi + 4]
mov dword [esp + 0x54], eax
movzx eax, byte [edi + 5]
lea ecx, [esp + 0x2c]
push ecx
mov byte [esp + 0x30], dl
mov byte [esp + 0x31], al
mov byte [esp + 0x32], bl
call fcn.00531b1b
movzx edx, byte [edi + 7]
mov dword [esp + 0x54], eax
movzx eax, byte [edi + 8]
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0x28], dl
mov byte [esp + 0x29], al
mov byte [esp + 0x2a], bl
call fcn.00531b1b
movzx edx, byte [edi + 0xc]
mov dword [esp + 0x4c], eax
movzx eax, byte [edi + 0xd]
lea ecx, [esp + 0x38]
push ecx
mov byte [esp + 0x3c], dl
mov byte [esp + 0x3d], al
mov byte [esp + 0x3e], bl
call fcn.00531b1b
movzx edx, byte [edi + 0xf]
mov dword [esp + 0x54], eax
movzx eax, byte [edi + 0x10]
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0x38], dl
mov byte [esp + 0x39], al
mov byte [esp + 0x3a], bl
call fcn.00531b1b
movzx edx, byte [edi + 0x12]
mov dword [esp + 0x5c], eax
movzx eax, byte [edi + 0x13]
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0x38], dl
mov byte [esp + 0x39], al
mov byte [esp + 0x3a], bl
call fcn.00531b1b
mov edx, dword [esp + 0x60]
push ebx
push ebx
mov ecx, dword [esp + 0x60]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push edx
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x84]
push eax
mov eax, dword [esp + 0x94]
push 1
push ecx
push edx
push eax
push str._idea0__04d__02d__02d__03d__02d._02d._02d__02d._02d._02d__x__x___x__x___x_.h264
mov dword [esi - 4], ebx
push 0x6c
lea ecx, [esi + 4]
push ecx
call fcn.00531a6e
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0xb0]
mov eax, dword [esp + 0xac]
mov dword [esi + 0x78], ecx
mov ecx, dword [esp + 0x74]
mov dword [esi + 0x70], edx
mov edx, dword [esp + 0xa4]
mov dword [esi + 0x74], eax
mov eax, dword [esp + 0xa8]
mov dword [esi + 0x88], ecx
mov ecx, dword [esp + 0x94]
mov dword [esi], ebx
mov dword [esi + 0x80], edx
mov dword [esi + 0x84], eax
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], ebx
mov dword [esi + 0x98], ebx
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xa8], ebx
mov eax, dword [0x5e213c]
add ecx, 1
add esp, 0x60
add edi, 0x200
add esi, 0xbc
cmp ecx, eax
mov dword [esp + 0x34], ecx
jl 0x4f75b0
mov ecx, dword [esp + 0x38]
cmp ecx, ebx
je 0x4f7782
mov edx, dword [ebp + 0x18]
push edx
push eax
mov eax, dword [esp + 0x18]
push eax
call ecx
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0050fd2d
add esp, 4
jmp 0x4f77b1
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x4f77b1
mov edx, dword [ebp + 0x18]
push edx
push ebx
jmp 0x4f77ae
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x4f77b1
mov ecx, dword [ebp + 0x18]
push ecx
push 0xffffffffffffffff
push ebx
call eax
mov edx, dword [esp + 0x30]
push edx
call fcn.0050fd2d
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
add esp, 4
mov dword [esp + 0x778], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4f77e9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x770]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x758]
xor ecx, esp
call fcn.0053042b
mov esp, ebp
pop ebp
ret 0x14