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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x58e238
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push ebp
mov ebp, ecx
push esi
xor esi, esi
push edi
mov eax, dword [ebp + 0x78]
mov ecx, dword [eax + 0x4d34]
mov dword [ebp + 0xb44], esi
cmp ecx, esi
jne 0x5420e7
mov ecx, dword [ebp + 0xa7c]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push esi
push esi
push 0x1009
push ecx
call edi
mov edx, dword [ebp + 0xa7c]
push esi
push esi
push 0xb
push edx
call edi
mov ebx, dword [0x5f385c]
xor ecx, ecx
inc ebx
mov dword [esp + 0x20], ecx
mov dword [0x5f385c], ebx
mov eax, dword [ebp + 0xc0]
cmp eax, esi
jle 0x541f8d
mov eax, dword [ebp + 0xc4]
mov ebx, dword [eax + ecx*4]
cmp ebx, esi
mov dword [esp + 0x24], ebx
je 0x541f64
lea esi, [ebx + 0x104]
mov edi, 0x5f3788
mov cl, byte [esi]
mov dl, byte [edi]
mov al, cl
cmp cl, dl
jne 0x541c23
test al, al
je 0x541c1f
mov dl, byte [esi + 1]
mov cl, byte [edi + 1]
mov al, dl
cmp dl, cl
jne 0x541c23
add esi, 2
add edi, 2
test al, al
jne 0x541bfb
xor eax, eax
jmp 0x541c28
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x541f62
mov edi, 0x5f3788
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
lea edi, [ebx + 0x104]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_5
mov ecx, dword [ebp + 0x78]
mov dword [esp + 0x6c], 0
test ecx, ecx
je 0x541c9c
mov esi, dword [ebx + 0x64]
xor edx, edx
mov eax, esi
shr eax, 4
div dword [ecx + 0x5f00]
mov ecx, dword [ecx + 0x5efc]
test ecx, ecx
je 0x541c9c
mov eax, dword [ecx + edx*4]
test eax, eax
je 0x541c9c
cmp dword [eax + 8], esi
je 0x541d42
mov eax, dword [eax]
test eax, eax
jne 0x541c8d
mov edx, dword [ebx + 0x64]
lea eax, [esp + 0x28]
lea ecx, [esp + 0x40]
push eax
push ecx
push 0
push edx
mov dword [esp + 0x38], 6
call sub.iphlpapi.dll_SendARP
test eax, eax
jne 0x541de3
xor ebx, ebx
lea ecx, [esp + 0x74]
call sub.MFC42.DLL_CString::CString_5
xor eax, eax
lea ecx, [esp + 0x74]
mov al, byte [esp + ebx + 0x40]
mov byte [esp + 0x6c], 3
push eax
push str._.2x
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x74]
call sub.MFC42.DLL_CString::MakeUpper
mov edi, dword [esp + 0x74]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x24]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
lea edi, [eax + 0x104]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov byte [esp + 0x6c], al
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x74]
call sub.MFC42.DLL_CString::CString
inc ebx
cmp ebx, 6
jl 0x541cc3
mov ebx, dword [esp + 0x24]
jmp 0x541eaf
test eax, eax
je 0x541c9c
add eax, 0xc
lea ecx, [esp + 0x18]
push eax
call fcn.00572d3c
mov eax, dword [ebp + 0x78]
test eax, eax
je 0x541d65
add eax, 0x55bc
jmp 0x541d6a
mov eax, 0x5e084c
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call sub.MFC42.DLL_CString::CString_3
push ecx
lea edx, [ebx + 0x32]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
mov byte [esp + 0x78], 1
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x78], 2
mov ecx, esp
mov dword [esp + 0x3c], esp
push ebx
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [ebx + 0x64]
lea ecx, [esp + 0x38]
push eax
push ecx
mov byte [esp + 0x80], 0
call fcn.00443ec0
mov edi, dword [eax]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
lea edi, [ebx + 0x104]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x2c]
jmp 0x541eaa
mov edi, 0x5f3788
lea esi, [ebx + 0x104]
mov cl, byte [esi]
mov dl, byte [edi]
mov al, cl
cmp cl, dl
jne 0x541e16
test al, al
je 0x541e12
mov dl, byte [esi + 1]
mov cl, byte [edi + 1]
mov al, dl
cmp dl, cl
jne 0x541e16
add esi, 2
add edi, 2
test al, al
jne 0x541dee
xor eax, eax
jmp 0x541e1b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x541eaf
mov eax, dword [ebp + 0x78]
test eax, eax
je 0x541e31
add eax, 0x55bc
jmp 0x541e36
mov eax, 0x5e084c
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call sub.MFC42.DLL_CString::CString_3
push ecx
lea eax, [ebx + 0x32]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
mov byte [esp + 0x78], 4
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x78], 5
mov ecx, esp
mov dword [esp + 0x3c], esp
push ebx
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [ebx + 0x64]
lea edx, [esp + 0x28]
push ecx
push edx
mov byte [esp + 0x80], 0
call fcn.00443ec0
mov edi, dword [eax]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
lea edi, [ebx + 0x104]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp + 0x78]
test eax, eax
je 0x541f51
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esp + 0x14]
lea esi, [ebx + 0x104]
push ecx
mov ecx, dword [ebp + 0x78]
push esi
add ecx, 0x5e44
mov byte [esp + 0x74], 6
call sub.MFC42.DLL_CMapStringToString::Lookup
test eax, eax
je 0x541ef9
mov edx, dword [esp + 0x14]
push 0x32
lea eax, [ebx + 0x6c]
push edx
push eax
call fcn.0043bab0
add esp, 0xc
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esp + 0x10]
mov byte [esp + 0x6c], 7
push ecx
mov ecx, dword [ebp + 0x78]
push esi
add ecx, 0x5e28
call sub.MFC42.DLL_CMapStringToString::Lookup
test eax, eax
je 0x541f35
mov edx, dword [esp + 0x10]
push 0x32
lea eax, [ebx + 0x520]
push edx
push eax
call fcn.0043bab0
add esp, 0xc
lea ecx, [esp + 0x10]
mov byte [esp + 0x6c], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 0x6c], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor esi, esi
push 1
push esi
push esi
push ebx
mov ecx, ebp
call fcn.0052f720
mov ecx, dword [esp + 0x20]
mov eax, dword [ebp + 0xc0]
inc ecx
cmp ecx, eax
mov dword [esp + 0x20], ecx
jl 0x541bdb
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp + 0xa7c]
push esi
push 1
push 0xb
push ecx
call edi
mov edx, dword [ebp + 0x78]
cmp dword [edx + 0x1b0], esi
je 0x541fb7
push esi
lea ecx, [ebp + 0xa5c]
call fcn.00493cf0
jmp 0x5425a8
mov dword [esp + 0x50], 0x5934ec
mov dword [esp + 0x54], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], esi
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x58]
mov dword [esp + 0x74], 8
call fcn.004374d0
mov eax, dword [ebp + 0x78]
push 0xffffffffffffffff
lea ecx, [esp + 0x54]
mov edi, dword [eax + 0x5d68]
mov eax, dword [esp + 0x5c]
mov ebx, eax
inc eax
push eax
call fcn.004374d0
mov ecx, dword [esp + 0x54]
push 0xffffffffffffffff
mov dword [ecx + ebx*4], edi
mov eax, dword [esp + 0x5c]
mov edx, dword [ebp + 0x78]
mov ebx, eax
inc eax
lea ecx, [esp + 0x54]
mov edi, dword [edx + 0x5d74]
push eax
call fcn.004374d0
mov eax, dword [esp + 0x54]
push 0xffffffffffffffff
mov dword [eax + ebx*4], edi
mov eax, dword [esp + 0x5c]
mov ecx, dword [ebp + 0x78]
mov ebx, eax
inc eax
mov edi, dword [ecx + 0x5d80]
push eax
lea ecx, [esp + 0x58]
call fcn.004374d0
mov edx, dword [esp + 0x54]
push 0xffffffffffffffff
lea ecx, [esp + 0x54]
mov dword [edx + ebx*4], edi
mov eax, dword [ebp + 0x78]
mov edi, dword [eax + 0x5d70]
mov eax, dword [esp + 0x5c]
mov ebx, eax
inc eax
push eax
call fcn.004374d0
mov ecx, dword [esp + 0x54]
push 0xffffffffffffffff
mov dword [ecx + ebx*4], edi
mov eax, dword [esp + 0x5c]
mov edx, dword [ebp + 0x78]
mov ebx, eax
inc eax
lea ecx, [esp + 0x54]
mov edi, dword [edx + 0x5d78]
push eax
call fcn.004374d0
mov eax, dword [esp + 0x54]
push 0xffffffffffffffff
mov dword [eax + ebx*4], edi
mov eax, dword [esp + 0x5c]
mov ecx, dword [ebp + 0x78]
mov ebx, eax
inc eax
mov edi, dword [ecx + 0x5d7c]
push eax
lea ecx, [esp + 0x58]
call fcn.004374d0
mov edx, dword [esp + 0x54]
lea eax, [esp + 0x50]
push eax
lea ecx, [ebp + 0xa5c]
mov dword [edx + ebx*4], edi
call fcn.00494030
mov eax, dword [esp + 0x54]
mov dword [esp + 0x50], 0x5934ec
cmp eax, esi
je 0x5425a8
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
jmp 0x5425a8
push 1
lea ecx, [ebp + 0x618]
call fcn.004b3950
mov ecx, dword [ebp + 0x638]
push esi
push esi
push 0xb
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [0x5f385c]
mov dword [esp + 0x24], esi
inc ecx
mov dword [0x5f385c], ecx
mov eax, dword [ebp + 0xc0]
cmp eax, esi
jle 0x542595
mov edx, dword [ebp + 0xc4]
mov eax, dword [esp + 0x24]
mov ebx, dword [edx + eax*4]
test ebx, ebx
mov dword [esp + 0x28], ebx
je 0x5424bc
lea esi, [ebx + 0x104]
mov edi, 0x5f3788
mov cl, byte [esi]
mov dl, byte [edi]
mov al, cl
cmp cl, dl
jne 0x542170
test al, al
je 0x54216c
mov dl, byte [esi + 1]
mov cl, byte [edi + 1]
mov al, dl
cmp dl, cl
jne 0x542170
add esi, 2
add edi, 2
test al, al
jne 0x542148
xor eax, eax
jmp 0x542175
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x5424bc
mov edi, 0x5f3788
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
lea edi, [ebx + 0x104]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString_5
mov ecx, dword [ebp + 0x78]
mov dword [esp + 0x6c], 9
test ecx, ecx
je 0x5421e9
mov esi, dword [ebx + 0x64]
xor edx, edx
mov eax, esi
shr eax, 4
div dword [ecx + 0x5f00]
mov ecx, dword [ecx + 0x5efc]
test ecx, ecx
je 0x5421e9
mov eax, dword [ecx + edx*4]
test eax, eax
je 0x5421e9
cmp dword [eax + 8], esi
je 0x542290
mov eax, dword [eax]
test eax, eax
jne 0x5421da
mov edx, dword [ebx + 0x64]
lea eax, [esp + 0x34]
lea ecx, [esp + 0x48]
push eax
push ecx
push 0
push edx
mov dword [esp + 0x44], 6
call sub.iphlpapi.dll_SendARP
test eax, eax
jne 0x542331
xor ebx, ebx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_5
xor eax, eax
lea ecx, [esp + 0x10]
mov al, byte [esp + ebx + 0x48]
mov byte [esp + 0x6c], 0xc
push eax
push str._.2x
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::MakeUpper
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x6c], 9
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x28]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
lea edi, [eax + 0x104]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
inc ebx
cmp ebx, 6
jl 0x542210
mov ebx, dword [esp + 0x28]
jmp 0x5423fd
test eax, eax
je 0x5421e9
add eax, 0xc
lea ecx, [esp + 0x2c]
push eax
call fcn.00572d3c
mov eax, dword [ebp + 0x78]
test eax, eax
je 0x5422b3
add eax, 0x55bc
jmp 0x5422b8
mov eax, 0x5e084c
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call sub.MFC42.DLL_CString::CString_3
push ecx
lea edx, [ebx + 0x32]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
mov byte [esp + 0x78], 0xa
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x78], 0xb
mov ecx, esp
mov dword [esp + 0x48], esp
push ebx
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [ebx + 0x64]
lea ecx, [esp + 0x3c]
push eax
push ecx
mov byte [esp + 0x80], 9
call fcn.00443ec0
mov edi, dword [eax]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
lea edi, [ebx + 0x104]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x30]
jmp 0x5423f8
mov edi, 0x5f3788
lea esi, [ebx + 0x104]
mov cl, byte [esi]
mov dl, byte [edi]
mov al, cl
cmp cl, dl
jne 0x542364
test al, al
je 0x542360
mov dl, byte [esi + 1]
mov cl, byte [edi + 1]
mov al, dl
cmp dl, cl
jne 0x542364
add esi, 2
add edi, 2
test al, al
jne 0x54233c
xor eax, eax
jmp 0x542369
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x5423fd
mov eax, dword [ebp + 0x78]
test eax, eax
je 0x54237f
add eax, 0x55bc
jmp 0x542384
mov eax, 0x5e084c
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
call sub.MFC42.DLL_CString::CString_3
push ecx
lea eax, [ebx + 0x32]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
mov byte [esp + 0x78], 0xd
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x78], 0xe
mov ecx, esp
mov dword [esp + 0x4c], esp
push ebx
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [ebx + 0x64]
lea edx, [esp + 0x44]
push ecx
push edx
mov byte [esp + 0x80], 9
call fcn.00443ec0
mov edi, dword [eax]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
lea edi, [ebx + 0x104]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp + 0x78]
test eax, eax
je 0x5424ab
mov eax, dword [esp + 0x74]
test eax, eax
jne 0x5424ab
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esp + 0x18]
lea esi, [ebx + 0x104]
push ecx
mov ecx, dword [ebp + 0x78]
push esi
add ecx, 0x5e44
mov byte [esp + 0x74], 0xf
call sub.MFC42.DLL_CMapStringToString::Lookup
test eax, eax
je 0x542453
mov edx, dword [esp + 0x18]
push 0x32
lea eax, [ebx + 0x6c]
push edx
push eax
call fcn.0043bab0
add esp, 0xc
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c], 0x10
push ecx
mov ecx, dword [ebp + 0x78]
push esi
add ecx, 0x5e28
call sub.MFC42.DLL_CMapStringToString::Lookup
test eax, eax
je 0x54248f
mov edx, dword [esp + 0x14]
push 0x32
lea eax, [ebx + 0x520]
push edx
push eax
call fcn.0043bab0
add esp, 0xc
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x6c], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov dword [esp + 0x6c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp + 0x78]
test eax, eax
je 0x542570
mov eax, dword [esp + 0x74]
test eax, eax
je 0x542570
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esp + 0x20]
lea esi, [ebx + 0x104]
push ecx
mov ecx, dword [ebp + 0x78]
push esi
add ecx, 0x5e44
mov dword [esp + 0x74], 0x11
call sub.MFC42.DLL_CMapStringToString::Lookup
test eax, eax
je 0x542515
mov edx, dword [esp + 0x20]
push 0x32
lea eax, [ebx + 0x6c]
push edx
push eax
call fcn.0043bab0
add esp, 0xc
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 0x12
push ecx
mov ecx, dword [ebp + 0x78]
push esi
add ecx, 0x5e28
call sub.MFC42.DLL_CMapStringToString::Lookup
test eax, eax
je 0x542551
mov edx, dword [esp + 0x1c]
push 0x32
lea eax, [ebx + 0x520]
push edx
push eax
call fcn.0043bab0
add esp, 0xc
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 0x11
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov dword [esp + 0x6c], 0xffffffff
call sub.MFC42.DLL_CString::CString
push 1
push 0
push 0
push ebx
mov ecx, ebp
call fcn.0052f720
mov eax, dword [esp + 0x24]
mov ecx, dword [ebp + 0xc0]
inc eax
cmp eax, ecx
mov dword [esp + 0x24], eax
jl 0x542124
mov ecx, dword [ebp + 0x638]
push 0
push 1
push 0xb
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x5f385c]
mov ecx, dword [esp + 0x64]
dec eax
pop edi
mov dword [0x5f385c], eax
mov dword [ebp + 0xb44], 1
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x60
ret 4