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

Disassembly:
push 0xffffffffffffffff
push 0x4fefac
mov eax, dword fs:[0]
push eax
sub esp, 0x1b0
mov eax, dword [0x54a020]
xor eax, esp
mov dword [esp + 0x1ac], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x54a020]
xor eax, esp
push eax
lea eax, [esp + 0x1c4]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x1d4]
xor ecx, ecx
cmp esi, ecx
mov edi, edx
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
jg 0x41199a
push 0x533e66
mov ecx, edi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
jmp 0x411eb2
add esi, 0xfffffffa
cmp esi, ecx
jle 0x411ea5
mov edx, esi
and edx, reloc.WSOCK32.dll_ntohs
jns 0x4119b4
dec edx
or edx, 0xfffffff0
inc edx
jne 0x411ea5
mov eax, esi
cdq
and edx, 0xf
add eax, edx
mov edi, eax
mov eax, 0xff
sar edi, 4
lea ebp, [edi + edi*4]
add ebp, ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], 0xe
mov dword [esp + 0xf0], 5
mov dword [esp + 0xf4], 0x18
mov dword [esp + 0xf8], 0x14
mov dword [esp + 0xfc], 6
mov dword [esp + 0x100], 0x19
mov dword [esp + 0x104], 7
mov dword [esp + 0x108], 0x1b
mov dword [esp + 0x10c], eax
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], eax
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], eax
mov dword [esp + 0x124], eax
mov dword [esp + 0x128], 0x17
mov dword [esp + 0x12c], 0x11
mov dword [esp + 0x130], 0x1a
mov dword [esp + 0x134], 0x1e
mov dword [esp + 0x138], 0x1f
mov dword [esp + 0x13c], 2
mov dword [esp + 0x140], 3
mov dword [esp + 0x148], eax
mov dword [esp + 0x160], eax
mov dword [esp + 0x190], eax
mov dword [esp + 0x194], eax
mov dword [esp + 0x198], eax
mov dword [esp + 0x19c], eax
mov dword [esp + 0x1a0], eax
lea eax, [ebp + 2]
push eax
mov dword [esp + 0x148], 0xd
mov dword [esp + 0x150], 0x16
mov dword [esp + 0x154], 0x1c
mov dword [esp + 0x158], 0x1d
mov dword [esp + 0x15c], 0xf
mov dword [esp + 0x160], 0x10
mov dword [esp + 0x168], 4
mov dword [esp + 0x16c], 0x12
mov dword [esp + 0x170], 0x13
mov dword [esp + 0x174], 8
mov dword [esp + 0x178], 9
mov dword [esp + 0x17c], 0x15
mov dword [esp + 0x180], 0xa
mov dword [esp + 0x184], 0xb
mov dword [esp + 0x188], 0xc
mov dword [esp + 0x18c], ecx
mov dword [esp + 0x190], 1
call sub.MFC80.DLL_Ordinal_265
push esi
mov dword [esp + 0x1c], eax
call sub.MFC80.DLL_Ordinal_265
mov ecx, dword [esp + 0x28]
push esi
add ecx, 6
push ecx
mov ebx, eax
push esi
push ebx
call dword [sym.imp.MSVCR80.dll_memcpy_s]
add esp, 0x18
xor eax, eax
test esi, esi
jle 0x411cf2
jmp 0x411ce0
movzx edx, byte [eax + ebx]
mov cl, byte [esp + edx*4 + 0x24]
mov byte [eax + ebx], cl
add eax, 1
cmp eax, esi
jl 0x411ce0
test edi, edi
mov esi, dword [esp + 0x14]
mov byte [esi + ebp + 1], 0
mov byte [esi + ebp], 0
jle 0x411dea
add esi, 2
lea eax, [ebx + 1]
lea ecx, [ecx]
movzx edx, byte [eax - 1]
movzx ecx, byte [eax]
add dl, dl
add dl, dl
shr cl, 2
add dl, dl
or dl, cl
mov byte [esi - 2], dl
movzx edx, byte [eax]
movzx ecx, byte [eax + 2]
shl dl, 5
or dl, byte [eax + 1]
shr cl, 4
add dl, dl
or dl, cl
mov byte [esi - 1], dl
movzx edx, byte [eax + 3]
movzx ecx, byte [eax + 2]
shl cl, 4
shr dl, 1
or dl, cl
mov byte [esi], dl
movzx edx, byte [eax + 3]
movzx ecx, byte [eax + 5]
shr cl, 3
shl dl, 5
or dl, byte [eax + 4]
add eax, 0x10
add dl, dl
add dl, dl
or dl, cl
mov byte [esi + 1], dl
movzx edx, byte [eax - 0xb]
shl dl, 5
or dl, byte [eax - 0xa]
add esi, 0xa
mov byte [esi - 8], dl
movzx ecx, byte [eax - 9]
movzx edx, byte [eax - 8]
add cl, cl
add cl, cl
add cl, cl
shr dl, 2
or cl, dl
mov byte [esi - 7], cl
movzx ecx, byte [eax - 8]
movzx edx, byte [eax - 6]
shl cl, 5
or cl, byte [eax - 7]
shr dl, 4
add cl, cl
or cl, dl
mov byte [esi - 6], cl
movzx ecx, byte [eax - 5]
movzx edx, byte [eax - 6]
shr cl, 1
shl dl, 4
or cl, dl
mov byte [esi - 5], cl
movzx ecx, byte [eax - 5]
movzx edx, byte [eax - 3]
shl cl, 5
or cl, byte [eax - 4]
shr dl, 3
add cl, cl
add cl, cl
or cl, dl
mov byte [esi - 4], cl
movzx ecx, byte [eax - 3]
shl cl, 5
or cl, byte [eax - 2]
sub edi, 1
mov byte [esi - 3], cl
jne 0x411d10
lea ecx, [esp + 0x1a4]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov dword [esp + 0x1cc], 1
mov eax, 2
mov ecx, 0x20
lea esp, [esp]
cmp ebp, ecx
jl 0x411e24
add ecx, 0x10
add eax, 1
cmp ecx, 0x1040
jl 0x411e10
jmp 0x411e30
shl eax, 4
sub eax, 0x10
mov edi, eax
cmp edi, ebp
jl 0x411e32
mov edi, ebp
xor esi, esi
test edi, edi
jle 0x411e5d
jmp 0x411e40
mov edx, dword [esp + 0x14]
movzx eax, byte [esi + edx]
push eax
lea ecx, [esp + 0x1a8]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::push_back_char_]
add esi, 1
cmp esi, edi
jl 0x411e40
mov ecx, dword [esp + 0x14]
push ecx
call sub.MFC80.DLL_Ordinal_266
push ebx
call sub.MFC80.DLL_Ordinal_266
mov esi, dword [esp + 0x20]
add esp, 8
lea edx, [esp + 0x1a4]
push edx
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x1a4]
mov dword [esp + 0x1c], 1
mov byte [esp + 0x1cc], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, esi
jmp 0x411eb4
push 0x533e66
mov ecx, edi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov eax, edi
mov ecx, dword [esp + 0x1c4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1ac]
xor ecx, esp
call fcn.0042b7d2
add esp, 0x1bc
ret