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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x178
mov eax, dword [edx + 8]
mov ebx, dword [edx + 4]
mov dword [esp + 0x28], ecx
call 0x48d1be
pop ecx
xor edi, edi
mov dword [esp + 0xcc], edx
mov dword [esp + 0x14], ecx
test eax, eax
je 0x48d1de
cmp byte [ebx + eax - 1], 0x2f
jne 0x48d1dc
dec eax
jne 0x48d1d0
jmp 0x48d1de
mov edi, eax
lea esi, [esp + 0x118]
mov edx, ebx
mov ecx, esi
push 3
push 0x61ecdd
push edi
call fcn.00412150
add esp, 0xc
mov dword [esp + 0x158], 0
mov dword [esp + 0x15c], edi
mov word [esp + 0x160], 1
mov dword [esp + 0x168], 1
lea ecx, [esp + 0x70]
mov edx, esi
mov edi, dword [esp + 0x148]
call fcn.0048e0b0
test byte [esp + 0x70], 1
je 0x48d255
mov ecx, dword [esp + 0x158]
mov esi, dword [esp + 0x74]
mov eax, dword [esp + 0x78]
sub esi, ecx
add edi, ecx
mov dword [esp + 0x158], eax
jmp 0x48d2a8
cmp byte [esp + 0x161], 0
je 0x48d26b
xor edx, edx
mov edi, 4
jmp 0x48d888
mov byte [esp + 0x161], 1
cmp byte [esp + 0x160], 1
jne 0x48d28d
mov edi, dword [esp + 0x158]
mov esi, dword [esp + 0x15c]
jmp 0x48d29f
mov edi, dword [esp + 0x158]
mov esi, dword [esp + 0x15c]
cmp esi, edi
je 0x48d25f
sub esi, edi
add edi, dword [esp + 0x148]
mov dword [esp + 0x10], ebx
xor ecx, ecx
mov edx, 0x20
movzx eax, byte [0x62314d]
call fcn.0048bb80
test eax, eax
je 0x48dd39
mov dword [eax], edi
mov dword [eax + 4], esi
mov dword [esp + 0x34], 4
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 1
lea edi, [esp + 0x70]
lea esi, [esp + 0x118]
mov ecx, 0x16
rep movsd dword es:[edi], dword [esi]
mov esi, 1
jmp 0x48d329
mov edi, dword [esp + 0xb0]
mov ebx, dword [esp + 0xb4]
sub ebx, edi
add edi, dword [esp + 0xa0]
cmp esi, dword [esp + 0x34]
je 0x48d398
mov dword [eax + esi*8], edi
mov dword [eax + esi*8 + 4], ebx
inc esi
mov dword [esp + 0x3c], esi
mov ecx, dword [esp + 0xc0]
cmp ecx, 1
je 0x48d3c0
test ecx, ecx
je 0x48d419
dec ecx
mov dword [esp + 0xc0], ecx
cmp byte [esp + 0xb9], 0
jne 0x48d419
mov edi, dword [esp + 0xa0]
lea ecx, [esp + 0x40]
lea edx, [esp + 0x70]
mov dword [esp], eax
call fcn.0048e0b0
test byte [esp + 0x40], 1
je 0x48d3e0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0xb0]
mov ebx, dword [esp + 0x44]
mov dword [esp + 0xb0], eax
mov eax, dword [esp]
sub ebx, ecx
add edi, ecx
cmp esi, dword [esp + 0x34]
jne 0x48d31d
lea ecx, [esp + 0x34]
mov edx, esi
push 8
push 4
push 1
call fcn.004df9e0
add esp, 0xc
mov eax, dword [esp + 0x38]
jmp 0x48d31d
mov dword [esp + 0xc0], 0
cmp byte [esp + 0xb9], 0
je 0x48d3ed
jmp 0x48d419
cmp byte [esp + 0xb9], 0
mov eax, dword [esp]
jne 0x48d419
mov byte [esp + 0xb9], 1
cmp byte [esp + 0xb8], 1
je 0x48d300
mov edi, dword [esp + 0xb0]
mov ebx, dword [esp + 0xb4]
cmp ebx, edi
jne 0x48d30e
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
cmp esi, 2
mov dword [esp + 0x30], 0x50
mov dword [esp], edx
jne 0x48d473
mov edx, dword [edi + 4]
mov ebx, dword [esp + 0x10]
add edx, 0xfffffffc
cmp edx, 3
ja 0x48d821
lea eax, [edi + 8]
mov ecx, dword [edi]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x14]
add eax, dword [edx*4 + 0x48dee4]
jmp eax
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x24], 0
mov eax, edi
lea ecx, [edi + esi*8]
cmp eax, ecx
je 0x48d888
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0xec], 0x40
mov dword [esp + 4], edi
mov dword [esp + 0xf0], ecx
lea ecx, [esp + 0xec]
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], 0x40
mov byte [esp + 0x104], 1
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], eax
mov word [esp + 0x110], 1
mov dword [esp + 0x114], 1
call fcn.0048e4e0
test eax, eax
je 0x48d75e
mov esi, eax
movzx eax, byte [0x62314d]
mov edi, edx
xor ecx, ecx
mov edx, 0x20
call fcn.0048bb80
test eax, eax
je 0x48dd39
mov dword [eax], esi
mov dword [eax + 4], edi
mov dword [esp + 0x40], 4
mov dword [esp + 0x44], eax
mov ecx, eax
mov edi, 1
mov dword [esp + 0x48], 1
movsd xmm2, qword [esp + 0x104]
movsd xmm1, qword [esp + 0xfc]
mov eax, dword [esp + 0x114]
movsd xmm0, qword [esp + 0x10c]
movsd qword [esp + 0x88], xmm2
movsd qword [esp + 0x80], xmm1
movsd xmm2, qword [esp + 0xec]
movsd xmm1, qword [esp + 0xf4]
mov dword [esp + 0x98], eax
movsd qword [esp + 0x90], xmm0
movsd qword [esp + 0x78], xmm1
movsd qword [esp + 0x70], xmm2
jmp 0x48d5e6
mov ebx, dword [esp + 0x8c]
mov esi, dword [esp + 0x90]
sub esi, ebx
add ebx, dword [esp + 0x74]
cmp edi, dword [esp + 0x40]
je 0x48d61d
mov dword [ecx + edi*8], ebx
mov dword [ecx + edi*8 + 4], esi
inc edi
mov dword [esp + 0x48], edi
mov eax, dword [esp + 0x98]
cmp eax, 1
je 0x48d640
test eax, eax
je 0x48d681
dec eax
mov esi, ecx
lea ecx, [esp + 0x70]
mov dword [esp + 0x98], eax
call fcn.0048e4e0
test eax, eax
je 0x48d681
mov ecx, esi
mov ebx, eax
mov esi, edx
cmp edi, dword [esp + 0x40]
jne 0x48d5da
lea ecx, [esp + 0x40]
mov edx, edi
push 8
push 4
push 1
call fcn.004df9e0
add esp, 0xc
mov ecx, dword [esp + 0x44]
jmp 0x48d5da
mov dword [esp + 0x98], 0
cmp byte [esp + 0x95], 0
jne 0x48d681
mov byte [esp + 0x95], 1
cmp byte [esp + 0x94], 1
je 0x48d5c0
mov ebx, dword [esp + 0x8c]
mov esi, dword [esp + 0x90]
cmp esi, ebx
jne 0x48d5ce
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
cmp edi, 2
lea esi, [ecx + edi*8]
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], ecx
jne 0x48d77b
mov eax, dword [esi - 8]
mov ecx, dword [esi - 4]
mov dword [esp + 0x70], 0x3a
lea edx, [esp + 0x70]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], 0x3a
mov byte [esp + 0x88], 1
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], ecx
lea ecx, [esp + 0x40]
mov word [esp + 0x94], 1
mov dword [esp + 0x98], 2
call fcn.0048e800
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
cmp eax, 2
mov dword [esp + 0x14], eax
jne 0x48d849
mov edi, dword [ebx + 4]
test edi, edi
js 0x48dd39
mov ecx, dword [ebx]
mov dword [esp + 0x2c], edx
je 0x48d8b8
movzx eax, byte [0x62314d]
mov dword [esp + 8], ecx
xor ecx, ecx
mov edx, edi
call fcn.0048bb80
mov ecx, dword [esp + 8]
test eax, eax
jne 0x48d8bd
jmp 0x48dd39
mov edi, dword [esp + 4]
xor esi, esi
mov dword [esp + 0xc], 4
mov edx, connect
mov ecx, connect
jmp 0x48da46
mov ecx, connect
mov dword [esp + 0x2c], 0
xor eax, eax
mov edx, connect
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 4]
cmp dword [esp + 0xc], esi
jne 0x48d967
jmp 0x48da42
mov eax, dword [esp + 0x28]
mov dword [eax], 2
mov dword [eax + 4], 2
mov dword [eax + 0x4c], connect
mov dword [eax + 0x58], 0
mov byte [eax + 0x60], 9
jmp 0x48da8f
mov ecx, 2
mov edi, 2
jmp 0x48d926
mov eax, dword [esp + 0x28]
mov dword [eax], 2
mov dword [eax + 4], 2
mov dword [eax + 0x4c], connect
mov dword [eax + 0x58], 0
mov byte [eax + 0x60], 9
test edx, edx
jne 0x48da96
jmp 0x48daa5
mov eax, 1
mov dword [esp + 0x20], edi
push edi
push ecx
mov dword [esp + 0x74], eax
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov edi, dword [ebx + 0xc]
test edi, edi
js 0x48dd39
mov ecx, dword [ebx + 8]
je 0x48d901
movzx eax, byte [0x62314d]
mov dword [esp + 8], ecx
xor ecx, ecx
mov edx, edi
call fcn.0048bb80
mov ecx, dword [esp + 8]
test eax, eax
jne 0x48d906
jmp 0x48dd39
mov eax, 1
mov dword [esp + 8], edi
push edi
push ecx
mov dword [esp + 0x70], eax
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
mov edi, 3
test edx, edx
je 0x48d93d
push ebx
push 0
push dword [0x623140]
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, ebx
cmp dword [esp + 0x14], 2
jne 0x48d9e7
mov edx, dword [esp + 8]
add esi, 0xfffffff8
mov dword [esp + 0x2c], ecx
mov eax, edx
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 4]
cmp dword [esp + 0xc], esi
je 0x48da42
mov dword [esp + 0x20], ecx
mov ecx, dword [esi - 8]
mov dword [esp + 0xe8], eax
mov eax, dword [esi - 4]
mov dword [esp + 8], edx
mov dword [esp + 0x40], 0x3a
lea edx, [esp + 0x40]
mov dword [esp + 0x44], ecx
mov esi, ecx
lea ecx, [esp + 0x70]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], 0x3a
mov byte [esp + 0x58], 1
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], eax
mov word [esp + 0x64], 1
call fcn.0048ea10
test byte [esp + 0x70], 1
je 0x48da2f
mov ecx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x74]
mov eax, dword [esp + 0x78]
sub ebx, ecx
add esi, ecx
mov dword [esp + 0x5c], eax
jmp 0x48db38
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x6c]
mov esi, dword [esp + 8]
mov ebx, dword [esp + 0x10]
mov dword [eax], edi
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], esi
mov edx, dword [esp + 0x68]
mov dword [eax + 0x18], esi
mov edi, dword [esp + 4]
mov esi, dword [esp + 0x18]
mov dword [eax + 0x14], edx
mov dword [eax + 0x4c], connect
mov dword [eax + 0x58], 0
mov byte [eax + 0x60], 9
test esi, esi
jne 0x48da7d
jmp 0x48da8f
cmp byte [esp + 0x65], 0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 8]
je 0x48db0a
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
test edx, 0x7fffffff
mov dword [eax], 2
mov dword [eax + 4], 2
mov dword [eax + 0x4c], connect
mov dword [eax + 0x58], 0
mov byte [eax + 0x60], 9
jne 0x48dac8
test ecx, 0x7fffffff
jne 0x48daee
test esi, esi
je 0x48da8f
push dword [esp + 0xc]
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edx, dword [esp]
test edx, edx
je 0x48daa5
push edi
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 0xcc]
cmp dword [eax], 0
je 0x48dac0
push ebx
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push dword [esp + 0x68]
push 0
push dword [0x623140]
mov dword [esp + 0x24], esi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, esi
mov esi, dword [esp + 0x18]
test ecx, 0x7fffffff
je 0x48da79
push dword [esp + 0x6c]
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
test esi, esi
jne 0x48da7d
jmp 0x48da8f
mov byte [esp + 0x65], 1
cmp byte [esp + 0x64], 1
jne 0x48db20
mov esi, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
jmp 0x48db30
mov esi, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
cmp eax, esi
je 0x48da42
sub eax, esi
add esi, dword [esp + 0x44]
mov ebx, eax
movzx eax, byte [0x62314d]
xor ecx, ecx
mov edx, 0x20
call fcn.0048bb80
test eax, eax
je 0x48dd39
mov dword [eax], esi
mov dword [eax + 4], ebx
mov dword [esp + 0xd0], 4
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], 1
movsd xmm2, qword [esp + 0x58]
movsd xmm1, qword [esp + 0x50]
movsd xmm0, qword [esp + 0x60]
movsd qword [esp + 0x88], xmm2
movsd qword [esp + 0x80], xmm1
movsd xmm2, qword [esp + 0x40]
movsd xmm1, qword [esp + 0x48]
movsd qword [esp + 0x90], xmm0
movsd qword [esp + 0x78], xmm1
movsd qword [esp + 0x70], xmm2
cmp byte [esp + 0x95], 1
jne 0x48dbd4
mov dword [esp + 0x1c], esi
xor edi, edi
mov edx, 4
jmp 0x48dd14
mov ebx, 1
jmp 0x48dc28
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x8c]
mov edi, dword [esp + 0x38]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x14]
sub edi, ecx
add esi, ecx
cmp ebx, dword [esp + 0xd0]
je 0x48dc99
mov dword [eax + ebx*8], esi
mov dword [eax + ebx*8 + 4], edi
inc ebx
cmp byte [esp + 0x95], 0
mov dword [esp + 0xd8], ebx
jne 0x48dcbc
mov esi, dword [esp + 0x74]
lea ecx, [esp + 0x34]
lea edx, [esp + 0x70]
mov dword [esp + 0x14], eax
call fcn.0048ea10
test byte [esp + 0x34], 1
jne 0x48dbe0
cmp byte [esp + 0x95], 0
mov eax, dword [esp + 0x14]
jne 0x48dcbc
mov byte [esp + 0x95], 1
cmp byte [esp + 0x94], 1
jne 0x48dc74
mov esi, dword [esp + 0x8c]
mov edi, dword [esp + 0x90]
jmp 0x48dc86
mov esi, dword [esp + 0x8c]
mov edi, dword [esp + 0x90]
cmp edi, esi
je 0x48dcbc
sub edi, esi
add esi, dword [esp + 0x74]
cmp ebx, dword [esp + 0xd0]
jne 0x48dc0b
lea ecx, [esp + 0xd0]
mov edx, ebx
push 8
push 4
push 1
call fcn.004df9e0
add esp, 0xc
mov eax, dword [esp + 0xd4]
jmp 0x48dc0b
mov edx, dword [esp + 0xd0]
mov eax, dword [esp + 0xd4]
test ebx, ebx
je 0x48dce0
mov ecx, dword [eax]
cmp ebx, 1
mov dword [esp + 0x1c], ecx
mov ecx, dword [eax + 4]
jne 0x48dd0c
xor edi, edi
jmp 0x48dd12
mov esi, dword [esp + 0x18]
test edx, edx
je 0x48dcf7
push eax
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 4]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 8]
jmp 0x48da46
mov edi, dword [eax + 8]
mov esi, dword [eax + 0xc]
mov ebx, ecx
test ebx, ebx
js 0x48dd39
mov dword [esp + 0xe4], edx
mov dword [esp + 0x14], eax
je 0x48dd3b
movzx eax, byte [0x62314d]
xor ecx, ecx
mov edx, ebx
call fcn.0048bb80
test eax, eax
jne 0x48dd40
ud2
mov eax, 1
push ebx
push dword [esp + 0x20]
mov dword [esp + 0xe4], eax
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov al, 1
test edi, edi
mov dword [esp + 0xe0], ebx
mov dword [esp + 0x1c], eax
je 0x48de85
mov edx, dword [esp]
test esi, esi
je 0x48ddd2
cmp esi, 1
jne 0x48dd8d
movzx eax, byte [edi]
cmp eax, 0x2b
je 0x48ddd2
mov esi, 1
cmp eax, 0x2d
je 0x48ddd2
jmp 0x48dea8
cmp byte [edi], 0x2b
jne 0x48de9f
inc edi
cmp esi, 0xa
lea esi, [esi - 1]
jb 0x48dea8
xor ebx, ebx
mov ecx, 0xa
sub esi, 1
jb 0x48dec3
mov eax, ebx
mul ecx
jo 0x48de85
mov ebx, eax
movzx eax, byte [edi]
mov edx, dword [esp]
add eax, 0xffffffd0
cmp eax, 9
ja 0x48ddd2
inc edi
add ebx, eax
jae 0x48ddaa
cmp dword [esp + 0xe4], 0
mov esi, dword [esp + 4]
je 0x48ddf5
push dword [esp + 0x14]
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edx, dword [esp]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0xe0]
mov edi, dword [esp + 0xdc]
cmp byte [esp + 0x1c], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edi
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x20]
cmovne ebx, dword [esp + 0x30]
cmp dword [esp + 0x18], 0
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x6c]
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0x18], ecx
mov ecx, dword [esp + 8]
mov dword [eax + 0x1c], ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 0x20], ecx
mov ecx, dword [esp + 0xe8]
mov dword [eax + 0x24], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 0x28], ebx
mov byte [eax + 0x2c], cl
mov dword [eax], 3
je 0x48de73
push dword [esp + 0xc]
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edx, dword [esp]
mov ebx, dword [esp + 0x10]
test edx, edx
je 0x48daa5
push esi
jmp 0x48da97
mov edx, dword [esp]
cmp dword [esp + 0xe4], 0
mov esi, dword [esp + 4]
jne 0x48dde0
jmp 0x48ddf5
cmp esi, 9
jae 0x48dda3
xor ebx, ebx
movzx eax, byte [edi]
add eax, 0xffffffd0
cmp eax, 9
ja 0x48ddd2
lea ecx, [ebx + ebx*4]
inc edi
dec esi
lea ebx, [eax + ecx*2]
jne 0x48deaa
mov dword [esp + 0x1c], 0
cmp dword [esp + 0xe4], 0
mov esi, dword [esp + 4]
jne 0x48dde0
jmp 0x48ddf5