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

Disassembly:
push 0xffffffffffffffff
push 0x5d229f
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x65b4e4]
xor eax, esp
mov dword [esp + 0x268], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x65b4e4]
xor eax, esp
push eax
lea eax, [esp + 0x280]
mov dword fs:[0], eax
mov edi, dword [esp + 0x290]
mov ebp, dword [esp + 0x294]
mov esi, dword [esp + 0x298]
xor ebx, ebx
push ebx
push 0x62a4a0
mov ecx, edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], ebp
mov dword [esp + 0x58], esi
call fcn.004098b0
push ebx
push 0x62a4a0
mov ecx, ebp
call fcn.004098b0
push ebx
push 0x62a4a0
mov ecx, esi
call fcn.004098b0
push 1
push 2
lea ecx, [esp + 0x168]
call fcn.0040b160
push 1
push 2
lea ecx, [esp + 0x68]
mov dword [esp + 0x290], ebx
call fcn.0040b160
push 1
push 2
lea ecx, [esp + 0x1e8]
mov byte [esp + 0x290], 1
call fcn.0040b160
lea ecx, [esp + 0x54]
mov byte [esp + 0x288], 2
call fcn.0052f8e0
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ebx
push ebx
push ebx
lea ecx, [esp + 0x38]
mov byte [esp + 0x290], 3
call fcn.0050fb60
push 1
lea ecx, [esp + 0x34]
mov byte [esp + 0x28c], 4
call fcn.00513a90
test eax, eax
jle 0x522689
mov eax, dword [esp + 0x38]
mov ebx, dword [eax]
mov edi, edi
cmp ebx, dword [esp + 0x38]
je 0x522689
mov edi, dword [ebx + 8]
mov eax, dword [edi + 0x90]
mov esi, dword [eax]
add edi, 0x8c
jmp 0x522370
cmp ebx, dword [esp + 0x38]
jne 0x52237b
call fcn.005b0913
mov eax, dword [ebx + 8]
mov ebp, dword [eax + 0x90]
add eax, 0x8c
cmp edi, eax
je 0x522392
call fcn.005b0913
cmp esi, ebp
je 0x522405
cmp esi, dword [edi + 4]
jne 0x5223a0
call fcn.005b0913
mov ecx, dword [esi + 8]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.0050d380
add esp, 8
push 0x62a788
push eax
lea eax, [esp + 0x168]
push eax
mov byte [esp + 0x294], 5
call fcn.00409360
add esp, 8
push eax
call fcn.00409c80
add esp, 8
cmp dword [esp + 0x2c], 0x10
mov byte [esp + 0x288], 4
jb 0x5223f4
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00594e98
add esp, 4
cmp esi, dword [edi + 4]
jne 0x5223fe
call fcn.005b0913
mov esi, dword [esi]
jmp 0x522370
cmp ebx, dword [esp + 0x38]
jne 0x522410
call fcn.005b0913
mov edi, dword [ebx + 8]
mov eax, dword [edi + 0x9c]
mov esi, dword [eax]
add edi, 0x98
cmp ebx, dword [esp + 0x38]
jne 0x52242c
call fcn.005b0913
mov eax, dword [ebx + 8]
mov ebp, dword [eax + 0x9c]
add eax, 0x98
cmp edi, eax
je 0x522443
call fcn.005b0913
cmp esi, ebp
je 0x52248c
cmp esi, dword [edi + 4]
jne 0x522451
call fcn.005b0913
cmp dword [esi + 0x20], 0x10
jb 0x52245c
mov eax, dword [esi + 0xc]
jmp 0x52245f
lea eax, [esi + 0xc]
push 0x62a788
push eax
lea edx, [esp + 0x1e8]
push edx
call fcn.00409c80
add esp, 8
push eax
call fcn.00409c80
add esp, 8
cmp esi, dword [edi + 4]
jne 0x522488
call fcn.005b0913
mov esi, dword [esi]
jmp 0x522421
cmp ebx, dword [esp + 0x38]
jne 0x522497
call fcn.005b0913
mov eax, dword [ebx + 8]
push 1
add eax, 0x78
push eax
lea ecx, [esp + 0x268]
push ecx
call fcn.0050d410
add esp, 0xc
cmp ebx, dword [esp + 0x38]
mov byte [esp + 0x288], 6
jne 0x5224c3
call fcn.005b0913
mov edx, dword [ebx + 8]
cmp dword [edx + 0x94], 0
jne 0x5224dd
cmp dword [esp + 0x29c], 0
je 0x522649
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x64]
call fcn.00409610
mov ecx, dword [esp + 0x264]
mov edi, 0x10
cmp dword [esp + 0x278], edi
jae 0x522507
lea ecx, [esp + 0x264]
cmp dword [eax + 0x18], edi
jb 0x522511
mov eax, dword [eax + 4]
jmp 0x522514
add eax, 4
push ecx
push eax
call fcn.005b3710
add esp, 8
cmp dword [esp + 0x2c], edi
mov esi, eax
jb 0x522533
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00594e98
add esp, 4
test esi, esi
je 0x522614
push 1
push 2
lea ecx, [esp + 0xe8]
call fcn.0040b160
cmp dword [esp + 0x278], edi
mov eax, dword [esp + 0x264]
mov byte [esp + 0x288], 7
jae 0x52256a
lea eax, [esp + 0x264]
push eax
lea edx, [esp + 0xe4]
push 0x5f44a4
push edx
call fcn.00409c80
add esp, 8
push eax
call fcn.00409c80
add esp, 8
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0xe4]
call fcn.00409610
cmp dword [eax + 0x18], edi
mov byte [esp + 0x288], 8
jb 0x5225ac
mov eax, dword [eax + 4]
jmp 0x5225af
add eax, 4
push eax
push str.BaseLib::CBaseInfo::GetIpMacEx
push 0x845
push str..ywSMPpubBaseInfo.cpp
push 0xf0000000
call fcn.00409980
mov ecx, eax
call fcn.004fa910
cmp dword [esp + 0x2c], edi
jb 0x5225e3
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00594e98
add esp, 4
lea ecx, [esp + 0x12c]
mov byte [esp + 0x288], 6
call fcn.00409f20
lea edx, [esp + 0x12c]
push edx
mov dword [esp + method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.005cccbe
add esp, 4
jmp 0x52264e
cmp dword [esp + 0x278], edi
mov eax, dword [esp + 0x264]
jae 0x52262b
lea eax, [esp + 0x264]
push 0x62a788
push eax
lea eax, [esp + 0x68]
push eax
call fcn.00409c80
add esp, 8
push eax
call fcn.00409c80
add esp, 8
jmp 0x52264e
mov edi, 0x10
cmp dword [esp + 0x278], edi
mov byte [esp + 0x288], 4
jb 0x52266f
mov ecx, dword [esp + 0x264]
push ecx
call fcn.00594e98
add esp, 4
cmp ebx, dword [esp + 0x38]
jne 0x52267a
call fcn.005b0913
mov ebx, dword [ebx]
mov ebp, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
jmp 0x522350
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x164]
call fcn.00409610
cmp dword [eax + 0x18], 0x10
mov byte [esp + 0x288], 9
jb 0x5226ad
mov edx, dword [eax + 4]
jmp 0x5226b0
lea edx, [eax + 4]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x5226b5
sub eax, esi
push eax
push edx
mov ecx, edi
call fcn.004098b0
mov ebx, 0x10
cmp dword [esp + 0x2c], ebx
mov byte [esp + 0x288], 4
jb 0x5226e9
mov eax, dword [esp + 0x18]
push eax
call fcn.00594e98
add esp, 4
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1e4]
call fcn.00409610
cmp dword [eax + 0x18], ebx
mov byte [esp + 0x288], 0xa
jb 0x52270c
mov edx, dword [eax + 4]
jmp 0x52270f
lea edx, [eax + 4]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x522714
sub eax, esi
push eax
push edx
mov ecx, ebp
call fcn.004098b0
cmp dword [esp + 0x2c], ebx
mov byte [esp + 0x288], 4
jb 0x522743
mov edx, dword [esp + 0x18]
push edx
call fcn.00594e98
add esp, 4
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x64]
call fcn.00409610
cmp dword [eax + 0x18], ebx
mov byte [esp + 0x288], 0xb
jb 0x522763
mov edx, dword [eax + 4]
jmp 0x522766
lea edx, [eax + 4]
mov eax, edx
lea esi, [eax + 1]
jmp 0x522770
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x522770
sub eax, esi
mov esi, dword [esp + 0x50]
push eax
push edx
mov ecx, esi
call fcn.004098b0
cmp dword [esp + 0x2c], ebx
mov byte [esp + 0x288], 4
jb 0x5227a3
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00594e98
add esp, 4
mov eax, dword [edi + 0x14]
test eax, eax
jbe 0x5227eb
add eax, 0xffffffff
push eax
push 0
lea edx, [esp + 0x1c]
push edx
mov ecx, edi
call fcn.004253c0
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
mov byte [esp + 0x294], 0xc
call fcn.004080b0
cmp dword [esp + 0x2c], ebx
mov byte [esp + 0x288], 4
jb 0x5227eb
mov eax, dword [esp + 0x18]
push eax
call fcn.00594e98
add esp, 4
mov eax, dword [ebp + 0x14]
test eax, eax
jbe 0x522833
add eax, 0xffffffff
push eax
push 0
lea ecx, [esp + 0x1c]
push ecx
mov ecx, ebp
call fcn.004253c0
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebp
mov byte [esp + 0x294], 0xd
call fcn.004080b0
cmp dword [esp + 0x2c], ebx
mov byte [esp + 0x288], 4
jb 0x522833
mov edx, dword [esp + 0x18]
push edx
call fcn.00594e98
add esp, 4
mov eax, dword [esi + 0x14]
test eax, eax
jbe 0x52289a
add eax, 0xffffffff
push eax
push 0
lea eax, [esp + 0x268]
push eax
mov ecx, esi
call fcn.004253c0
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
mov byte [esp + 0x294], 0xe
call fcn.004080b0
cmp dword [esp + 0x278], ebx
jb 0x52287c
mov ecx, dword [esp + 0x264]
push ecx
call fcn.00594e98
add esp, 4
mov dword [esp + 0x278], 0xf
mov dword [esp + 0x274], 0
mov byte [esp + 0x264], 0
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x34], vtable.BaseLib::TPointerContainer_class_std::list_struct_BaseLib::_tag_ethernet_adapter___class_std::allocator_struct_BaseLib::_tag_ethernet_adapter____.0
call fcn.004151b0
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0x3c]
mov dword [ecx + 4], ecx
mov ecx, dword [esp + 0x3c]
xor edi, edi
add esp, 4
cmp eax, ecx
mov dword [esp + 0x3c], edi
je 0x5228e5
lea esp, [esp]
mov esi, dword [eax]
push eax
call fcn.00594e98
mov ecx, dword [esp + 0x3c]
add esp, 4
cmp esi, ecx
mov eax, esi
jne 0x5228d0
push ecx
call fcn.00594e98
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0x5c]
mov eax, dword [edi]
add esp, 4
cmp eax, edi
mov dword [edi], edi
mov dword [edi + 4], edi
je 0x522912
mov esi, dword [eax]
push eax
call fcn.00594e98
add esp, 4
cmp esi, edi
mov eax, esi
jne 0x522901
push edi
call fcn.00594e98
add esp, 4
lea ecx, [esp + 0x22c]
mov byte [esp + 0x288], 1
call fcn.00409f20
lea eax, [esp + 0x22c]
mov esi, vtable.std::ios_base.0
push eax
mov dword [esp + 0x230], esi
call fcn.005cccbe
add esp, 4
lea ecx, [esp + 0xac]
mov byte [esp + 0x288], 0
call fcn.00409f20
lea ecx, [esp + 0xac]
push ecx
mov dword [esp + 0xb0], esi
call fcn.005cccbe
add esp, 4
lea ecx, [esp + 0x1ac]
mov dword [esp + 0x288], 0xffffffff
call fcn.00409f20
lea edx, [esp + 0x1ac]
push edx
mov dword [esp + 0x1b0], esi
call fcn.005cccbe
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x280]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x268]
xor ecx, esp
call fcn.005b0968
add esp, 0x278
ret 0x10